cURL
curl --request GET \ --url https://api.payviox.com/balance \ --header 'Authorization: Bearer <token>'
{ "balance": 1500000, "payout_balance": 500000 }
Retrieve your business balance
1500000
Authorization: Bearer sk_live_xxxxxxxxxxxx
curl https://api.payviox.com/balance \ -H "Authorization: Bearer sk_live_xxxxxxxxxxxx"
{ "error": "Unauthorized" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Balance retrieved successfully
Current business balance in cents (e.g., 1500000 = $15,000.00)
Current payout balance in cents (e.g., 500000 = $5,000.00)