Skip to main content
Track and manage various types of account credits including promotional credits, refund credits, bonus credits, and partner credits that can be applied to reduce billing charges.

Request Parameters

array
Filter by credit types:
  • promotional - Marketing and promotional credits
  • refund - Credits from refunded payments
  • bonus - Bonus credits from programs or achievements
  • partner - Credits from partner programs
  • support - Support-issued credits for service issues
  • referral - Credits from referral programs
  • migration - Credits from account migrations
array
Filter by credit status:
  • active - Available for use
  • applied - Already applied to invoices
  • expired - Expired and no longer usable
  • pending - Pending approval or activation
  • reserved - Reserved for specific purposes
string
default:"all"
Time range for credit history:
  • last_month - Last 30 days
  • last_3_months - Last 3 months
  • last_6_months - Last 6 months
  • current_year - Current calendar year
  • all - All credit history
  • custom - Custom date range (requires startDate and endDate)
string
Start date for custom range (ISO 8601: YYYY-MM-DD)
string
End date for custom range (ISO 8601: YYYY-MM-DD)
boolean
default:"false"
Include detailed usage history for each credit
boolean
default:"true"
Include expiration dates and warnings
string
default:"USD"
Currency for credit amounts: USD, EUR, GBP, JPY, CAD, AUD

Response

array
Array of credit objects
object
Credit summary information
array
Credit usage recommendations

Example

Credit Management Operations

Apply Credits to Invoices

Python

Credit Issuance and Management

Python

Credit Expiration Management

Python

Credit Analytics and Reporting

Python

Best Practices

Credit Management Strategy

  • Proactive Monitoring: Set up alerts for expiring credits
  • Strategic Application: Use credits strategically to maximize value
  • Lifecycle Tracking: Monitor credit usage patterns and effectiveness
  • Expiration Management: Apply expiring credits before they lose value

Credit Optimization

  • Usage Prioritization: Use expiring credits first
  • Invoice Matching: Apply credits to appropriate invoice types
  • Bulk Operations: Use bulk application for efficiency
  • Cost Minimization: Apply credits to highest-cost services first

Compliance and Tracking

  • Audit Trails: Maintain detailed records of all credit transactions
  • Tax Implications: Consider tax implications of credit usage
  • Reporting: Regular reporting on credit utilization and effectiveness
  • Policy Compliance: Ensure credit usage follows company policies
Credits are applied to invoices in the order of expiration date, with expiring credits used first. Unused credits that expire cannot be recovered, so monitor expiration dates closely.
Set up automated credit application rules to maximize utilization and minimize expired credits. Use the bulk application API to efficiently apply multiple credits at once.