get https://api-pro.sim.hashkeydev.com/api/v1/convertCurrency/transactStatus
Get the status for currency conversion transaction
Weight: 1
Request Parameters
PARAMETER | TYPE | Req'd | Example | DESCRIPTION |
---|---|---|---|---|
orderId | STRING | Y | FX624613599962509312 | The orderId generated by HashKey |
Response Content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
accountId | LONG | 1644290379632090370 | Account number |
orderId | STRING | FX624613599962509312 | The orderId generated by HashKey |
status | STRING | IN_PROGRESS | Status of transaction. Enum: IN PROGRESS / EXECUTED / FAILED |
buyCurrency | STRING | HKD | Currency to buy |
sellCurrency | STRING | USD | Currency to sell |
buyAmount | DECIMAL | 1000.0000 | The amount which the client wants to buy from the bank in buyCurrency. Only one amount out of buyAmount & sellAmount should be specified |
sellAmount | DECIMAL | 128.1260 | The amount which the client wants to sell to the bank in sellCurrency. Only one amount out of buyAmount & sellAmount should be specified |
rate | DECIMAL | 0.128126 | Indicative rate |
transactTime | LONG | 1726727486992 | Timestamp in milliseconds |