Skip to main content

Get Balance

POST https://{pg_api_url}/v3/fundtransfer/getbalance
Content-Type: application/x-www-form-urlencoded

Request parameters

api_keystring (36)required
hashstring (255)required

Response

{ "data": { "balance": "20.00" } }

If the hash check fails:

{ "error": { "code": 1023, "message": "Hash Mismatch" } }
tip

Call this before initiating a fund transfer for amounts close to your available balance. The Fund Transfer API will fail anyway if balance is insufficient, but checking up-front gives you a chance to top up gracefully.