Table of Contents | ||
---|---|---|
|
...
Parameter | Description | Format | Type | Mandatory |
| Outcome of the transaction |
| Integer | Yes |
| Transaction’s infos | See table below | Transaction | No |
| Client & merchant tickets | Json description. See bellow | String | No |
The Transaction
object can have several parameters:
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 | No | |||||
| Expiration date of the card |
| Integer | Yes | |||||
| Type of PAN |
| Integer | No | |||||
| Authorization number if provided by the bank | / | String | No |
...
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
...