Query Order
Introduction
This API required verified merchant signature.
API Description
Request Method: GET
Request Path: /api/v3/purchase/orders?id=:ordersId
or /api/v3/purchase/orders?exid=:merchantOrderNo
Response Example
"data": {
"id": "1865035556568698881", //order id
"appKey": "becc7c45-bff5-4864-ad5b-9090354aaa43", //appKey of merchant side
"create": 1733494102 // create time
"lastUpdate": 1733494102 // last update time
"status": "PENDING", //order status
"expired": 1733497702, //order expired time
"payee": "10017", // merchant account number,contact us to received
"marketplace": "4MEME_BNB", // market place code
"marketplaceToken":"BNB",
"marketplaceTokenIcon":"...",
"marketplaceChain":"BSC",
"merchantOrderNo": "12345111211111", // merchant order number
"toAddress": "0x111...111"// token received address
"token": "0x123...456", // purchase token contract address
"symbol": "PEPE", // purchase token symbol
"decimals": "8", // purchase token decimal places
"icon": "...", // purchase token icon url
//Only send one between amount and funds
"amount": "1000000"// actual purchase token amount
"funds": "23.1", // actual purchase payment token amount
"buyGas": {
"gasToken": "BNB", // payment token code
"amount": "0.05", // default purchase amount
},
"checkoutSettings": {
"redirectURL": "http://demo.xyz/product/", // redirect user to after payment success
} //setting of checkout, sent at create order
"checkoutId": "1866356231250120704",// checkout ID
//below parameter related to paymentMethod
"paymentMethod": "TRANSFER_CRYPTO",
"payment": { ... },
}
}
Updated 6 days ago