Was this helpful?
Retrieve extension's balance by it's unique ID.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
GET /api/users/{id}/balance HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
{ "balance": 1 }
Update extension's balance
User balance. Precision is five digits.
POST /api/users/{id}/balance HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 13 { "balance": 1 }
No Content