1. Cryptocurrency settlement via Link
/payout/withdraw/local/cryptoInitiate a cryptocurrency settlement from a local currency account.
Note: by default, your accumulated balance will be settled automatically to your bank account in your preferred local currency once a threshold is reached.
Body application/json
Unique key that identifies a merchant
Email address of the settlement recipient
The currency to be withdrawn. This should be a 3-character ISO 4217 currency code
Amount of the local currency to be withdrawn and converted into cryptocurrency
Cryptocurrency that will be withdrawn
Remarks for the settlement
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.
Response
Success
Unique payout reference number
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/settlement creation.
The type of payout:
-
refund- A partial or complete refund of a prior successful payment. -
withdraw- A settlement 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.
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 settlement is in cryptocurrency.
Amount of cryptocurrency representing the network fee. This is denominated in crypto_currency.
Amount of cryptocurrency after deduction of the network_fee_crypto_amount.
Address that recipient will receive the payout at.
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 broadcast to the blockchain. -
cancel- The crypto payout has been cancelled. -
pending_authorization- The crypto payout is pending for authorization.
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
No permission to initiate this settlement
Merchant to withdraw from not found
Settlement Processing Error - The settlement cannot be processed
Validation Error - There are 1 or more errors in the request body
Main error message