πŸ’³ 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