Order Detail

URL

GET: https://api.echooo.xyz/service-pay/sellerApi/orderDetail

HEADER

Open API

Request Field

ParameterTypeMandatoryRemark

outerOrderId

String

Yes

External order number. Limited 8~32 characters, including letters and numbers, case-sensitive.

Special characters are not allowed.

Response Example

ParameterTypeRemark

chain

object

Chain

name

string

Chain Name

chainId

string

Chain ID

icon

string

Chain Icon

orderId

string

Order ID

outerOrderId

string

Merchant Order ID

originCurrency

string

Fiat currency

originCurrencyAmount

string

Fiat currency amount

payCurrency

string

Payment currency

payCurrencyAmount

string

Payment currency amount

payStatus

string

Order Status

gmtPayStart

string

Payment start time

gmtPayFinish

string

Payment end time

incomeToken

object

Income token

totalIncomeTokenAmount

string

Total income token amount

actualIncomeTokenAmount

string

Actual income token amount

incomeFeeTokenAmount

string

Income Tx fee token amount

CURL Example

curl --location 'https://api.echooo.xyz/service-pay/sellerApi/orderDetail?outerOrder=2024013099986729480675' \
--header 'appKey: secret_key123' \
--header 'timestamp: 1704643200000' \
--header 'signToken: sign123'

Response Example

{
  "code": "0",
  "message": "success",
  "data": {
    "chain": {
      "name": "cillum proident",
      "chainId": "1",
      "icon": "http://123.com"
    },
    "orderId": "2023010131231",
    "outerOrderId": "23415329",
    "originCurrencyAmount": "1",
    "originCurrency": "1",
    "payCurrencyAmount": "1",
    "payCurrency": "1",
    "payStatus": "1",
    "gmtPayFinish": "1",
    "gmtPayStart": "1",
    "totalIncomeTokenAmount": "1",
    "incomeToken": {
      "name": "L",
      "icon": "http://123.com",
      "code": "1",
      "address": "0x1231akjfkashk123",
      "coingeckoId": "usdc"
    },
    "actualIncomeTokenAmount": "1000000",
    "incomeFeeTokenAmount": "1000"
  }
}

Last updated