Welcome to the External Merchant API.
Use this documentation to securely interact with your merchant account, manage balances, and create payouts.
🔐 Authentication
All requests must include an API key in the headers:
X-API-Key: your_api_key
⚠️ If the API key is restricted by IP addresses, requests will only be accepted from those IPs.
💰 Get Merchant Balance
GET /api/v1/external/merchants/balance
Retrieve the current balance of the merchant across all currencies.
✅ Response
{
"balances": [
{
"currency_code": "USDT",
"amount": 1000.50,
"symbol": "$",
"is_primary": true
}
],
"primary_currency": {
"code": "USDT",
"symbol": "$",
"name": "Tether USD"
}
}
📊 Get Payout Counts by Status
GET /api/v1/external/merchants/payouts/count-by-status
Returns the number of payouts grouped by their status.
✅ Response
🔎 Get Payout Details
GET /api/v1/external/merchants/payouts/{payout_id}
Get full details of a specific payout by its ID.
✅ Response
GET /api/v1/external/merchants/payouts
Returns a paginated list of all payouts.
🧾 Query Parameters (optional)
✅ Response
✏️ Create a Payout
POST /api/v1/external/merchants/payouts
Creates a new payout request to a recipient.
📦 Request Body
✅ Success Response
❌ Error Response
If you have questions or want to request access, please contact our support team.
📁 Хочешь, я подготовлю Markdown-файлы в структуре /docs/api для GitBook или GitHub Pages?
Last updated