Was this helpful?
Retrieve extension's balance by it's unique ID.
/users/{id}/balance
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
curl -L \ --url 'https://HOSTNAME:8887/api/users/{id}/balance' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "balance": 1 }
Update extension's balance
User balance. Precision is five digits.
curl -L \ --request POST \ --url 'https://HOSTNAME:8887/api/users/{id}/balance' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json'
No body