Transact

Place an order for currency conversion

Weight: 1 time / second


Request Parameters



PARAMETER

TYPE

Req'd

Example

DESCRIPTION

quoteId

STRING

Y

8f92785969df4683a4a688cd8b9f9533

A unique reference ID for this quote. Generated from the response via getQuote endpoint.

clientOrderId

STRING

122455

An ID defined by the client for the order; it will be automatically generated if not sent in the request.

buyCurrency

STRING

Y

HKD

The currency which the client wants to buy.

sellCurrency

STRING

Y

USD

The currency which the client wants to sell.

sellAmount

STRING

Y


The amount which the client wants to sell to the bank in sellCurrency. Only one amount out of buyAmount & sellAmount should be specified.

channel

STRING

Y

SC_SCALE
FX_DB
SC_SELF


Response Content



PARAMETERTYPEExample valuesDESCRIPTION
accountIdLONG1644290379632090370Account number
quoteIdSTRING8f92785969df4683a4a688cd8b9f9533A unique reference ID for this quote
clientOrderIdSTRING122455An ID defined by the client for the order; it will be automatically generated if not sent in the request
orderIdSTRINGFX624613599962509312The orderId generated by HashKey
statusSTRINGIN_PROGRESSStatus of transaction
buyCurrencySTRINGHKDCurrency to buy
sellCurrencySTRINGUSDCurrency to sell
buyAmountDECIMAL1000The amount which the client wants to buy from the bank in buyCurrency. Only one amount out of buyAmount & sellAmount should be specified
sellAmountDECIMAL128.1200The amount which the client wants to sell to the bank in sellCurrency. Only one amount out of buyAmount & sellAmount should be specified
rateDECIMAL0.128126Indicative rate
transactTimeLONG1726727487548Timestamp in milliseconds
Language
Credentials
Header
Click Try It! to start a request and see the response here!