Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

...

Parameter

Description

Format

Type

Mandatory

transactionId

Id of the transaction

/

String

Yes

transactionType

Type of the transaction

0: Debit

1: Refund / Credit
2: Cancellation

8: Deferred debit

Integer

Yes

mode

Type of transaction / Payment method

0: Contact

1: Contactless

Integer

Yes

date

Date’s timestamp

171017239300

Long

Yes

reference

Reference of the transaction transamitted as input

/

String

No

amount

Amount of the transaction

100: 1,00 €

1050: 10,50 €

Integer

Yes

currency

Currency of the transaction

/

String

Yes

mode

Type of transaction / Payment method

0: Contact

1: Contactless

Integer

Yesaid

Selected AID during the transaction

/

String

No

isDegradedMode

Transaction without network / offline ?

true: Transaction without network / offline

false: Transaction with network / online

Boolean

No

error

Outcome of the transaction

0: Accepted

1: Denied

2: Invalid parameters

3: Transaction already in progress

4: Application in background

5: Error

6: Reference already exists

7: Cancelled

8: Non finished

9: Timeout

Yes

aid

Selected AID during the transaction

/

String

No

isDegradedMode

Transaction without network / offline ?

true: Transaction without network / offline

false: Transaction with network / online

Boolean

No

maskedPan

Masked PAN of the card

/

String

No

cardLabel

Type of card used

/

String

No

expirationDate

Expiration date of the card

Date’s timestamp250630

171017239300Integer

Long

Yes

amountTips

Amount of the tips (in case the functionality is activated)

100: 1,00 €

1050: 10,50 €

Integer

NoexpirationDate

Expiration date of the card

250630

Integer

Yes

panType

Type of PAN

0: Full PAN

1: Partial PAN

2: Token

Integer

No

numAuthorization

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

...