Versions Compared

Key

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

...

Parameter

Description

Format

Type

Mandatory

status

Outcome of the transaction

0: Accepted

1: Denied

Integer

Yes

transaction

Transaction’s infos

See table below

Transaction

No

tickets

Client & merchant tickets

Json description. See bellow

String

No

The Transactionobject can have several parameters:

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

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

Yes

tickets

Client & merchant tickets

Json description. See bellow

String

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

/

String

No

date

Date’s timestamp

171017239300

Long

Yes

amountTips

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

100: 1,00 €

1050: 10,50 €

Integer

No

expirationDate

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

...

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

...