3. Get payout details by Order ID
/payout/withdraw/order/{order_id}Get the details of the payout (including current status etc) using your own order ID you provided in the initial request.
Path Parameters
The merchant system’s unique order id
Response
Success
Your system unique order id. You will get this in the notification webhook data, if you insert your unique order_id in the request body during the payout creation.
Unique payout reference number
The type of payout:
-
refund- A partial or complete refund of a prior successful payment. -
withdraw- A withdrawal of the merchant’s accumulated USD balance in cryptocurrency.
Account type the funds are drawn from: local - Funds are drawn
from a local currency account
Type of conversion the funds underwent:
-
local-local- Funds are drawn from a local currency account and paid out as local currency. -
local-crypto- Funds are drawn from a local currency account and paid out as cryptocurrency.
This indicates the type of wallet the payout goes to, either a Binance wallet or other onchain-wallet.
The local currency equivalent of the payout. This should be a 3-character ISO 4217 currency code. Please ignore if the payout is in cryptocurrency.
The local currency amount to be paid out. Please ignore if the payout is in cryptocurrency.
Cryptocurrency that will be paid out. Please ignore if the payout is in local currency.
Amount of cryptocurrency to be paid out if the payout is in cryptocurrency.
Amount of cryptocurrency representing the network fee. This is denominated in crypto_currency.
The fiat amount representing the network fee. This is denominated in local_currency.
Amount of cryptocurrency after deduction of the network_fee_crypto_amount.
Address that recipient will receive the payout at.
This could either be a unique wallet address hash or Binance ID, depending on the field - payout_destination_type.
The exchange rate that will be used to exchange local currency to cryptocurrency or vice-versa.
The current status of the payout:
-
new- The payout has just been created, but the recipient has not entered in their receiving crypto address and the exchange rate has not been fixed. -
confirm- The recipient has confirmed their receiving crypto address and the exchange rate has been fixed. -
done- The crypto payout has been broadcasted to the blockchain and successfully paid out to the recipient. -
cancel- The crypto payout has been cancelled.
Date and time the status was updated
Name of the merchant
Remarks for the payout
The URL to send the webhook notification. The webhook URL given in your account setup will be used if this is not provided. For testing you can use webhook.site
The shared secret that will be used to sign the notification. This secret can be at most 64 characters long. If this is not provided in the payment request, the system will create a random secret just for that payment.
Not authorized
unauthorized- refers to no access token is used for authentication.Invalid token: access token is invalid- refers to the invalid or incorrect access token used.
No permission to view details of this payout
no_permission - refers to when trying to confirm, cancel or refresh the payout that has been confirmed or cancelled. Or access token has expired.
Payout Details not found
not_found - refers to trying to obtain a payout using the incorrect “order_id” or “payout_reference”.