Create Conversion

Create a new currency conversion within your UQPAY account balances. This allows you to exchange one currency for another at the available rate.

Usage Guidelines
  • If using a pre-generated quote, provide a valid quote_id. The key conversion parameters (buy_currency, sell_currency, conversion_date) must match the quote details.
  • Specify both 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.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

A unique UUID identifier for the quote.

string
required

Currency code ISO_4217.

string

The amount of the currency that was sold in the conversion.

string
required

Currency code ISO_4217.

string

The amount of the currency that was purchased in the conversion.

string
required

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.

Headers
string

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.

uuid
required

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.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json