Conversion Status

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.

data.conversion_way

string

Indicates how the conversion request was created.

  • API: The conversion was initiated via API.
  • (empty): The conversion was created through the Dashboard.

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",
        "short_reference_id": "C230907-JHVHAZRE",
        "creator": "Jim",
        "client_rate": "1.3478",
        "buy_amount": "1347.58",
        "buy_currency": "SGD",
        "sell_amount": "1000.00",
        "sell_currency": "USD",
        "create_time": "2024-07-18T14:19:52+08:00",
        "settle_time": "2024-07-18T14:20:00+08:00",
        "conversion_status": "TRADE_SETTLED",
        "conversion_way": ""
    }
}