Skip to main content
POST
/
cards
/
simulate-full-reversal
Simulate a full reversal of an authorized transaction
curl --request POST \
  --url https://access.utgl.io/v1/cards/simulate-full-reversal \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cardAccountId": "b8e2752d-6bd7-4244-a9f6-580f5640eaeb",
  "cardTransactionId": "c8e2752d-6bd7-4244-a9f6-580f5640eaeb"
}
'
{
  "cardTransactionId": "8188d920-2c17-4aba-aa24-6a25f8c12ddb"
}

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 fully reverse

Example:

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

cardTransactionId
string
required

The transaction ID to fully reverse

Example:

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

Response

200 - application/json

Full reversal transaction submitted

cardTransactionId
string

The ID of the fully reversed transaction

Example:

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