Skip to main content
POST
Charge Fee

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

account ID or card account ID

intent
string
required

supported fee intents

Example:

"CARD_APPLICATION_FEE"

amount
number

amount overrides the existing fee schedule

Required range: x >= 0
Example:

10.5

currency
string

current overrides the existing fee schedule

Example:

"HKD"

xid
string

UUID

Example:

"1d931723-b386-4632-98aa-070c407ca3f0"

xmetadata
any

Response

Charge fee successful

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>