Get the balance of a wallet
Requires the WALLET.VIEW permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
resourceIdOrReference
The ID or reference of the resource.
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
balance_at
The date of the balance determination. Default is now().
include_customer_details
Include the per-customer breakdown of the reserved balance. Default is false.
Response
OK
balance
reserved_balance
open_balance
balance_at
over_granted
The part of this balance the periods behind it were not entitled to.
customer_details
The reserved balance split over the customers whose usage produced it, requested with include_customer_details. Stored when an invoice is built/ refreshed.
Errors
401
Unauthorized Error
403
Forbidden Error