Skip to main content
These endpoints are for sandbox only. They won’t work in production.

Simulate an authorisation

POST /v2/cards/simulations/transaction/authorization

Request

Use this request to simulate a card authorisation.

Request body schema

cardId
string (uuid)
required
The ID of the card to work with.Allowable values: An existing cardId (≤ 36 characters)
amount
number
The amount of the transaction.Allowable values: A valid number (>= 0)
cardAcceptor
object
required
Details about the card acceptor.Allowable values: A valid cardAcceptor object containing the following field: mid

Response

If your request is successful, you’ll receive a 201 response.
For more detailed information about this request and its response, see the API reference.

Simulate an authorisation advice

POST /v2/cards/simulations/transaction/authorization/advice

Request

Use this request to simulate a card authorisation advice.

Request body schema

The token of the transaction to work with. This is the token received in the response to the authorisation request.Allowable values: A valid string
amount
number
required
The authorisation clearing amount.Allowable values: A valid number (>= 0)

Response

If your request is successful, you’ll receive a 201 response.
For more detailed information about this request and its response, see the API reference.

Simulate an authorisation clearing

POST /v2/cards/simulations/transaction/authorization/clearing?accountId=F52903

Request

Use this request to simulate a card authorisation clearing.

Request body schema

The token of the transaction to work with. This is the token received in the response to the authorisation request.Allowable values: A valid string
amount
number
required
The authorisation clearing amount.Allowable values: A valid number (>= 0)

Response

If your request is successful, you’ll receive a 201 response.
For more detailed information about this request and its response, see the API reference.

Simulate an authorisation reversal

POST /v2/cards/simulations/transaction/authorization/reversal

Request

Use this request to simulate a card authorisation reversal.

Request body schema

The token of the transaction to work with. This is the token received in the response to the authorisation request.Allowable values: A valid string
amount
number
required
The authorisation reversal amount.Allowable values: A valid number (>= 0)

Response

If your request is successful, you’ll receive a 201 response.
For more detailed information about this request and its response, see the API reference.