Card testing

Simulate authorization

Simulate an authorization request with a card you issued previously.

post/issuing/simulate/authorizations

Request

Request body

Example request

{
  "card": {
    "id": "crd_fa6psq242dcd6fdn5gifcq1491",
    "expiry_month": 5,
    "expiry_year": 2025
  },
  "transaction": {
    "type": "purchase",
    "amount": 6540,
    "currency": "GBP",
    "merchant": {
      "category_code": "7399"
    },
    "authorization_type": "authorization"
  }
}

Response

Authorization processed successfully

idstring

The transaction's unique identifier.

This same ID is carried throughout all authorization, reversal, and clearing messages related to the given transaction.

status'Authorized' | 'Declined' required

The transaction's status.

Example response

{
  "id": "trx_aaqc4uaaybigcaaqc4uaayfiga",
  "status": "Authorized"
}

Changes

No recorded changes to this operation across all 1 revision of this API.