Skip to main content
POST
/
cards
/
simulate-capture
Simulate a clearing of an authorized transaction
curl --request POST \
  --url https://access.utgl.io/v1/cards/simulate-capture \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cardAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "cardTransactionId": "c8e2752d-6bd7-4244-a9f6-580f5640eaeb",
  "amount": 100
}
'
{
  "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<uuid>
required

Card Account ID

cardTransactionId
string
required

The cardTransactionId field specifies the transaction id from the original authorization

Example:

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

amount
number
required

The amount to capture.

Example:

100

Response

200 - application/json

Captured transaction submitted

cardTransactionId
string

The ID of the simulated card account transaction

Example:

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