Test data
This page includes test data for different integration types. You can use these to simulate different scenarios and ensure that your integration performs as expected.
How does test data work?
Create a transaction with a predefined amount according to the following values to simulate different scenarios during the payment process.
Card-present payments
Send the following amounts to the dev
environment to simulate different scenarios. Use any valid card available to complete transactions. Please note that no real transactions will be processed in this environment.
Cloud terminal API
Test data available for integrations via Cloud terminal API to simulate different scenarios in the dev
environment:
Amount | Error code | Description |
---|---|---|
- | MR-100 | Send an incorrect device at request time to simulate this error. |
100 < | MR-110 | Send an amount less than the minimum allowed to simulate this error. |
> 99999999 | MR-120 | Send an amount greater than the maximum allowed to simulate this error. |
- | MR-130 | Send a dteType value other than those allowed to simulate this error. |
- | MR-140 | Set the value of the dteType property to 99 and omit sending the exemptAmount property in the request to simulate this error. |
- | MR-141 | Set the value of the dteType property to 99 and send a different amount in the exemptAmount and amount properties during a request to simulate this error. |
- | MR-150 | Set the value of the dteType property to 0 and send a larger amount in the exemptAmount property than the amount during a request to simulate this error. |
- | MR-180 | This error occurs when there is a pending request in the terminal and a new one is sent. |
- | INT-MIDDLEWARE-012 | Omit the X-API-Key header during a request to simulate this error. |
Otro | — | Submit any other valid amount for an approved transaction. |
Raw card-present API
Test data available for integrations via Raw Card-Present API to simulate different scenarios in the dev
environment:
Amount | Error code | Description |
---|---|---|
10 | 01 | Transaction declined. Please contact your card issuer. |
40 | 04 | The entered card has been reported. |
50 | 05 | An error occurred while processing the transaction. |
74 | 00 | Approval (transaction approved with delay). |
174 | 00 | Approval (transaction approved with delay). Note: applies to voids. |
Other | — | Submit any other valid amount for an approved transaction. |