Table of Contents | ||
---|---|---|
|
...
Parameter | Description | Format | Type | Mandatory | ||||
| Id of the transaction | / | String | Yes | ||||
| Type of the transaction |
| Integer | Yes | ||||
| Type of transaction / Payment method |
| Integer | Yes | ||||
| Date’s timestamp |
| Long | 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 | Selected AID during the transaction | / | String | No | ||||
| Transaction without network / offline ? |
| Boolean | 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 used | / | String | No | ||||
| Expiration date of the card | Date’s timestamp |
| Long | Yes | |||
| Amount of the tips (in case the functionality is activated) |
| Integer | No | Expiration date of the card |
| ||
Integer | Yes |
| Type of PAN |
| Integer | No | ||
| Authorization number if provided by the bank | / | String | No |
...
Example of JSON Intent’s Return
Status Accepted
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="}]}"
} |
Status Denied
Code Block |
---|
{
"status":1,
"transaction":{
"id":"c5a4ba46-e52a-4550-af4e-154d5244ea4e",
"transactionType":0,
"mode":0,
"date":1730907374000,
"reference":"test",
"amount":1500,
"currency":"EUR",
"aid":"A0000000041010",
"isDegradedMode":false,
"maskedPan":"526557XXXXXX2897",
"cardLabel":"Debito",
"expirationDate":"300531"
},
"tickets":"{"tickets":[{"type":"CLIENT","ticket":"VEFSSkVUQSBCQU5DQVJJQQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIApBMDAwMDAwMDA0MTAxMApEZWJpdG8KIDA2LzExLzI0IC0gMTY6MzY6MTQKUEFZWFBFUlQgRlJBTkNFICA2OSAKTFlPTiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAKVkVOVEEgUkVDSEFaQURBCjAwMDE2OTYKMTY4MDgKNTQwMDMyODEwMDAwNDEKWFhYWFhYWFhYWFhYMjg5NwoxNjMgMDAxIDAwMDAxMiAgMDEgIEMgIEAKTlVNRVJPIEFVVE9SSVpBQ0nTTjogClJFRi4gOiAyTURTSU5FUUxPMTEwNiAgbjVnYTNVS2ZRTVM4bzdpN3hybW9ZdwpJTVBPUlRFCjE1LDAwoEVVUgpSRUNJQk8gUEFSQSBFTCBDTElFTlRFCkEgQ09OU0VSVkFSCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCg=="},{"type":"MERCHANT","ticket":"Q0FSVEUgQkFOQ0FJUkUKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKQTAwMDAwMDAwNDEwMTAKRGViaXRvCk9OIDA2LzExLzI0IEFUIDE2OjM2OjE0ClBBWVhQRVJUIEZSQU5DRSAgNjkgCkxZT04gICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgCkRFQklUIERFQ0xJTkVECk1PVElGIFROQSA6IDIxIDEyCjAwMDE2OTYKMTY4MDgKNTQwMDMyODEwMDAwNDEKMjAxMApYWFhYWFhYWFhYWFgyODk3CmVuZCAzMS8wNS8zMAoxNjMgMDAxIDAwMDAxMiAgMDEgIEMgIEAKQVVUSE8gTlVNIDogClJFRi4gOiAyTURTSU5FUUxPMTEwNiAgbjVnYTNVS2ZRTVM4bzdpN3hybW9ZdwpBTU9VTlQKMTUsMDCgRVVSCk1FUkNIQU5UIFRJQ0tFVApUTyBCRSBLRVBUCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCg=="}]}"
} |
For a ticket print in the POS
...