Ziwako Docs
Ziwako AI (Mayele)Référence APIBillings

Get ballance

GET
/billing/balance

Authorization

AccessToken
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://example.com/billing/balance"
{  "success": true,  "data": {    "userId": "string",    "balance": 0,    "totalCredited": 0,    "totalSpentChat": 0,    "totalSpentWorkflow": 0,    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "totalSpentGeneration": 0  }}