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.
All Balance API endpoints require the
X-Grant
header for additional security. See the Authentication documentation for more details.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
This endpoint requires the
X-Grant
header in addition to your API key.Example Request
List Balance History
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.