Hambit Web3 Payment API
  1. Order
Hambit Web3 Payment API
  • Payment
    • Initiate a Payable Consumption
      POST
  • Dictionary
    • Query Supported Blockchain Types
      GET
    • Query Supported Consumption Types
      GET
    • Query Supported Pay Modes
      GET
    • Query Supported Token Types
      GET
  • Order
    • Query Order Information
      POST
  • Wallet
    • Query Merchant Blockchain Wallet
      POST
  • PING
    • Ping
      GET
  • Schemas
    • Schemas
      • api.ApiResponse
      • crypto.RequestConsumePay
      • crypto.RequestQueryOrder
      • crypto.RequestQueryWallet
      • crypto.ResponseConsumePay
      • crypto.ResponseQueryChainTypes
      • crypto.ResponseQueryConsumptionTypes
      • crypto.ResponseQueryExecutionTypes
      • crypto.ResponseQueryOrder
      • crypto.ResponseQueryTokenTypes
      • crypto.ResponseQueryWallet
      • crypto.WalletBalance
      • ping.Pong
  1. Order

Query Order Information

POST
/crypto/query/order
Merchants can query order information by either the original order ID (ExternalOrderID) or the system order ID (OrderID). Returns order status, payment details, and transaction info.

Request

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Result structure, data field is the response body
Body

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/crypto/query/order' \
--header 'access_key;' \
--header 'timestamp;' \
--header 'nonce;' \
--header 'sign;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "externalOrderId": "ORDER123456789",
    "orderId": "ORD2024062612345678"
}'
Response Response Example
200 - Example 1
{
    "code": "string",
    "data": {
        "chainType": "Bsc",
        "consumptionType": "payable",
        "createdAt": 1722054607,
        "executionType": "meta",
        "expireTime": 1722060000,
        "externalOrderId": "ORDER123456789",
        "fromAddress": "0xabcdef1234567890abcdef1234567890abcdef12",
        "gasPrice": 100,
        "gasUsed": 21000,
        "orderId": "ORD2024062612345678",
        "paidAt": 1722054700,
        "paidValue": 123.456,
        "serviceValue": 1.5,
        "status": "completed",
        "toAddress": "0x1234567890abcdef1234567890abcdef12345678",
        "tokenType": "USDT",
        "tokenValue": "123.456",
        "txFee": 0.0021,
        "txHash": "0x1234abcd5678ef901234abcd5678ef901234abcd5678ef901234abcd5678ef90"
    },
    "desc": "string",
    "msg": "string",
    "success": true
}
Modified at 2025-07-08 08:04:25
Previous
Query Supported Token Types
Next
Query Merchant Blockchain Wallet
Built with