Skip to main content
POST
/
fees
/
waive
Waive a Fee
curl --request POST \
  --url https://access.utgl.io/v1/fees/waive \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "id": "<string>",
  "transaction": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "xid": "<string>",
    "xmetadata": {
      "key1": "value1",
      "key2": [
        "value2.1",
        "value2.2"
      ]
    },
    "refId": "CT34567890",
    "cardAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "cardLast4": "<string>",
    "cardEmbossedName": "<string>",
    "createdAt": "2022-11-10T07:47:09.415Z",
    "status": "pending",
    "postedAt": "2022-11-10T07:47:09.415Z",
    "intent": "charge",
    "authorization": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "currency": "USD",
      "amount": 128.29,
      "createdAt": "2022-11-10T07:47:09.415Z",
      "type": "Payment authorization type",
      "responseCode": "<string>",
      "responseMessage": "<string>",
      "cardPresent": true
    },
    "merchant": {
      "name": "UBER * PENDING Amsterdam NLD",
      "mcc": "4121",
      "category": "Taxicabs and limousines",
      "country": "HK"
    },
    "currency": "HKD",
    "amount": 1000,
    "entryType": "CREDIT",
    "description": "UBER * PENDING Amsterdam NLD",
    "grossAmount": 1000
  },
  "amount": 123,
  "currency": "<string>",
  "status": "pending",
  "intent": "<string>",
  "intentId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

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
id
string<uuid>
required

Fee entry ID

Response

Waive Fee succeeded

Charged fee entry for account or card account

id
string
transaction
Card Account Transaction · object

Card account transaction

amount
number
currency
string
status
enum<string>

Status of the fee

Available options:
pending,
posted,
void
intent
string

Fee intent of the fee entry.

intentId
string

id of the instruction that caused the fee charge.

createdAt
string<date-time>