Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
PAN | ||
---|---|---|
AA | Variable length. Max 64 | PAN (primary account number) of the card |
Processing on cash register side: | ||
Processing on terminal side: | ||
Remarks: Transmission is not secure. | ||
Example - PAN is 0165017677122000674 | AA016***********0674 |
...
Authorization number | ||
---|---|---|
AC | Variable length. Max 10 | Authorization number |
Processing on cash register side: | ||
Processing on terminal side: An application PayXpress can return your bank’s identifier of the given authorization transaction. | ||
Remarks: | ||
Example - Authorization nº is A00395 | AC006A00395 |
...
Status of the action | ||
---|---|---|
AE | Fixed length. 2 | Status of the action being performed on the terminal |
Processing on cash register side: | ||
Processing on terminal side: ‘01’ = Operation not performed | ||
Remarks: *When the terminal response must be immediate 01: Operation not performed because of the a network error, or PayXpress is busy. | ||
Example - The operation has not been performed | AE00201 |
...
Complementary info to the status of the action | ||
---|---|---|
AF | Variable length. 2-50 | Additional information to the status |
Processing on cash register side: | ||
Processing on terminal side: The terminal can provide additional information to the overall status of the action: ‘00’ - Unknown – If error that is unkown unknown by PayXpress. Could be a technical issue not . Not a nominal scenario. | ||
Remarks: We send the response of after processing the processing transaction. | ||
Exemple : CanceledExample - Cancelled | AF00207 |
Anchor | ||||
---|---|---|---|---|
|
...
Response delay | ||
---|---|---|
BA | Fixed length. 1 | Response delay |
Processing on cash register side: By default, set this field to 0 (response at the end of the transaction). | ||
Processing on terminal side: List of terminal response times:
| ||
Remarks: If this field is omitted, the default value is taken into account (Response at the end of the transaction). | ||
Example - An The cash register needs an immediate response | BA0011 |
Anchor | ||||
---|---|---|---|---|
|
...
Cash register number | ||
---|---|---|
CA | Fixed length. 2 | Cash register nº. |
Processing on cash register side: The cash register indicates its own cash register number in this Tag. Field composed of numeric characters: ‘0’ to ‘9’ | ||
Processing on terminal side: | ||
Remarks: This Tag is managed exclusively by the cash register. This number is not intended to be printed on the transaction ticket. This value is stored in “MerchantIdentifier” in PayXpress. | ||
Example - The cash register number is 1 | CA00201 |
...
Operation type | ||
---|---|---|
CD | Fixed length. 1 | Defines the type of operation requested by the cash register |
Processing on cash register side: | ||
Processing on terminal side:
List of types of Selection/Input Actions:
| ||
Remarks: If the type of operation cannot be carried out, the terminal responds with ‘Status: Operation not carried out’ andin the complementary info Tag AF ‘Operation not carried out - type ‘Type of action requested unknown’. In the case of printing a buffer (ASCII encoded base 64) sent by the cash register, the tag CD with type of action ‘P’ will be completed with a constructed Tag ZT containing the buffer to be printed. | ||
Example - Perform a debit. See example | CD0010 CD001C |
...
Private field | ||
---|---|---|
CF | Variable length. 1-99 | Private data destined for the application on the terminal or PayXpress or to be sent back to the cash register in the response message |
Processing on cash register side: Indicate the data you want to be transmitted to the payment (or information retrieval) applicationtransmit to PayXpress. | ||
Processing on terminal side: | ||
Remarks: | ||
Example | CF020TEST CONCERT CN 3.XX |
...
Cash register protocol version | ||
---|---|---|
CJ | Fixed length. 12 | The version of the protocol that the cash register and/or terminal is using. |
Processing on cash register side: The version of the protocol the cash register is using. Sent in every message to terminal. | ||
Processing on terminal side: | ||
Remarks:For reference only. Does not control anything. By default we must always put the value 323540032810 in this Tag. | ||
Example | CJ012012345678901CJ012323540032810 |
Anchor | ||||
---|---|---|---|---|
|
...
Protocol version to use | ||
---|---|---|
CZ | Fixed length. 4 | Tells the cash register and/or the terminal the version to use. |
Processing on cash register side: Tells the terminal what version the incoming communication is in. | ||
Processing on terminal side: | ||
Remarks: | ||
Example - “I am sending this message in protocol version 3.20” | CZ0040320 |
...
Cash register message demanding a sale (debit) of 25 EUR. No ticket is requestrequested.
Code Block |
---|
CZ0040320CJ012323540032810CA0011CB0042500CD0010CE003978 |
Debit Transaction Request (Cash
...
register → Terminal)
Tag | Meaning | Rule | Example |
---|---|---|---|
CZ | Concert Protocol version | Configurable, 0320 by default | CZ0040320 |
CJ | Cash register protocol version | Configurable, 323540032810 by default. | CJ012323540032810 |
CA | Cash register number | Constant 1 | CA0011 |
CB | Amount | Amount in centimescents. 25,00€ | CB0042500 |
CD | Action type | Depends on what we want: | Debit: CD0010 Refund : CD0011 Cancellation: CD0012 Duplicata: CD0013 |
CE | Currency | Code for Euro. | CE003978 |
Debit Transaction Response (Terminal → Cash
...
register)
Tag | Meaning | Rule | Example |
---|---|---|---|
CZ | Concert Protocol protocol version | Taken from the initial message sent by the Cash Registercash register | CZ0040320 |
CJ | Cash register protocol version | taken Taken from the initial message sent by the Cash Registercash register | CJ012323540032810 |
CA | Cash register number | taken Taken from the initial message sent by the Cash Registercash register | CA0011 |
CB | Amount | taken Taken from the initial message sent by the Cash Registercash register | CB0042500 |
CD | Action type | taken Taken from the initial message sent by the Cash Registercash register | CD0010 |
CE | Currency | taken Taken from the initial message sent by the Cash Registercash register | CE003978 |
AE | Status of the action | ‘01’ = Operation not performed | AE00210 |
AF | Complementary info to the Action status | ||
BA | POS Response Timeresponse time | 0 = POS terminal will answer to Cash Register at the cash register at the end of the transaction. | BA0010 |
CD | Action that was realized by the POS terminal | Either: | CD0010 |
CI | Card-reading mode (payment mode) that was used | ‘1’ contact | CI0012 |
AA | PAN of the card | The PAN will always be masked. | AA016XXXXXXXXXXXX2897 |
AB | Expiration date of the card used | Date format AAMM, for example: | AB0043005 |
AC | Authorization Numbernumber | When a payment is accepted the authorization number is included. | AC006664845 |
AL | Type of PAN that was restitued restituted in the message | 1 = Partial PAN (Masked) | AL0011 |
Anchor | ||||
---|---|---|---|---|
|
...
Customer ticket in response
Cash register message demanding a sale (debit) of 25 EUR. Merchant wants to retrieve the customer ticket only via the CK Tag.
Code Block |
---|
CZ0040320CJ012323540032810CA0011CB0042500CD0010CE003978CK003100 |
Debit Transaction Request (Cash
...
register → Terminal)
Tag | Meaning | Rule | Example |
---|---|---|---|
CZ | Concert Protocol protocol version | Configurable, 0320 by default | CZ0040320 |
CJ | Cash register protocol version | Configurable, 323540032810 by default. | CJ012323540032810 |
CA | Cash register number | Constant 1 | CA0011 |
CB | Amount | Amount in centimescents. 25,00€ | CB0042500 |
CD | Action type | Depends on what we want: | Debit : CD0010 Refund : CD0011 Cancellation: CD0012 Duplicata : CD0013 |
CE | Currency | Code for Euro. | CE003978 |
CK | Ticket Managementmanagement | Position 1:
Position 2:
Position 3:
| CK003100 |
Debit Transaction Response (Terminal → Cash
...
register)
Tag | Meaning | Rule | Example | |||||
---|---|---|---|---|---|---|---|---|
CZ | Concert Protocol protocol version | Taken from the initial message sent by the Cash Registercash register | CZ0040320 | |||||
CJ | Cash register protocol version | taken Taken from the initial message sent by the Cash Registercash register | CJ012323540032810 | |||||
CA | Cash register number | taken Taken from the initial message sent by the Cash Registercash register | CA0011 | |||||
CB | Amount | taken Taken from the initial message sent by the Cash Registercash register | CB0042500 | |||||
CD | Action type | taken Taken from the initial message sent by the Cash Registercash register | CD0010 | |||||
CE | Currency | taken Taken from the initial message sent by the Cash Registercash register | CE003978 | |||||
AEAA | Status Pan of the action | ‘01’ = Operation not performed | AE00210 | AF | Complementary info to the Action status | cardholder | PAN (primary account number) of the card | AA016***********0674 |
AB | Card expiration date | Expiration date of the card | AB0041603 | |||||
AC | Authorization number | PayXpress can return your bank’s identifier of the given authorization transaction. | AC006A00395 | |||||
AL | PAN type | Gives us the type of PAN returned by reading the card | AL0011 | |||||
AE | Status of the action | ‘01’ = Operation not performed | AE00210 | |||||
AF | Complementary info to the Action status | AF00201 | ||||||
CI | Card-reading mode (payment mode) | ‘1’ contact | CI0012 mode) | ‘1’ contact | CI0012 | |||
ZT | Ticket | Only the Customer Ticket is given in the response. | ZT617CK003100AK604VEFSSkVUQSBCQU5DQVJJQQpTSU4gQ09OVEFDVE8KQm9uam91ciAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKQTAwMDAwMDAwNDEwMTAKRGViaXRvCiAyMS8xMC8yNCAtIDIzOjEyOjI0Ckc3IFRFU1QgICAgICAgICAgMjEgCkRJSk9OICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgCjA4OTkwMTMKMjAwNDEKMzI0Mzc5ODY2MDAwMTkKWFhYWFhYWFhYWFhYMjg5NwpFQzNBRjY5QTE2QkI3NDM4CjY1NSAwMDIgMDAwMDA2ICAwMSAgQyAgQApOVU1FUk8gQVVUT1JJWkFDST9OOiA2NjQ4NDUKUkVGLiA6IDE5OTU1MjkwMTM0MTg3MzUKSU1QT1JURQoxLDAwP0VVUgpWRU5UQQpSRUNJQk8gUEFSQSBFTCBDTElFTlRFCkEgQ09OU0VSVkFSCkRVUExJQ0FETwpNZXJjaSwgYXUgcmV2b2lyLiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAo= |
Duplicata - Print a duplicata
Duplicata Transaction Request (Cash register → Terminal )
Tag | Meaning | Rule | Example |
---|---|---|---|
CZ | Concert protocol version | Configurable, 0320 by default | CZ0040320 |
CJ | Cash register protocol version | Configurable, 323540032810 by default. | CJ012323540032810 |
CA | Cash register number | Constant 1 | CA0011 |
CD | Action type | Depends on what we want : | Debit : CD0010 Refund : CD0011 Cancellation: CD0012 Duplicata : CD0013 |
CK | Ticket management | Position 1:
Position 2:
Position 3:
| CK003100 |
Duplicata Response (Terminal → Cash register)
Tag | Meaning | Rule | Example |
---|---|---|---|
CZ | Concert protocol version | Configurable, 0320 by default | CZ0040320 |
CJ | Cash register protocol version | Configurable, 323540032810 by default. | CJ012323540032810 |
CA | Cash register number | Constant 1 | CA0011 |
AE | Status of the action | ‘01’ = Operation not performed | AE00210 |
ZT | Ticket | Only the Customer Ticket is given in the response. | ZT617CK003100AK604VEFSSkVUQSBCQU5DQVJJQQpTSU4gQ09OVEFDVE8KQm9uam91ciAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKQTAwMDAwMDAwNDEwMTAKRGViaXRvCiAyMS8xMC8yNCAtIDIzOjEyOjI0Ckc3IFRFU1QgICAgICAgICAgMjEgCkRJSk9OICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgCjA4OTkwMTMKMjAwNDEKMzI0Mzc5ODY2MDAwMTkKWFhYWFhYWFhYWFhYMjg5NwpFQzNBRjY5QTE2QkI3NDM4CjY1NSAwMDIgMDAwMDA2ICAwMSAgQyAgQApOVU1FUk8gQVVUT1JJWkFDST9OOiA2NjQ4NDUKUkVGLiA6IDE5OTU1MjkwMTM0MTg3MzUKSU1QT1JURQoxLDAwP0VVUgpWRU5UQQpSRUNJQk8gUEFSQSBFTCBDTElFTlRFCkEgQ09OU0VSVkFSCkRVUExJQ0FETwpNZXJjaSwgYXUgcmV2b2lyLiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAo= |
TODO David Guignard add Duplicata request and response.
Identification of the terminal - Ping
...
request to terminal
Allows you to validate the connexion connection between the cash register and the POS terminal without triggering a transaction. Basically it allows you to identify confirm that the terminal is alivelive.
This message can be implemented either with a regular polling frequency or before triggering a payment transaction.
Identification Request (Cash
...
register → Terminal)
Tag | Meaning | Rule | Example |
---|---|---|---|
CZ | Concert Protocol version | Configurable, 0320 by default | CZ0040320 |
CJ | Cash register protocol version | Configurable, 323540032810 by default. | CJ012323540032810 |
CA | Cash register number | Constant 1 | CA0011 |
CD | Action type | I for Identification method | CD001I |
Identification Response (Terminal → Cash
...
register)
Tag | Meaning | Rule | Example |
---|---|---|---|
CZ | Protocol version | Taken from the initial message sent by the Cash Registercash register | CZ0040320 |
CJ | Cash register protocol version | taken Taken from the initial message sent by the Cash Registercash register | CJ012323540032810 |
CA | Cash register number | taken Taken from the initial message sent by the Cash Registercash register | CA0011 |
CD | Action type | taken Taken from the initial message sent by the Cash Registercash register | CD001I |
AE | Status of the action | ‘01’ = Operation not performed | AE00210 |
...
Allows a buffer (ASCII coded base 64) sent by the cash register to be printed on the terminal.
...
ticket Request (Cash register → Terminal)
Tag | Meaning | Rule | Example |
---|---|---|---|
CZ | Protocol version | Configurable, 0320 by default | CZ0040320 |
CJ | Cash register protocol version | Configurable, 323540032810 by default. | CJ012323540032810 |
CA | Cash register number | Constant 1 | CA0011 |
CD | Action type | P for Print method | CD001P |
ZT | Constructed Tag composed of the data in CK and the (ASCII base64) buffer to print in AK | ZT0025CK003100AK0012Ym9uam91cg== | |
CK | 'Print ticket?' selection | Position 1:
Position 2:
Position 3:
| CK003100 |
AK | Data to print | Base 64 encoding of the ticket to be printed, 900 max | AK0012Ym9uam91cg== |
1 If a mandatory field is not present in the message, the action will be refused by the terminal, the status of the action returned as ‘Operation not performed.’
...
of the ticket to be printed, 900 max | AK0012Ym9uam91cg== |
Print ticket Response (Terminal → Cash
...
register)
The terminal responds immediately to the cash register and then performs the collection(s) of the applications, afterwards, continues with what it was doing.
Tag | Meaning | Rule | Example |
---|---|---|---|
CZ | Protocol version | taken Taken from the initial message sent by the Cash Registercash register | CZ0040320 |
CJ | Cash register protocol version | taken Taken from the initial message sent by the Cash Registercash register | CJ012323540032810 |
CA | Cash register number | taken Taken from the initial message sent by the Cash Registercash register | CA0011 |
CD | Action type | taken Taken from the initial message sent by the Cash Registercash register | CD001P |
AE | Status of the action | ‘01’ = Operation not performed | AE00210 |
...