Skip to main content
The Balance API provides access to your account balance information.
Your developer account must be associated with a user account to access balance information. You can associate your account in the developer dashboard.

Get Balance

Get your account balance breakdown (available, pending, and escrow balances).

Example Request

curl -X GET https://dhmad.tn/api/v1/balance \
  -H "Authorization: Bearer sk_live_your_api_key_here" \
  -H "Content-Type: application/json"

Example Response

{
  "balance": {
    "available": 1500.50,
    "pending": 200.00,
    "escrow": 500.25
  }
}

Balance Types

Available Balance

Funds available for immediate use (withdrawals, new escrows, etc.)

Pending Balance

Funds pending processing (top-ups, payouts in progress)

Escrow Balance

Funds held in active escrow transactions

The balance returned is for the user account associated with your developer account. Make sure your developer account is properly associated before using this endpoint.