Skip to content
Start here

Credits

Get Account Credits
GET/accounts/{account_id}/billing/credits
ModelsExpand Collapse
CreditGetResponse object { confirmed_balance_cents, currency, days_remaining, 7 more }
confirmed_balance_cents: optional number

The confirmed credit balance in cents.

formatint64
currency: optional string

Currency of the credit balance.

days_remaining: optional number

Days remaining until the credits expire.

formatint64
eligible: optional boolean

Whether the account is eligible to receive credits.

has_record: optional boolean

Whether a credit record exists for the account.

original_amount_cents: optional number

The original credit amount in cents.

formatint64
percent_consumed: optional number

Percentage of the original credit amount consumed.

formatdouble
projected_depletion_date: optional string

Projected date when the credits will be depleted.

formatdate-time
valid_from: optional string

When the credits become valid.

formatdate-time
valid_to: optional string

When the credits expire.

formatdate-time