Balance API
Check your account balance and transaction history with the Notch Pay API
Balance API
The Balance API allows you to check your account balance and view transaction history. This is useful for monitoring your available funds and reconciling transactions.
The Balance Object
Balance Object Properties
Available balance by currency that can be used for transfers
Pending balance by currency that is not yet available for use
API Endpoints
Check Balance for a Specific Currency
Retrieve your current account balance for a specific currency.
Path Parameters
Three-letter ISO currency code (e.g., XAF, NGN, USD)
List Balance History
Retrieve a list of balance changes with pagination.
Query Parameters
Number of items per page (default: 30, max: 100)
Page number (default: 1)
Filter by currency code
Filter by transaction type: payment
, transfer
, refund
, adjustment
Start date filter (format: YYYY-MM-DD)
End date filter (format: YYYY-MM-DD)
Retrieve a list of balance changes with pagination.
Query Parameters
Number of items per page (default: 30, max: 100)
Page number (default: 1)
Filter by currency code
Filter by transaction type: payment
, transfer
, refund
, adjustment
Start date filter (format: YYYY-MM-DD)
End date filter (format: YYYY-MM-DD)
Transaction Types
payment
Incoming payment from a customer
transfer
Outgoing transfer to a beneficiary
refund
Refund of a payment
adjustment
Manual adjustment to your balance
Best Practices
Regular Reconciliation
Regularly check your balance history and reconcile it with your internal records to ensure accuracy.
Use the transaction references to match transactions with your system.
Monitor Available Balance
Before initiating transfers, check your available balance to ensure you have sufficient funds.
Remember that pending funds are not available for transfers.
Secure Your Private Key
Keep your private key (X-Grant
) secure as it provides access to sensitive balance information and transfer capabilities.
Never share your private key in client-side code or public repositories.
Use Webhooks for Updates
Set up webhooks to receive real-time notifications about balance changes instead of polling the balance API.
This provides more timely updates and reduces API calls.