Create a new currency conversion within your UQPAY account balances. This allows you to exchange one currency for another at the available rate.
quote_id. The key conversion parameters (buy_currency, sell_currency, conversion_date) must match the quote details.buy_currency and sell_currency, but define only one of either buy_amount or sell_amount. The defined amount represents the dealt (fixed) side, while the other amount will be automatically calculated based on UQPAY’s exchange rate.The API token for login provided by UQPay.
Specifies the sub-account on whose behalf the request is made. This should be set to the account_id, which can be retrieved via the List Connected Accounts. If omitted or empty, the request is executed using the master account.
More information at Connected Accounts.
A unique identifier (UUID) used to maintain operation idempotency, ensuring that repeated executions of the same operation do not result in unintended effects or duplication. It helps preserve data consistency in the face of network errors, retries, or failures.
A unique UUID identifier for the quote.
"784832f7-1f8a-4b08-ac2a-8719b5b2a590"
The designated date on which the currency conversion will be executed. This must be a valid available date for conversion.
Only the current calendar date is supported — past or future dates are not allowed.
Format: YYYY-MM-DD.
"2024-08-26"
The amount of the currency that was sold in the conversion.
"1000.00"
The amount of the currency that was purchased in the conversion.
"1000.00"
OK - Successfully retrieved a payout.
A unique UUID identifier for the conversion transaction.
"784832f7-1f8a-4b08-ac2a-8719b5b2a590"
The reference generated by the system to identify the entity.
"P220406-LLCVLRM"
The amount of the currency that was sold in the conversion.
"10"
The amount of the currency that was purchased in the conversion.
"7.36"
The timestamp when the conversion transaction was initiated.
"2024-08-22T17:12:58+08:00"
The currency pair that the quote is for. The direction of the currency pair is per market convention where possible.
"USDSGD"
The reference generated by the system to identify the entity.
"XC240822-TXCRW2EI"
The current status of the conversion transaction. Valid values are:
PROCESSING: Currency conversion request is being processed by the system.AWAITING_FUNDS: System is waiting for the source funds to be available.TRADE_SETTLED: Currency exchange has been executed at the agreed rate.FUNDS_ARRIVED: Converted funds have been received in the target currency."AWAITING_FUNDS"