Customer credit balance
Learn how to work with customer credit balances.
Customer balance types
This page is about customer credit balances, which are adjustments you can issue to customers that apply to future invoices. Credit balances are different from cash balances. Cash balances are connected to the customer balance payment method. To learn more, see Bank transfer. As explained below, some features work differently for customers with a cash balance.
Every customer has a credit balance. You can use this to issue a:
- Credit adjustment—You owe the customer money.
- Debit adjustment—The customer owes you money.
These adjustments sum up to a credit balance that you can apply to future invoices. Because Stripe computes the credit balance from a ledger—an immutable list of debit and credit transactions—it provides an audit trail of transactions for the customer. The Customer Balance Transactions can refer to the object related to the adjustment, such as a credit note, invoice, or metadata.
Some common use cases for customer credit balances include:
- Issuing a credit note to create a credit that reduces the amount due on the next invoice.
- Marking an invoice as paid and moving the amount owed to the credit balance as a debit. This happens when the amount due on an invoice is less than the minimum chargeable amount. This functionality only occurs for users without a cash balance.
Credit balances
Keep the following in mind when you work with credit balances:
- The credit balance automatically applies to the next finalized invoice to a customer.
- You can’t choose a specific invoice to apply the credit balance to.
- The credit balance is in the customer’s currency.
- Customers with a cash balance can’t keep a positive balance. In other words, they can’t increase the amount due on the next invoice.
Credits and debits
Credits are negative values (a reduction in the amount the customer owes) that you can apply to the next invoice. Debits, on the other hand, are positive values (an increase in the amount the customer owes) that you can apply to the next invoice.
Transactions
All modifications to the credit balance are recorded as Transactions. After you create a transaction, you can only update its description
or metadata
(you can’t edit other properties or delete it).
Transaction types
All Transactions that you create with the API or in the Dashboard have a type value of adjustment
. A type value of adjustment
represents a debit or credit that you manually created for the customer. The following table describes each of the type
values:
Type | Description |
---|---|
adjustment | An explicitly created adjustment transaction to debit or credit the credit balance. This is the only type of transaction that you can create by using API integrations and the Dashboard. |
applied_ | Traces the application of credit against a linked invoice. |
credit_ | Traces the creation of credit to a credit note and its associated invoice. |
invoice_ | When the amount due on an invoice is less than Stripe’s minimum chargeable amount and the customer does not have a cash balance, the invoice is debited from the credit balance and added to the amount due on the next invoice. |
invoice_ | When the amount due on an invoice is greater than Stripe’s maximum chargeable amount and the customer does not have a cash balance, the invoice is debited from the credit balance and added to the amount due on the next invoice. |
unapplied_ | Traces the reversal of an applied credit balance from a linked invoice. Paired with an earlier ‘applied_to_invoice’ transaction. |
unspent_ | When unspent funds in receiver Sources attached to a customer without cash balance aren’t fully charged after 60 days, Stripe automatically charges them on your behalf and credits your balance. When this happens, Stripe also creates a corresponding credit transaction. |
initial | Represents the starting value of the credit balance when a customer is created by using the API with a non-zero credit balance. |
Undo a transaction
You can only undo a transaction by creating a corresponding, reversing transaction. For example, if you credit the customer 10 USD, you’d have to debit them 10 USD in a new transaction, each canceling the other one out.
Modify the credit balance
You can modify a customer’s credit balance through both the Dashboard and API.
Balance transaction history
Customer cash balances
Customers using the bank transfers payment method have a cash balance object with one or more currencies in the available
object. You can use the funds to make payments or pay invoices. Customers with available balances have the following behavior:
You can’t create a negative customer cash balance since it represents money sent from the
Customer
.You can’t finalize a too-small or too-large invoice with the cash balance (for example, creating a subscription for 0.01 USD). Learn more about minimum and maximum amounts.
You can delete
Customers
that have a cash balance, but only if their cash balance is 0.You can’t remove a
Customer
’s available balance.