Transaction EMV
The EMV Cloud API provides a semi-integrated payment solution that enables developers to easily integrate EMV payment processing into their Point of Sale (POS) systems. This API handles the complex EMV terminal communication while providing a simple JSON-based interface for payment authorizations.
Base URLs
Sandbox
https://gateway-sb.clearent.net/rest/
Production
https://gateway.clearent.net/rest/
Headers
Content-Type: application/json
Accept: application/json
AccessKey: Secret access key issued by Xplor Pay
Available Endpoints:
Generic Transaction:
POST /rest/v2/terminal/transactions
Auth Only:
POST /rest/v2/terminal/transactions/auth
Sale:
POST /rest/v2/terminal/transactions/sale
Forced Sale:
POST /rest/v2/terminal/transactions/forced-sale
Refund:
POST /rest/v2/terminal/transactions/refund
Token Only:
POST /rest/v2/terminal/transactions/token-only
Note: Only POST is supported through these endpoints. To search or run follow-on transactions that do not require card data, use the Transactions API endpoints in conjunction with this one.
Usage Flow
Transaction Initiation: Your POS system initiates a transaction through the API
Terminal Communication: The EMV Cloud contacts and wakes up the payment terminal
Card Data Collection: The terminal prompts for and securely collects card data
Processing: The transaction is processed and results are returned
The following diagram illustrates recommended best practices for transaction resiliency:

Additional Information
The system is designed to protect the transaction at all costs, prioritizing both speed and success. If you request a token or expect a token in the transaction response, that data might be omitted. The only response fields guaranteed in the wrapper object are:
payloadType
status
result-code
If the payloadType
is transaction, the only guaranteed response fields are:
ID
result-code
authorization-code
display-message
Any of the other fields we will attempt to return to you (for example, cardType
and expDate
) may not always be available. Common causes include:
You used a token as a card, and the card type lookup took too long
An encrypted reader was used, and the expiration date wasn't readily available
All of these fields become eventually consistent and available within a few seconds when you perform a GET
operation on the transaction.
Note: Note that GET
operations don't run on the transactional system. If you perform a GET
operation immediately after receiving a transaction response, the data might not be available right away. Data replication typically takes 200 milliseconds to 1 second to complete, after which all fields become available.
Last updated
Was this helpful?