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

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

405

Method Not Allowed

415

Unsupported Media Type

429

Too Many Requests

500

Internal Server Error

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": {
    }
}