Payment Operations
Get Plan Balance
Checks the current usage balance for a given plan.
GET
Get Plan Balance
Checks the current usage balance for a given plan, scoped to the authenticated subscriber or a specific address.
Example Usage
Parameters
- planId: The ID of the payment plan to check balance for
- userAddress (optional): Check balance for a specific user address instead of the authenticated user
Returns
Notes
- If isSubscriber is false, the user has no active credits
- Balance may be time-based or credit-based depending on plan type
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the plan.
Get Plan Balance