Payment-Gateway-OpenApi
  1. Obsolete (已废弃)
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. Obsolete (已废弃)

Create Order

Deprecated
POST
/merchant-api/crypto-order

Request

Header Params

Body Params application/json

Example
{
    "signature": "string",
    "data": {
        "merchantId": "string",
        "merchantOrderId": "string",
        "amount": 0,
        "coinId": "string",
        "country": "string",
        "notifyUrl": "string",
        "redirectUrl": "string",
        "timestamp": "string",
        "nonce": "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.com/merchant-api/crypto-order' \
--header 'X-App-Key: {{merchant-app-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "signature": "string",
    "data": {
        "merchantId": "string",
        "merchantOrderId": "string",
        "amount": 0,
        "coinId": "string",
        "country": "string",
        "notifyUrl": "string",
        "redirectUrl": "string",
        "timestamp": "string",
        "nonce": "string"
    }
}'

Responses

🟢200OK
*/*
OK
Body

Example
{
    "code": 0,
    "data": {
        "orderId": "string",
        "cashierUrl": "string",
        "order": {
            "orderId": "string",
            "tradeType": 0,
            "orderStatus": 0,
            "coinId": "string",
            "amount": "string",
            "address": "string",
            "txHashList": "string",
            "txHash": [
                "string"
            ],
            "paidAmount": "string",
            "refundAmount": "string",
            "payStatus": 0,
            "expireTime": 0,
            "createTime": 0,
            "closedTime": 0,
            "refundTime": 0,
            "merchantId": "string",
            "merchantBrandName": "string",
            "merchantOrderNumber": "string",
            "merchantAppId": 0,
            "merchantAppName": "string",
            "notifyUrl": "string",
            "redirectUrl": "string"
        }
    },
    "msg": "string"
}
Modified at 2026-02-05 01:10:24
Previous
Create Pelago Order
Next
Create Order
Built with