POST/simulations/card_reversals

Sandbox: Reverse a Card Authorization

Simulates the reversal of an authorization by a card acquirer. An authorization can be partially reversed multiple times, up until the total authorized amount. Marks the pending transaction as complete if the authorization is fully reversed.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 body fields
amountintegeroptional
The amount of the reversal in minor units in the card authorization's currency. This defaults to the authorization amount.
card_payment_idstringrequired
The identifier of the Card Payment to create a reversal on.

3 status codes
200Card Payment
account_idstringrequired
The identifier for the Account the Transaction belongs to.
card_idstringrequired
The Card identifier for this payment.
created_atstringrequired
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Card Payment was created.
digital_wallet_token_idstringrequired
The Digital Wallet Token identifier for this payment.
elementsarray<CardPaymentCardPaymentElement>required
The interactions related to this card payment.
idstringrequired
The Card Payment identifier.
physical_card_idstringrequired
The Physical Card identifier for this payment.
stateobjectrequired
The summarized state of this card payment.
typestringrequired
A constant representing the object's type. For this resource it will always be `card_payment`.
Allowed:card_payment
4XXError
5XXError