Skip to Content
Developers
Billing

Your balance and what is open on your statements

Needs the billing:read scope. About scopes

Try it with a test key

Sends to https://api.traki.io

Test keys only. The key stays in this page while it is open and is never saved.

/v1/buyer/billing

Authorization

key
headerAuthorizationBearer <traki_buyer_…>

Response Body

Success

application/json
  1. response
currency*string
funding*
openStatements*
Example Request
curl 'https://api.traki.io/v1/buyer/billing' \  -H "Authorization: Bearer $TRAKI_KEY"
Example Response
{  "currency": "string",  "funding": {    "mode": "string",    "balance": 0,    "minimum": 0,    "rechargeTo": 0  },  "openStatements": {    "count": -9007199254740991,    "amount": 0  }}