Simulate authorisation transaction
Headers
Specifies the API version to use for this request.
Request body
The unique identifier of the card to be used for simulating the transaction.
The total amount charged to the cardholder, in the card’s currency. This amount includes the transaction amount plus any applicable fees.
The original amount of the transaction in the merchant’s currency, representing the base value of the purchase before fees are added.
Note: If not specified, this defaults to the same value as billAmount.
The ISO 4217 currency code for the transaction. Defaults to the card’s currency if not specified.
The identifier for the transaction. It is required If you simulate incremental authorizations.
When set to true, simulates an incorrect CVV scenario.
When set to true, simulates an incorrect PIN scenario.
When set to true, simulates an incorrect expiration date scenario.
When set to true, simulates a transaction timeout in the sandbox, causing the transaction to be declined and emitting a declined-transaction webhook.
When set to true, triggers the fraud alert simulation flow (FRAUD_DETECTION webhook + timeout handling).
Override merchant name in the FRAUD_DETECTION webhook. Defaults to "Simulated Merchant".
Override merchant location in the FRAUD_DETECTION webhook. Defaults to "SG".
The 4-digit Merchant Category Code (MCC). This parameter is not applicable to incremental authorizations. Default is 5732.
The country of the acquirer. This parameter is not applicable to incremental authorizations. Default is HKG.
Example request
{
"transactionCurrency": "840"
}Response
Successfully simulated an authorisation transaction
A unique identifier for the lifecycle event.
A unique identifier for the transaction.