Credits and commits
List commits
Retrieve all commit agreements for a customer, including both prepaid and postpaid commitments. This endpoint provides comprehensive visibility into contractual spending obligations, enabling you to track commitment utilization and manage customer contracts effectively.
Use this endpoint to:
- Display commitment balances and utilization in customer dashboards
- Track prepaid commitment drawdown and remaining balances
- Monitor postpaid commitment progress toward minimum thresholds
- Build commitment tracking and forecasting tools
- Show commitment history with optional ledger details
- Manage rollover balances between contract periods
Key response fields:
An array of Commit objects containing:
- Commit type: PREPAID (pay upfront) or POSTPAID (pay at true-up)
- Rate type: COMMIT_RATE (discounted) or LIST_RATE (standard pricing)
- Access schedule: When commitment funds become available
- Invoice schedule: When the customer is billed
- Product targeting: Which product(s) usage is eligible to draw from this commit
- Optional ledger entries: Transaction history (if
include_ledgers=true) - Balance information: Current available amount (if
include_balance=true) - Rollover settings: Fraction of unused amount that carries forward
Usage guidelines:
- Pagination: Results limited to 25 commits per page; use ‘next_page’ for more
- Date filtering options:
covering_date: Commits active on a specific datestarting_at: Commits with access on/after a dateeffective_before: Commits with access before a date (exclusive)
- Scope options:
include_contract_commits: Include contract-level commits (not just customer-level)include_archived: Include archived commits and commits from archived contracts
- Performance considerations:
- include_ledgers: Adds detailed transaction history (slower)
- include_balance: Adds current balance calculation (slower)
- Optional filtering: Use commit_id to retrieve a specific commit
POST
List commits
Authorizations
Body
application/json
List all commits for a customer