快速开始
curl https://api.xpay.com/v1/order/usdt/create
-d ak='xxxxxxxxxxxx'
-d sk='yyyyyyyyyyyy'
-d atype='trc20'
-d amount='123'
-d signature='3b270d603b26c1c9d9d42be3762d8ae8' // require the xpay module and set it up with your API key
const ak = 'xxxxxxxxxxxx';
const sk = 'yyyyyyyyyyyy';
const xpay = require('xpay')(ak, sk);
const newOrderForUsdt = away xpay.usdt.create({
order_id: '202305121552390013',
atype: 'trc20',
amount: '123',
})// Set your API key before making the request
xpay.api_ak = 'xxxxxxxxxxxx'
xpay.api_sk = 'yyyyyyyyyyyy'
xpay.usdt.create(
order_id='202305121552390013',
atype='trc20',
amount='123',
)其中 ak, sk 在创建应用之后由系统自动生成:
创建应用Last updated