Payment-Gateway-OpenApi
  1. Crypto For X402
Payment-Gateway-OpenApi
  • Getting Started
  • Fiat Collection
    • Overview
    • Pelago Direct Mode
      • Direct Mode Introduction
      • Get Rate
      • Order Notify
  • Crypto Collection
    • Overview
    • Order Notify
      POST
    • Refund
      POST
    • Withdraw
      POST
    • Payout
      POST
  • Common Collection
    • Check Order Info
      POST
  • Crypto For X402
    • Retrieve Supported Payment Methods
      GET
    • Create or Confirm Order
      POST
    • Query Order Status
      GET
  • Obsolete (已废弃)
    • Pelago Cashier Mode
      • Cashier Mode Introduction
      • Create Pelago Order
    • Create Order
      POST
    • Create Order
      POST
    • Get Product
      POST
    • Get Order Info
      POST
  • Create Order (统一下单接口)
    POST
  • Order Query
    GET
  1. Crypto For X402

Query Order Status

GET
/openapi/crypto/x402/order/{orderId}
Retrieves the status of a payment order by paymentId.

Request

Authorization
API Key
Add parameter in header
Merchant-App-Key
Example:
Merchant-App-Key: ********************
or
Path Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.pelagotech.com/openapi/crypto/x402/order/' \
--header 'Merchant-App-Key: <api-key>'

Responses

🟢200成功
application/json
Order status
Body

Example
{
    "orderId": "string",
    "message": "string",
    "orderStatus": "string",
    "payStatus": "string",
    "paidAmount": "string",
    "transactionFee": "string",
    "gasFee": "string",
    "txHash": "string"
}
🟠404记录不存在
Modified at 2025-10-27 02:30:23
Previous
Create or Confirm Order
Next
Cashier Mode Introduction
Built with