CreateCheckoutOrder Developing
Run in Apifox
Create a payment order: This interface is automatically called after opening the W Checkout payment page. Generally, there is no need to integrate this interface separately.
Request Body Params application/json
{
"orderNo" : "1759988038609" ,
"orderAmount" : 0.5 ,
"customerId" : "6" ,
"merchantId" : "1" ,
"token" : "ETH_USDT" ,
"fiat" : "USD" ,
"expiredIn" : 2000
} Request Code Samples
curl --location --request POST '/checkout/order/create' \
--header 'X-Forwarded-For: 122.51.210.205' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderNo": "1759988038609",
"orderAmount": 0.5,
"customerId": "6",
"merchantId": "1",
"token": "ETH_USDT",
"fiat": "USD",
"expiredIn": 2000
}' Responses application/json Generate Code
{
"retcode" : "200" ,
"retdata" : {
"sysid" : "xxxxxx" ,
"orderNo" : "oxxxxxxxx" ,
"payingAmount" : 688.09 ,
"token" : "ETH_USDT" ,
"coinAddress" : "0xdac17f958d2ee523a2206206994597c13d831ec7" ,
"exchangeRate" : 1.01 ,
"depositAddress" : "0x2ea755250f9620a6c66b0cd0d41740e3eaec1765" ,
"paymentUrl" : "https://www.checkout.app/pay/xxxxxxxxxxxxxxxxxx" ,
"expiredIn" : 2345 ,
"customerId" : "c1234445544" ,
"merchantId" : "m0099e34345"
} ,
"retmsg" : ""
} Modified at 2026-01-20 03:13:28