Table of Contents | ||
---|---|---|
|
...
Parameter | Description | Format | Type | Mandatory |
| Id of the transaction | / | String | Yes |
| Type of the transaction |
| Integer | Yes |
| Reference of the transaction transamitted as input | / | String | No |
| Amount of the transaction |
| Integer | Yes |
| Currency of the transaction | / | String | Yes |
| Type of transaction / Payment method |
| Integer | Yes |
| Client & merchant tickets | Json description. See bellow | String | No |
| Outcome of the transaction |
| Yes | |
| Selected AID during the transaction | / | String | No |
| Transaction without network / offline ? |
| Boolean | No |
| Masked PAN of the card | / | String | No |
| Type of card | / | String | No |
| Date’s timestamp |
| Long | Yes |
| Amount of the tips (in case the functionality is activated) |
| Integer | YesNo |
| Expiration date of the card |
| Integer | Yes |
| Type of PAN |
| Integer | YesNo |
| Authorization number if provided by the bank | / | String | No |
Client & Merchant Tickets
...
Code Block | ||
---|---|---|
| ||
{
"tickets": [
{
"type": "CLIENT",
"ticket": "Q0FSVEUgQkFOQ0FJUkUKU0FOUyBDT05UQUNUCkJvbmpvdXIgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCkEwMDAwMDAwNDIxMDEwCkNCCkxFIDI5LzEwLzI0IEEgMTI6Mzk6MzAKRzcgVEVTVCAgICAgICAgICAyMSAKRElKT04gICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAKMDg5OTAxMwoyMDA0MQozMjQzNzk4NjYwMDAxOQpYWFhYWFhYWFhYWFgyODU2CjZDM0U1NEE5N0ZCOENFNzAKODk2IDAwMSAwMDAwMDEgIDAxICBDICAKTrAgQVVUTyA6IApSRUYuIDogCk1PTlRBTlQKNCwwMKBFVVIKREVCSVQKQ0FSVEUgREUgVEVTVApUSUNLRVQgQ0xJRU5UCkEgQ09OU0VSVkVSCk1lcmNpLCBhdSByZXZvaXIuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCg=="
},
{
"type": "MERCHANT",
"ticket": "Q0FSVEUgQkFOQ0FJUkUKU0FOUyBDT05UQUNUCkJvbmpvdXIgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCkEwMDAwMDAwNDIxMDEwCkNCCkxFIDI5LzEwLzI0IEEgMTI6Mzk6MzAKRzcgVEVTVCAgICAgICAgICAyMSAKRElKT04gICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAKMDg5OTAxMwoyMDA0MQozMjQzNzk4NjYwMDAxOQoyMDEwCjUwNzEwMDQxNTAxMjI4NTYKNkMzRTU0QTk3RkI4Q0U3MApmaW4gMzAvMDYvMjUKODk2IDAwMSAwMDAwMDEgIDAxICBDICAKTrAgQVVUTyA6IApSRUYuIDogCk1PTlRBTlQKNCwwMKBFVVIKREVCSVQKQ0FSVEUgREUgVEVTVApUSUNLRVQgQ09NTUVSQ0FOVApBIENPTlNFUlZFUgpNZXJjaSwgYXUgcmV2b2lyLiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAo="
}
]
} |
Example of JSON Intent’s Return
Code Block |
---|
{
"status":0,
"transaction":{
"id":"45a07d7e-7080-49a5-aa15-0885ef16ab98",
"transactionType":0,
"mode":0,
"date":1730904863000,
"reference":"test",
"amount":1500,
"currency":"EUR",
"aid":"A0000000421010",
"isDegradedMode":false,
"error":"0",
"maskedPan":"497414XXXXXX5960",
"cardLabel":"CB",
"expirationDate":"260531"
},
"tickets":"{\"tickets\":[{\"type\":\"CLIENT\",\"ticket\":\"Q0FSVEUgQkFOQ0FJUkUKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKQTAwMDAwMDA0MjEwMTAKQ0IKTEUgMDYvMTEvMjQgQSAxNTo1NDoyMwpQQVlYUEVSVCBGUkFOQ0UgIDY5IApMWU9OICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgIAowMDAxNjk2CjE2ODA4CjU0MDAzMjgxMDAwMDQxClhYWFhYWFhYWFhYWDU5NjAKM0M1NTNERjJCOUM3QzQwRAoxNjMgMDAxIDAwMDAxMCAgMDEgIEMgIApOsCBBVVRPIDogClJFRi4gOiAKTU9OVEFOVAoxNSwwMKBFVVIKREVCSVQKVElDS0VUIENMSUVOVApBIENPTlNFUlZFUgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAo=\"},{\"type\":\"MERCHANT\",\"ticket\":\"Q0FSVEUgQkFOQ0FJUkUKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKQTAwMDAwMDA0MjEwMTAKQ0IKT04gMDYvMTEvMjQgQVQgMTU6NTQ6MjMKUEFZWFBFUlQgRlJBTkNFICA2OSAKTFlPTiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAKMDAwMTY5NgoxNjgwOAo1NDAwMzI4MTAwMDA0MQoyMDEwClhYWFhYWFhYWFhYWDU5NjAKM0M1NTNERjJCOUM3QzQwRAplbmQgMzEvMDUvMjYKMTYzIDAwMSAwMDAwMTAgIDAxICBDICAKQVVUSE8gTlVNIDogClJFRi4gOiAKQU1PVU5UCjE1LDAwoEVVUgpERUJJVApNRVJDSEFOVCBUSUNLRVQKVE8gQkUgS0VQVAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAo=\"}]}"
} |
For a ticket print in the POS
...