For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Detail FX Order

Endpoint: GET /v2/gc/fx/orders/{requestId}

Description: Retrieve the current status and full details of an FX order by the merchant-assigned request ID used when creating the order.

Request

Request Params Field Descriptions

Field Name
Type
Required
Description

childMerchantId

string

No

Child (sub-merchant) identifier. Provide when querying an FX order on behalf of a sub-merchant.

Response

Response Field Descriptions

Field Name
Type
Description

code

number

Response code.

state

number

State of the response.

data

object

FX order detail.

message

string

Response message.

neoResponseId

string

Unique NeoX response identifier.

data object fields:

Field Name
Type
Description

fxOrderId

string

NeoX identifier for this FX order.

requestId

string

Merchant-assigned request ID echoed from the original Create FX Order call.

serialNum

string

Platform serial number assigned to this FX trade.

status

string

Current FX order status. Enum: SUCCESS | FAIL | DELIVERING | PROCESSING.

fxRate

number

FX rate applied to this conversion trade.

sourceCurrency

string

ISO 4217 currency code of the source (selling) currency.

sourceAmount

number

Amount converted from sourceCurrency.

targetCurrency

string

ISO 4217 currency code of the target (buying) currency.

targetAmount

number

Amount received in targetCurrency after conversion.

createdAt

date string

Timestamp when the FX order was created (ISO 8601).

updatedAt

date string

Timestamp of the most recent status update (ISO 8601).

Response sample

Example cURL

Notes

  • Requires Bearer token in the Authorization header.

  • The Accept-Language header can be used to specify the response language (Support: "vi", "en").

  • Replace {requestId} with the merchant-assigned requestId used when creating the FX order.

  • Use this endpoint to poll trade status when a webhook notification has not yet been received.

  • When status=DELIVERING, the trade has executed successfully and settlement is in progress; use the Get FX Delivery Status API (GET /v2/gc/fx/orders/{requestId}/delivery) to track the settlement outcome.

Last updated

Was this helpful?