Wallets & Credits
List Credit Grants
Retrieve a list of credit grants with optional filtering by scope, plan, or subscription.
GET
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/flexprice/flexprice/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
Filter by scopeValues:
PLAN, SUBSCRIPTIONFilter by plan ID (only returns PLAN-scoped grants)
Filter by subscription ID (only returns SUBSCRIPTION-scoped grants)
Filter by cadenceValues:
ONETIME, RECURRINGFilter by expiration typeValues:
NEVER, DURATION, BILLING_CYCLENumber of credit grants to return per page (max 100)
Number of credit grants to skip for pagination
Field to sort byValues:
created_at, updated_at, name, creditsSort orderValues:
asc, descResponse
Array of credit grant objects
Total number of credit grants matching the filter criteria
Number of credit grants returned per page
Number of credit grants skipped
Common Filtering Patterns
View All Credits for a Customer
View All Credits for a Customer
To see all credits available to a customer, you need to query both:
- Plan-scoped grants for any active subscriptions
- Subscription-scoped grants for their specific subscriptions
Audit Recurring Credits
Audit Recurring Credits
List all recurring credit grants to understand ongoing commitments:
Find Expiring Credits
Find Expiring Credits
While the list endpoint doesn’t directly filter by expiration date, you can:
- List all grants with
expiration_type=DURATION - Filter by application date ranges in your application logic
- Use the credit grant applications endpoint for scheduled credits