Balance Exchange Accept
Introduction
Use this interface to accept a balance exchange quote between different balance currencies, perform a balance exchange.
One balance exchange corresponds to two balance transaction records(adjustment type), one of which is a deduction and one of which is an increase, synchronizing the update of the balance.
Interface
POST /v1/balance_exchange/accept
Request Params
Field | Name | Type | Range | Example | Default | Optional | Remark | Rule |
---|---|---|---|---|---|---|---|---|
quote_id | Quote ID | string | [1, 64] | required |
Response Params
Response Example
200 success:
{
"id": "fxqt_HWr1i",
"livemode": true,
"object": "fx_quote",
"account": "acct_yz50aD",
"currency_buy": "HKD",
"amount_buy": "0.08",
"currency_sell": "USD",
"amount_sell": "0.01",
"fx_converted": 7.58253,
"status": "succeeded",
"description": "test description",
"type": "sell",
"time_created": "2023-11-13T15:53:58+08:00",
"time_expired": "2023-11-13T23:59:59+08:00"
}