Skip to main content

APIs Withdraw

I. Create withdraw command

POST /v1/api/order/create

HTTP Body Request

AttributeMandatoryData TypeDescription
requestId✔️StringMerchant's identifying request string
requestTime✔️LongTime of sending request. Miliseconds
requestType✔️StringIdentify request type. Value: createOrder
orderId✔️StringMerchant's order ID
accountId✔️StringCustomer's ID of merchant
amount✔️DoubleWithdraw amount in USDT as default
type✔️StringCommand code. Value withdraw
networkStringNetwork: Current supported value BSC (default)
redirectUrlStringURL is structured by partner. FastPay uses this URL to navigate from FastPay's website to partner's buying page after customer finishes payment processing. View detail
ipnUrlStringURL is structured by partner. FastPay uses this URL to notify to merchant's server when order process. View detail
signature✔️StringChecksum signature. View detail

Request Example:

{
"requestId": 1721731450216,
"requestType": "createOrder",
"requestTime": 1721731450216,
"orderId": 1721731450216,
"accountId": "1",
"network": "BSC",
"type": "withdraw",
"redirectUrl": "https://sandbox-cp.wisgroup.io/exchange/step3",
"amount": 0.2,
"signature": "376de71fca57d35d4dfeec12941afc626700a304e32a1e0e9f18d8e0ada076f804669840cb08ed2a8585c09a75bb9725d85b6f254bbbd7cfe09fa87cca554974"
}

HTTP Body Response of Json 'detail'

View Order Response Object for detail

II. Proceed withdraw

User input wallet address and proceed to withdraw money

III. Processing withdrawal result

After customer finishes withdrawing, we will notify withdrawal result with body as below through two methods: Redirect and IPN.

Consult deposit command to view detail