Create sell order
Check rate details
Contact AllyPay for the API url
POST https://sample-api.ally-pay.com/api/order/sell
Request Body
Body Parameter
Date
Must Include
description
amount
integer/float
false
order amount in selected currency, pass either amount or quantity
clientName
string
true
client name
currency
string
true
vnd/thb
orderId
string
true
order ID in merchant platform
phoneNumber
string
false
Client phone number
quantity
integer/float
false
Order quantity in USDT, pass either amount or quantity
payInfo
string Pattern: name:xxx, bank:xxx, branch:xxx, card:xxx
true
Account information for receiving payment
Response
Response Parameter
Date
Must Include
description
orderTime
string
true
Timestamp of trade creation
tradeId
string
true
Trade ID generated by the system
{
"orderTime": "2024-06-24 14:15:00",
"tradeId": "7RYMQoWrL64Snn4it5GaJJpK"
}Last updated