Payment-Gateway-OpenApi
  1. Pelago Direct Mode
Payment-Gateway-OpenApi
  • Getting Started
  • Fiat Collection
    • Overview
    • Pelago Cashier Mode
      • Cashier Mode Introduction
      • Create Pelago Order
    • Pelago Direct Mode
      • Direct Mode Introduction
      • Get Rate
        POST
      • Get Product
        POST
      • Create Order
        POST
      • Get Order Info
        POST
      • Order Notify
        POST
  • Crypto Collection
    • Overview
    • Create Order
      POST
    • Refund
      POST
    • Withdraw
      POST
  • Common Collection
    • Check Order Info
      POST
  1. Pelago Direct Mode

Get Order Info

POST
/openapi/fiat/getOrderInfo

Request

Authorization
Header Params
X-App-Key
string 
required
Example:
{{merchant-app-key}}
Body Params application/json
data
object 
required
pelagoOrderId
string 
required
signature
string 
required
Example
{
    "data": {
        "pelagoOrderId": "string"
    },
    "signature": "string"
}

Request 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 'http://prod-cn.your-api-server.com/openapi/fiat/getOrderInfo' \
--header 'X-App-Key: {{merchant-app-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "data": {
        "pelagoOrderId": "string"
    },
    "signature": "string"
}'

Responses

🟢200OK
*/*
OK
Body
code
string 
required
data
object 
required
scenarioCode
string 
required
pelagoOrderId
string 
required
merchantOrderId
string 
required
orderAmount
number 
required
orderCurrency
string 
required
orderCountry
string 
required
orderStatus
integer 
required
0-CREATE;1-PENDING;2-SUCCESS;3-TIMEOUT;4-FAILED
expireTime
string 
required
paymentUrl
string 
required
failedReason
string 
optional
msg
string 
required
Example
{
    "code": "string",
    "data": {
        "scenarioCode": "string",
        "pelagoOrderId": "string",
        "merchantOrderId": "string",
        "orderAmount": 0,
        "orderCurrency": "string",
        "orderCountry": "string",
        "orderStatus": 0,
        "expireTime": "string",
        "paymentUrl": "string",
        "failedReason": "string"
    },
    "msg": "string"
}
Modified at 2025-05-26 08:47:23
Previous
Create Order
Next
Order Notify
Built with