AXS Developer Hub
  1. Point of Sale
AXS Developer Hub
  • Getting Started
    • Overview
    • Account Setup
    • Payment Link
    • Merchant Branding
  • Point of Sale
    • PayCube
    • Function & Response Codes
  • Developers
    • Payment Link Integration
    • QR Code Integration
    • Transaction Query
  • Plugin
    • WooCommerce
  • Appendix
    • Test Cards
    • Reserved Amounts
  1. Point of Sale

Function & Response Codes

List of Function Codes supported by AXS PayCube terminal.#

A1 - Request Terminal Status
This function code is for POS to check whether the terminal is connected and ready to accept financial transactions.
A5 - Cancel
This function code is for POS to perform Cancel on Card Sale and QR Sale.
C1 - Card Sale
This function code is for POS to perform Credit Card Sale and terminal activate contactless Tap abd Chip Card Insertion.
C2 - VOID
This function code is for POS to perform Credit Card Void.
Q1 - QR Sale
This function code is for POS to perform QR Sale and terminal display QR code for customer to scan.

A1 - Request Terminal Status#

This function code is for POS to check whether the terminal is connected and ready to accept financial transactions.
Terminal will respond with response code 00 if it is ready to accept financial transactions, otherwise please refer to response code list for possible actions.
There is no field data required.
Sample Message

A5 - Cancel#

This function code is for POS to perform Cancel on Card Sale and QR Sale.
Terminal will respond with response code 00 if previous command is cancelled successfully or terminal is in idle state, otherwise terminal will return response code E6 (terminal is busy) if the terminal is in the state that does not allow to cancel (for example: transaction processing, transaction already approved…)
There is no field data required.
Sample Message

C1 - Card Sale#

This function code is for POS to perform Credit/Debit Card Sale and terminal activate contactless Tap and Chip Card Insertion.
Request Parameters
Respond Parameters
Sample Message

C2 - VOID#

This function code is for POS to perform Credit/Debit Card Void only applicable to those transaction that done within the same terminal and have not been settled.
Request Parameters
Respond Parameters
Sample Message

Q1 - QR Sale#

This function code is for POS to perform QR Sale and terminal display QR code for customer to scan.
Request Parameters
Respond Parameters
Sample Message

List of Response Code#

The following table lists the possible response codes from payment terminal for ECR transactions.
You may test specific negative scenarios by using reserved amount.
Response CodeDescriptionAction
00ApprovedSuccessful transactions.
01Invalid Request MessagePlease check:
-Message format
-LRC
-Function Code.
02Invalid Field DataPlease check field data value and format.
51Transaction Declined by HostPlease refer to host response code list from the acquirer.
TOTimeout waiting host authorization responseTerminal able to connect however was not able to get the response within the expected time.
If happens constantly, please check with bank.
E1Unable to read card (contactless, contact or swipe)Please check card.
E2Terminal is not ready for transactionPlease inject Key.
E3Terminal encounter connection errorPlease check terminal connection such as: phone line, ethernet cable, sim card or wifi access.
E4Invalid / Unsupported cardPlease check the card used for transaction.
E6Terminal is busyTerminal is not in idle state.
XXError encounteredOther errors encountered.
Previous
PayCube
Next
Payment Link Integration
Built with