Simulate clearing
Simulates a clearing (settlement) event. Pass transactionId to clear an existing authorization, or omit to simulate offline/direct clearing.
Authorizations
API key as Bearer token
Headers
API version (YYYY-MM-DD)
2025-02-14 "2025-02-14"
Body
Simulate a clearing event on a card
Card ID
Amount in USD
x >= 0Existing transaction ID to clear. Omit to simulate offline/direct clearing (creates a new transaction).
Amount in the original transaction currency. Must be provided together with originalCurrency.
x >= 0Original transaction currency (ISO 4217). Must be provided together with originalAmount.
3Response
Card transaction resource. The response shape varies by transaction status.
- Pending
- Cleared
- Declined
- Void
Authorized transaction that hasn't settled yet
Card transaction identifier
Account linked to the card
Card used for this transaction
Transaction channel
ATM, POS, ECOMMERCE, VISA_DIRECT "ATM"
Digital wallet used, or null if physical card
APPLE_PAY, GOOGLE_PAY, MERCHANT_TOKEN "APPLE_PAY"
Original transaction currency (merchant local currency)
"USD"
"HKD"
"EUR"
Card currency
"USD"
"HKD"
"EUR"
Merchant details
Chronologically sorted lifecycle events (oldest first). Provides the full audit trail of what happened to this transaction.
ISO 8601 timestamp of when the transaction was initiated
"2024-01-15T10:30:00Z"
ISO 8601 timestamp of creation
"2024-01-15T10:30:00Z"
ISO 8601 timestamp of last update
"2024-01-15T10:35:00Z"
"PENDING"Amount in the original transaction currency
Amount charged to the cardholder
Conversion rate from the original currency to the card currency
x >= 01
0.128205
7.812