Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesIf you want to receive an eReceipt you need to send at least one additionalTextRequest.
Extra parameters for the request
Parameter | Description |
---|---|
eReceipt | everything that needs to go on the eReceipt |
eReceiptTextPlacementHeader | placement of the text on the receipt HEADER |
eReceiptTextPlacementSaleLine | placement of the text on the receipt SALELINE |
eReceiptTextPlacementFooter | placement of the text on the receipt FOOTER |
Example eReceipt request
{ "eReceipt": { "eReceiptTextplacementHeader": ["Welcome To My Shop", "Header line 2"], "eReceiptTextplacementSaleLine": ["Some other text"], "eReceiptTextplacementFooter": ["Bye!"] } }
Extra parameter for the response
Parameter | Description |
---|---|
eReceiptUrl | a URL for the digital receipt of the transaction |
Example response
{ "state": "SUCCESS", ..., "eReceiptUrl" : "..." }
Receipt formattedTextLines parameters
Parameter | Description |
---|---|
text | text of the textline |
height | height of the textline that needs to be printed |
width | width of the textline that needs to be printed |
{ ... "journalReceipt": "{ "formattedTextLines": [ { "height": "SINGLE", "text": " - Merchant receipt - ", "width": "SINGLE" }, { "height": "SINGLE", "text": " Card payment ", "width": "SINGLE" }, { "height": "SINGLE", "text": " MC CREDIT ", "width": "SINGLE" } ] }" }