Order
get/order

Request

Query parameters

order_idstring string

Order id

Headers

X-API-Key-IDstring required

32-character Base58 credential ID returned after public-key registration.

X-API-Timestampstring required

Unix timestamp in seconds; tolerance is ±300 seconds.

X-API-Noncestring required

16 cryptographically random bytes encoded as unpadded Base64URL; fresh on every attempt.

Digeststring required

SHA-256= followed by standard padded Base64 of SHA-256 of exact request body bytes. Required even for an empty body; included in the signing string.

Authorizationstring required

Use Ed25519 signature="BASE64_SIGNATURE", where BASE64_SIGNATURE is the standard padded Base64 signature. See /docs/en/4-authorization for the exact signing string.

Response

merchant_idstring string
request_idstring string
order_idstring string
client_referencestring string
order_descstring string
order_currencystring string
order_amountGithubComShopspringDecimalDecimal
order_amount_usdGithubComShopspringDecimalDecimal
amount_confirmingGithubComShopspringDecimalDecimal
amount_confirmedGithubComShopspringDecimalDecimal
amount_confirming_usdGithubComShopspringDecimalDecimal
amount_confirmed_usdGithubComShopspringDecimalDecimal
discount_amountGithubComShopspringDecimalDecimal
statusstring string
created_atinteger
updated_atinteger
expires_atinteger
exception_tagstring[]
success_urlstring string
failure_urlstring string
available_pay_methodinteger[]
modeinteger

订单模式: 0=普通订单, 1=订阅订单

emailstring string

Payer email

kyc_requiredboolean

Whether login and approved Infini KYC are required before a buyer can create a payment for this order

Changes

    • breaking

      added the new required header request parameter Digest

    • breaking

      added the new required header request parameter X-API-Key-ID

    • breaking

      added the new required header request parameter X-API-Nonce

    • breaking

      added the new required header request parameter X-API-Timestamp

    • breaking

      the header request parameter Authorization became required

    • warning

      deleted the header request parameter Date

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status