Payment-Gateway-OpenApi
  1. Crypto Collection
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 Collection

Order Notify

POST
xxxx

Request

Header Params

Body Params application/json

Example
{
    "signature": "string",
    "data": {
        "merchantId": "string",
        "merchantOrderId": "string",
        "orderId": "string",
        "tradeType": 0,
        "orderStatus": 0,
        "coinId": "string",
        "amount": "string",
        "address": "string",
        "paidAmount": "string",
        "refundAmount": "string",
        "payStatus": 0,
        "createTime": 0,
        "closedTime": 0,
        "refundTime": 0,
        "notifyUrl": "string",
        "redirectUrl": "string"
    }
}

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 POST 'https://api.pelagotech.comxxxx' \
--header 'X-App-Key: {{merchant-app-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "signature": "string",
    "data": {
        "merchantId": "string",
        "merchantOrderId": "string",
        "orderId": "string",
        "tradeType": 0,
        "orderStatus": 0,
        "coinId": "string",
        "amount": "string",
        "address": "string",
        "paidAmount": "string",
        "refundAmount": "string",
        "payStatus": 0,
        "createTime": 0,
        "closedTime": 0,
        "refundTime": 0,
        "notifyUrl": "string",
        "redirectUrl": "string"
    }
}'

Responses

🟢200OK
*/*
OK
Body

Example
{
    "code": 0,
    "data": {
        "orderId": 0,
        "cashierUrl": "string",
        "order": {
            "orderId": 0,
            "tradeType": 0,
            "orderStatus": 0,
            "coinId": "string",
            "amount": 0,
            "address": "string",
            "txHashList": "string",
            "txHash": [
                "string"
            ],
            "paidAmount": 0,
            "refundAmount": 0,
            "payStatus": 0,
            "expireTime": "2019-08-24T14:15:22.123Z",
            "createTime": "2019-08-24T14:15:22.123Z",
            "closedTime": "2019-08-24T14:15:22.123Z",
            "refundTime": "2019-08-24T14:15:22.123Z",
            "merchantId": 0,
            "merchantOrderId": "string",
            "merchantAppId": 0,
            "merchantAppName": "string",
            "notifyUrl": "string",
            "redirectUrl": "string"
        }
    },
    "msg": "string"
}
Modified at 2025-08-27 03:00:34
Previous
Overview
Next
Refund
Built with