Simulate a card authorisation

Simulates a card authorisation.

This endpoint is for testing purposes only and won't work in production.

SecurityCommonAuth
Request
query Parameters
accountId
required
string

The ID of the account to work with.

Example: accountId=F50091
Request Body schema: application/json

Body

cardId
required
string <uuid> <= 36 characters

The ID of the card to work with.

amount
required
number >= 0

The amount.

network
required
string

The card network.

required
object
Responses
201

Created

post/cards/simulations/transaction/authorization
Request samples
application/json
{
  • "cardId": "e9293471-5eb3-4dbc-916c-dbaf9e2deefd",
  • "amount": 10,
  • "network": "VISA",
  • "cardAcceptor": {
    }
}
Response samples
application/json
{
  • "transaction": {
    }
}