π³ Merchant Endpoints
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.
π Endpoints
π° 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
π List Payouts
GET /api/v1/external/merchants/payouts
Returns a paginated list of all payouts.
π§Ύ Query Parameters (optional)
Parameter
Type
Description
status
string
Filter by payout status
start_date
string
ISO 8601 format start date
end_date
string
ISO 8601 format end date
skip
int
Number of items to skip
limit
int
Number of items to return
β Response
βοΈ Create a Payout
POST /api/v1/external/merchants/payouts
Creates a new payout request to a recipient.
π¦ Request Body
β Success Response
β Error Response
π Need Help?
If you have questions or want to request access, please contact our support team.
π Π₯ΠΎΡΠ΅ΡΡ, Ρ ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²Π»Ρ Markdown-ΡΠ°ΠΉΠ»Ρ Π² ΡΡΡΡΠΊΡΡΡΠ΅ /docs/api Π΄Π»Ρ GitBook ΠΈΠ»ΠΈ GitHub Pages?
Last updated