Description: Use this API to check your payout wallet balance using your MID and Auth Key.
https://stanzape.com/api/uat/payout/wallet/balance/
Content-Type: application/json
"X-Signature: " . base64_encode(hash_hmac('sha256', $json_body, $shared_secret, true))
| Language | Core Logic |
|---|---|
| Node.js | crypto.createHmac('sha256', key).update(message).digest('base64') |
| Python | base64.b64encode(hmac.new(key, msg, hashlib.sha256).digest()).decode() |
| Java | Base64.getEncoder().encodeToString(mac.doFinal(message.getBytes())) |
| PHP | base64_encode(hash_hmac('sha256', $message, $key, true)) |
{
"authkey": "XXXXXXXXXXXXXXstanzakey",
"mid": "XXXXXX02",
"requesttype": "check_balance"
}
{
"status": "STANZA001",
"message": "Balance fetched successfully",
"mid": "XXXXXX02",
"balance": 75893.50,
"currency": "INR",
"timestamp": "2025-07-24T18:45:12+05:30"
}
{
"status": "STANZA002",
"message": "Invalid MID or authentication failed"
}