JSON
HTTP Status
200 OK
{
"balance": 234,
"redeemed": 123
}
This endpoint returns the total balance and redeemed for a recipient.
This endpoint returns all the balance batches for a recipient.
When a balance is added for a recipient, it is added as a single batch. Whereas the endpoint above just provides the sum of the batches, this endpoint provides the batches individually.
Prefix the balance field with + to increase/add, - to decrease, or nothing to set.
Setting will increment or decrement as necessary to match this value.
The optional batch_id field is used when decrementing the balance, allowing to specify a specific batch to remove balance from.
The expiry and message fields are optional and are used when adding points, or when setting would add a new batch.