Generate Payout
This endpoint enables you to generate a cryptocurrency payout request, allowing you to transfer funds to a specified address. It is designed to facilitate seamless and secure transactions by generating a payout request within your account.
Your Payout API Key for authentication and authorization.
application/json
The recipient's cryptocurrency address where the payout will be sent.
The symbol of the cryptocurrency to be sent (e.g., BTC, ETH, LTC, etc.).
The exact amount of cryptocurrency to be sent as the payout.
The blockchain network to be used for the payout. Required for currencies with multi supported networks.
The URL for sending payment status updates.
A memo or tag for transactions on supported networks (e.g., for TON).
A description or additional information for the payout, useful for reports.
Successful operation
Bad request
import requests
import json
url = 'https://api.oxapay.com/v1/payout'
data = {
"address": "RECEIVER_ADDRESS",
"amount": 5,
"currency": "TRX",
"network": "TRC20",
"callback_url": "https://example.com/callback",
"memo": "Memo12345",
"description": "Order #12345"
}
headers = {
'payout_api_key': 'YOUR_PAYOUT_API_KEY',
'Content-Type': 'application/json'
}
response = requests.post(url, data=json.dumps(data), headers=headers)
result = response.json()
print(result)
{
"data": {
"track_id": "258298451",
"status": "processing"
},
"message": "Operation completed successfully!",
"error": {},
"status": 200,
"version": "1.0.0"
}
Last updated