API对接-PayApi

Request URL

· /api/pay/index

Request Method

· POST / GET

Parameter

parameter name

required

type

illustrate

money

Y

string

usdt

order_sn

N

string

订单号(不填写系统就默认生成)

Back Example(接口回调)

{
 
    "code": 1,
    "msg": "success",
    "time": "1661304497",
    "data": {
        "address": "TLtbzxESi27Rcfck3FVCYgjXU7Y5vHThmQ",
        "order_sn": "2022082426973508",
        "money": "3",
        "endtime": 1661305397
    }
}

支付成功回调数据格式:

{
        "address": "TLtbzxESi27Rcfck3FVCYgjXU7Y5vHThmQ",
        "order_sn": "2022082426973508",
        "money": "3",
        "paytype": "success"
}

Return parameter description

parameter name

type

illustrate

endtime

int

expiration timestamp

address

string

wallet address

order_sn

string

orderid

money

float

usdt

Last updated