Create Collection order

POST /api/v1/payin/order

Request header parameters description

Name
Type
Required
Description

x-api-key

string

yes

appkey【Please go to the merchant backend to obtain】

x-api-uid

string

yes

Unique identification of platform user

x-api-nonce

string

yes

random string

x-api-timestamp

int(10)

yes

Unix Timestamp

x-api-signature

string

yes

Signature Hash value

(POST)Request parameters

Field Name
Type
Required
Description

out_trade_no

string

yes

Merchant order number

quantity

number

yes

Number of transactions assets is INR typequantity Must be greater than 100

notify_url

string

yes

Asynchronous notification address requires urlencode

redirect_url

string

no

Callback address requires urlencode

assets

string)

no

Transaction type TRC20-USDT, INR, BRL, default TRC20-USDT

Response example

{
    "code": 0,
    "msg": "successful",
    "data": {
        "sys_trade_no": "d980b4df01717b1717457f9e88dd0881",// System order number
        "out_trade_no": "135dfacf5200bb52da53e5c512c1f229",// Merchant order number
        "assets": "TRC20-USDT",// Assets type
        "quantity": 10,// Quantity of assets 
        "exc_rate": 1,// Assets exchange rate      
        "usdt_quantity":10.06,// Quantity of USDT 
        "oringin_usdt_quantity":10.06,// USDT quantity
        "status": 1,// Order status
        "to": "TEckS8447unk3nTUfBdMTVy1SxzdtmEPa8",// Receiving address
        "payment_url": "https://cashier.upay.mobi?s=71be5eb0d5f8d398da5b129d9ce68194",// Payment page
        "create_time": 1697797514,// Creation time
        "expire_time": 1697799314// Expiration time

    }
}

Last updated