Subscriptions
List credits given to a subscriber
Every credit given for this subscription, newest first, and what is left unspent. balanceMinor is the customer's whole unspent credit with you, which may include credit given for another of their subscriptions. createdBy is the id of the person who gave it. currency is the subscription's, and every minor-unit figure on the page is counted in it. Owner or admin, signed-in session only: an API key is refused here, same as on the grant.
get/gateway/subscriptions/{id}/credits
Request
- Base URL: https://api.agentaos.ai/api/v1
- URL: https://api.agentaos.ai/api/v1/gateway/subscriptions/{id}/credits
- Auth: SessionAuth (a scheme the document does not define)
Path parameters
idstring uuid required
Subscription UUID (the id field from the list response, not stripeSubscriptionId).
Response
The credits given for this subscription.
Changes
No recorded changes to this operation across all 1 revision of this API.