Querying Credit
Check account balance
You can use the /me endpoint to check your account balance, and what currency your account is set to.
API Call
GET /v2/balance
Request, Response and Status
Response JSON Object
- credit (float) – The remaining credit.
- account id (integer) – The id of your account.
Status Codes
- 200 OK – Returns a dict with an array containing information on your account.
- 401 Unauthorized – Ie. invalid API key or signature
- 403 Forbidden – Ie. unauthorized ip address
- 500 Internal Server Error – If the request can’t be processed due to an exception. The exception details is returned in the JSON body
Response example
HTTP/1.1 200 OK
Content-Type: application/json
{
"credit": 7,
"id": 1
}
Need more Credit?
Call our sales team or email us.