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

Simulate a refund authorisation

POST /v2/simulations/refund/authorization

Request

Use this request to simulate a refund authorisation.

Request body schema

cardId
string
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 fields: 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 a refund authorisation clearing

POST /v2/simulations/refund/authorization/clearing

Request

Use this request to simulate a refund 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

For more detailed information about this request and its response, see the API reference.