Published when a conversion created, canceled, funds arrived, completed.
Event metadata
- name:
CONVERSION
- types:
conversion.funds.awaiting
conversion.funds.arrived
conversion.trade.failed
conversion.trade.settled
Request body
Fields | Data Type | Description |
---|---|---|
event_id | string | A unique ID for the event. |
event_name | string | Event name. |
event_type | string | Event type. |
source_id | string | Conversion ID. |
version | string | API Version number. |
data | object | Object containing conversion details associated with the event. |
Notification example
{
"version": "V1.5.2",
"event_name": "CONVERSION",
"event_type": "conversion.trade.settled",
"event_id": "f531776b-df59-4d11-84f0-11e7ae3755f0",
"source_id": "881147e4-89de-4e0e-afbc-7d19f6c4f14b",
"data": {
"account_name": "UQPAY PTE LTD.",
"conversion_id": "881147e4-89de-4e0e-afbc-7d19f6c4f14b",
"creator": "Jim",
"client_rate": "1.3478",
"buy_amount": "1347.58",
"buy_currency": "SGD",
"sell_amount": "1000.00",
"sell_currency": "USD",
"create_time": "2024-07-18 14:19:52 +0800 CST",
"settle_time": "2024-07-18 14:20:00 +0800 CST",
"conversion_status": "TRADE_SETTLED"
}
}