/api/v2/order/infoQuery Order Information
Query order information by Cregis order ID.
Rate limit: 1000 requests/minute
Request
Request Body
required
application/jsonnoncestringrequired6-character random string.
pidinteger<int64>requiredProject ID.
signstringrequiredSignature.
timestampinteger<int64>requiredTimestamp.
cregis_idstringrequiredCregis order ID.
Responses
200Successapplication/jsoncodestringResponse code.
msgstringResponse message.
dataobjectcregis_idstringCregis order ID.
order_idstringMerchant Order Id
order_amountstringOrder Amount
order_currencystringOrder currency.
created_timeinteger<int64>Order creation time in 13-digit Unix timestamp format
e.g. 1750407942433, i.e. 2024-07-09 14:57:49 092
cancel_timeinteger<int64>Order cancellation time in 13-digit Unix timestamp format
e.g. 1750407942433, i.e. 2024-07-09 14:57:49 092
transact_timeinteger<int64>Order completion time in 13-digit Unix timestamp format
e.g. 1750407942433, i.e. 2024-07-09 14:57:49 092
valid_timeinteger<int32>Unit: minutes.
Order validity period. After the validity period expires, the order can no longer be paid.
statusstringenum: "new", "paid", "expired", "paid_over", "paid_partial", "canceled"Order status
- newpending payment
- paidpaid
- expiredorder exceeded the validity period
- paid_overpayment exceeds the order amount
- paid_partialpayment is less than the order amount
- canceledorder canceled, such as when refund is completed
refund_requestedstringenum: "yes", "no"Whether the order has a refund
- nono refund record
- yesrefund record exists
payer_idstringPayer information.
payer_namestringPayer name.
payer_emailstringPayer email.
remarkstringOrder remark information.
payment_detailarray<object>Payment records.
Array items ·
objectpayment_addressstringDeposit address.
from_addressstringPayer address.
receive_amountstringOrder amount after exchange-rate conversion.
receive_currencystringOrder currency after exchange-rate conversion.
pay_amountstringActual received amount.
pay_currencystringReceived currency.
exchange_ratestringExchange rate.
tx_idstringTransaction hash.
blockchainstringCurrency network.
token_namestringNetwork-specific token display name. Identifies the token variant on the specified blockchain, such as USDT-TRC20 or USDT-ERC20.
payment_infoarray<object>Requested payment information.
Array items ·
objectpayment_addressstringDeposit address.
token_symbolstringPayment token symbol. The asset code of the cryptocurrency, such as USDT, BTC, or ETH. It does not include the blockchain network.
blockchainstringCurrency network.
token_namestringNetwork-specific token display name. Identifies the token variant on the specified blockchain, such as USDT-TRC20 or USDT-ERC20.
logo_urlstringCurrency logo URL.
token_decimalsintegerToken decimals.
receive_amountstringOrder amount after exchange-rate conversion.
receive_currencystringOrder currency code after exchange-rate conversion.
exchange_ratestringExchange rate.
asset_logostringToken asset logo.
refund_dataobjectRefund order information.
refund_statusintegerenum: 0, 1, 2Refund status
- 0refund processing
- 1refund successful
- 2refund failed
refund_idstringCregis refund order ID.
cregis_idstringUnique Cregis payment order ID.
reference_idstringOriginal merchant order ID.
recipient_idstringMerchant internal customer ID.
recipient_namestringRefund recipient name.
recipient_emailstringRefund recipient email.
recipient_addressstringRefund recipient on-chain address.
tokenstringFor the refund order token, pass the crypto
token_name, such asUSDT-BEP20orUSDT-TRC20.networkstringRefund order blockchain network.
refund_amountstringRefund amount.
refund_feestringGas fee required for the refund.
refund_tx_idstringRefund transaction hash.
refund_created_timeinteger<int64>Refund order creation time in 13-digit Unix timestamp format
e.g. 1720508269092, i.e. 2024-07-09 14:57:49 092
refund_transact_timeinteger<int64>Refund order last update time in 13-digit Unix timestamp format
e.g. 1720508269092, i.e. 2024-07-09 14:57:49 092
actual_refund_amountstringActual refund amount after miner fees are deducted.
typeintegerenum: 1, 2Refund type
- 1partial refund
- 2full refund
order_detailsshopping_costnumberOrder shipping cost.
tax_costnumberOrder tax cost.
itemsarrayDetails of the items purchased in the order.
Array items
item_idstringUnique item ID.
item_namestringItem name.
item_pricenumberItem price.
price_currencystringItem currency.
item_quantityinteger<int64>Item quantity.
settlement_statusstringenum: "unsettled", "settling", "settled"Settlement status:
- unsettledsettlement not processed yet
- settlingsettlement processing
- settledsettlement completed
settlement_typestringenum: "system", "manual"Settlement type
- systemautomatic settlement
- manualmanual settlement
sub_merchantsub_merchant_idstringUnique sub-merchant ID.
sub_merchant_namestringSub-merchant name.