GETTING STARTED

Submit your details below to get an account and become part of the Kwick Partner Program. Kwick will setup your account and return a token you will use to send receipts to Kwick. Store the token securely!

After this, you are ready to start writing your code to send digital receipts to Kwick.

Name
Name
 
 

SETUP

Kwick provides a REST API for you to post digital receipts. The payload format is XML following the ARTs Digital Receipt standard.

You can find the xml schemas here:

The required HTTP headers for your posted receipts are:

Content-Type: application/xml
Accept: application/xml
Authorization: Bearer <Token_from_Kwick>
X-Processes: kwick

To test the API, visit https://sandbox-developers.marcet.se or use your own HTTP Client, posting at https://sandbox-api.marcet.se/api/v1/digitalreceipts

The following Curl is an example on how to send a digital receipt to Kwick:

curl 
  -X POST "https://sandbox-api.marcet.se/api/v1/digitalreceipts" 
  -H "accept: application/xml” -H "X-Processes: kwick" 
  -H "Authorization: Bearer <Token_from_Kwick>” 
  -H "Content-Type: application/xml" 
  -d "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
     <DigitalReceipt xmlns=\"http://www.nrf-arts.org/IXRetail/namespace/\"MajorVersion=\"6\" MinorVersion=\"0\" FixVersion=\"0\">\t<Transaction MajorVersion=\"6\" MinorVersion=\"0\" FixVersion=\"0\" TypeCode=\"SaleTransaction\">\t</Transaction></DigitalReceipt>"

RESPONSE CODES

The following response codes are used:

200 Successful response No action required

401 Unauthenticated Make sure your access token is correct

403 Access denied Make sure your access token is correct

404 Not found Make sure the URL is correct

422 Validation error Correct the error and send again

 
 

EXAMPLES

We have gathered a few common scenarios and samples below, please post your query below if you don't find what you are looking for!

Use form below to request more samples!

Happy coding!

/ Kwick Merchant Support