Skip to main content
POST
Reverse a previously-posted transaction

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Replay-safe request key. Repeated requests with the same value within 24h return the original response unchanged.

Maximum string length: 255

Body

application/json

Exactly one of transaction_id or external_transaction_id must be supplied.

transaction_id
string
external_transaction_id
string
reason
string
Maximum string length: 280

Response

Existing reversal returned (idempotent replay)

transaction
object
reverses_transaction_id
string
enrollment
object
idempotent_replay
boolean

Set to true when the response is a replay of an existing reversal. Absent on fresh creates.