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: CREATEED: Order created successfully. PROCESSING: Processing SUCCESSED: Payment successful, waiting for coin to be transferred. FAILED: Payment failed. CHAIN_WITHDRAW_WAIT: Playing coins. COMPLETED: Order completed CONVERSION_FAILED: Hedging failed |
| subState | String | N | Only when state == COMPLETED, there is a subState stateWITHDRAWAL_SUCCESS: Withdrawal successful WITHDRAWAL_FAILED : Withdrawal failed (It will only be returned when the withdrawal is final, other situations require manual processing) |
| 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 | N | 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 |