Skip to main content
POST
Simulate a decline transaction

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
cardAccountId
string
required

The card account ID to decline

Example:

"c8e2752d-6bd7-4244-a9f6-580f5640eaeb"

cardId
string
required

The card ID to decline

Example:

"c8e2752d-6bd7-4244-a9f6-580f5640eaec"

amount
number
required

The amount to decline

Example:

100

currency
string
required

The currency to decline

Example:

"HKD"

Response

200 - application/json

Decline transaction submitted

cardTransactionId
string

The ID of the declined transaction

Example:

"8188d920-2c17-4aba-aa24-6a25f8c12ddb"