Query order details
Interface address: /api/v1/order/query-order-detail
Note: This interface allows you to view on order details.
Request input parameters
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| orderId | String | N | The order ID can either be "orderId" or "merchantOrder". |
| merchantOrder | String | N | The merchant order ID can either be "orderId" or "merchantOrder". |
Output parameters
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| merchantOrder | String | Y | Merchant order ID |
| orderId | String | Y | Order ID |
| userId | String | Y | User ID |
| fiatCurrency | String | Y | Fiat currency |
| cryptoCurrency | String | Y | Cryptocurrency |
| fiatAmount | String | Y | Fiat amount |
| cryptoAmount | String | Y | Cryptocurrency amount |
| orderFee | String | Y | Transaction fee |
| price | String | Y | Price |
| payWayCode | String | Y | Payment method |
| state | String | Y | Order status: CREATED: Order created successfully. PROCESSING: 3DS payment link generated. SUCCESS: The payment was successful, pending crypto transfer. FAILED: Payment failed (risk control verification). CHAIN_WITHDRAW_WAIT: Crypto transfer in progress. |
| errorCode | String | N | Error code for payment failure |
| errorMessage | String | N | Error information |
| completedTime | String | N | Order execution time |
| createTime | String | Y | Creation time |
| updateTime | String | Y | Last update time |
| network | String | Y | Network |
| merchantUser | String | N | User's unique tag on the merchant side |
| txId | String | N | On-chain transfer transaction ID |
| networkFee | String | N | On-chain gas fee |
| chainArrivalTime | String | N | On-chain crediting time |
| meThreeDsRedirectUrl | String | N | 3DS link |
| transferAddress | String | N | Receive address |
| transferMode | String | N | Transfer mode |
| tag | String | N | Tag address |
| threeDsRedirectUrl | String | N | 3ds address |
| creq | String | N | Token Information |
| actualReceivedAmount | String | N | Actual Received Amount |
| couponInfo | String | N | Coupon Information |