These endpoints are for sandbox only. They won’t work in production.
Simulate an authorisation
POST
/v2/cards/simulations/transaction/authorizationRequest
Use this request to simulate a card authorisation.Request body schema
The ID of the card to work with.Allowable values: An existing
cardId (≤ 36 characters)The amount of the transaction.Allowable values: A valid number (
>= 0)Details about the card acceptor.Allowable values: A valid
cardAcceptor object containing the following field: midResponse
If your request is successful, you’ll receive a201 response.
Simulate an authorisation advice
POST
/v2/cards/simulations/transaction/authorization/adviceRequest
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 stringThe authorisation clearing amount.Allowable values: A valid number (
>= 0)Response
If your request is successful, you’ll receive a201 response.
Simulate an authorisation clearing
POST
/v2/cards/simulations/transaction/authorization/clearing?accountId=F52903Request
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 stringThe authorisation clearing amount.Allowable values: A valid number (
>= 0)Response
If your request is successful, you’ll receive a201 response.
Simulate an authorisation reversal
POST
/v2/cards/simulations/transaction/authorization/reversalRequest
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 stringThe authorisation reversal amount.Allowable values: A valid number (
>= 0)Response
If your request is successful, you’ll receive a201 response.