# Create invoice payment plans

Learn how to create payment plans for your Stripe invoices.

Invoice payment plans let you split an [Invoice](https://docs.stripe.com/api/invoices/object.md) total into separate payments with different due dates. For example, you can collect a deposit followed by the remaining balance, or offer more favourable terms by dividing the amount due into smaller instalments over time.

Stripe sends instalment reminders and shows customers a history of past payments.

> #### Request access
> 
> Stripe must enable invoice payment plans for your account. If you don’t see **Request in multiple payments** under **Payment collection** in the invoice editor, [request access with Stripe Support](https://support.stripe.com/contact).

## Limitations

Payment plans have a few limitations. Make sure that the following limitations don’t conflict with your use case:

- Payment plans aren’t supported by Stripe Revenue Recognition or the Stripe Connector for NetSuite.
- Payment plans don’t auto-charge customers with saved payment details. Customers must return to the payment page to make subsequent payments. You can’t use them with `charge_automatically` invoices.
- For Connect users, application fees can’t be set on payment plan-enabled invoices. You can only set fees on PaymentIntents.
- Additional fields associated with payment plans aren’t available in Stripe Sigma.
- Some Billing Analytics charts (Top Subscribers) only register invoices that are fully paid. Other charts are unaffected.
- You can’t apply payment plans to subscription invoices.

# API


This guide shows how to set up and manage payment plans using the [Invoicing API](https://docs.stripe.com/api/invoices.md) and the [Payment Plan API](https://docs.stripe.com/api/payment-plan.md).

## Create supporting objects

Before setting up payment plans, review [Integrate with the Invoicing API](https://docs.stripe.com/invoicing/integration.md). You need to understand how to create products, prices and customers using the Stripe API or Dashboard to use this feature.

## Create an invoice and add invoice items

Before creating a payment plan, create the invoice that the payment plan applies to. Set the invoice’s [collection_method](https://docs.stripe.com/api/invoices/create.md#create_invoice-collection_method) to `send_invoice` and provide either `due_date` or `days_until_due`. Payment plans aren’t supported for `charge_automatically` invoices.

Some jurisdictions require an invoice due date for tax compliance. Instalment due dates are separate and can align with the invoice due date or differ, such as when you offer extended payment terms on an overdue invoice because of financial hardship. This example uses `days_until_due: 120` to match the final instalment in both payment plan examples.

```curl
curl https://api.stripe.com/v1/invoices \
  -u "<<YOUR_SECRET_KEY>>:" \
  -H "Stripe-Version: 2026-08-26.preview" \
  -d "customer={{CUSTOMER_ID}}" \
  -d collection_method=send_invoice \
  -d days_until_due=120 \
  -d auto_advance=false
```

Use the returned invoice ID to add an invoice item directly to this draft invoice. The following example adds a US$5,000 item:

```curl
curl https://api.stripe.com/v1/invoiceitems \
  -u "<<YOUR_SECRET_KEY>>:" \
  -H "Stripe-Version: 2026-08-26.preview" \
  -d "customer={{CUSTOMER_ID}}" \
  -d "invoice={{INVOICE_ID}}" \
  -d amount=500000 \
  -d currency=usd \
  -d "description=Professional services"
```

## Create the payment plan

The payment plan’s `schedule` describes how Stripe divides the invoice total into instalments and when each instalment is due. This section explains two common use cases: flexible payment terms and an initial deposit.

### Flexible payment terms

Use percentage-based installments when you want the payment amounts to adjust with the invoice total. For example, suppose you have an invoice for US$5,000 and want the customer to pay it in four equal installments. Create a schedule with four installments of 25% each:

```curl
curl https://api.stripe.com/v1/payment_plans \
  -u "<<YOUR_SECRET_KEY>>:" \
  -H "Stripe-Version: 2026-08-26.preview" \
  -d "collects_on[0][type]=invoice_details" \
  -d "collects_on[0][invoice_details][invoice]={{INVOICE_ID}}" \
  -d "schedule[type]=amounts_due" \
  -d "schedule[amounts_due][amounts][0][type]=percentage" \
  -d "schedule[amounts_due][amounts][0][percentage]=25" \
  -d "schedule[amounts_due][amounts][0][description]=Payment 1" \
  -d "schedule[amounts_due][amounts][0][due_date][type]=relative" \
  -d "schedule[amounts_due][amounts][0][due_date][relative][interval]=day" \
  -d "schedule[amounts_due][amounts][0][due_date][relative][count]=30" \
  -d "schedule[amounts_due][amounts][1][type]=percentage" \
  -d "schedule[amounts_due][amounts][1][percentage]=25" \
  -d "schedule[amounts_due][amounts][1][description]=Payment 2" \
  -d "schedule[amounts_due][amounts][1][due_date][type]=relative" \
  -d "schedule[amounts_due][amounts][1][due_date][relative][interval]=day" \
  -d "schedule[amounts_due][amounts][1][due_date][relative][count]=60" \
  -d "schedule[amounts_due][amounts][2][type]=percentage" \
  -d "schedule[amounts_due][amounts][2][percentage]=25" \
  -d "schedule[amounts_due][amounts][2][description]=Payment 3" \
  -d "schedule[amounts_due][amounts][2][due_date][type]=relative" \
  -d "schedule[amounts_due][amounts][2][due_date][relative][interval]=day" \
  -d "schedule[amounts_due][amounts][2][due_date][relative][count]=90" \
  -d "schedule[amounts_due][amounts][3][type]=percentage" \
  -d "schedule[amounts_due][amounts][3][percentage]=25" \
  -d "schedule[amounts_due][amounts][3][description]=Payment 4" \
  -d "schedule[amounts_due][amounts][3][due_date][type]=relative" \
  -d "schedule[amounts_due][amounts][3][due_date][relative][interval]=day" \
  -d "schedule[amounts_due][amounts][3][due_date][relative][count]=120"
```

When you use percentages, the percentages in the schedule must add up to 100. Stripe calculates each instalment’s concrete amount from the invoice total.

### Initial deposit

To collect an initial deposit followed by payments for the remaining amount, represent the deposit as the first fixed-amount instalment. For example, suppose you have an invoice for US$5,000 and want the customer to pay a US$1,000 deposit followed by two equal payments. Create the payment plan as follows:

```curl
curl https://api.stripe.com/v1/payment_plans \
  -u "<<YOUR_SECRET_KEY>>:" \
  -H "Stripe-Version: 2026-08-26.preview" \
  -d "collects_on[0][type]=invoice_details" \
  -d "collects_on[0][invoice_details][invoice]={{INVOICE_ID}}" \
  -d "schedule[type]=amounts_due" \
  -d "schedule[amounts_due][amounts][0][type]=fixed_amount" \
  -d "schedule[amounts_due][amounts][0][fixed_amount][amount]=100000" \
  -d "schedule[amounts_due][amounts][0][fixed_amount][currency]=usd" \
  -d "schedule[amounts_due][amounts][0][description]=Deposit" \
  -d "schedule[amounts_due][amounts][0][due_date][type]=relative" \
  -d "schedule[amounts_due][amounts][0][due_date][relative][interval]=day" \
  -d "schedule[amounts_due][amounts][0][due_date][relative][count]=0" \
  -d "schedule[amounts_due][amounts][1][type]=fixed_amount" \
  -d "schedule[amounts_due][amounts][1][fixed_amount][amount]=200000" \
  -d "schedule[amounts_due][amounts][1][fixed_amount][currency]=usd" \
  -d "schedule[amounts_due][amounts][1][description]=Payment 1" \
  -d "schedule[amounts_due][amounts][1][due_date][type]=relative" \
  -d "schedule[amounts_due][amounts][1][due_date][relative][interval]=day" \
  -d "schedule[amounts_due][amounts][1][due_date][relative][count]=60" \
  -d "schedule[amounts_due][amounts][2][type]=fixed_amount" \
  -d "schedule[amounts_due][amounts][2][fixed_amount][amount]=200000" \
  -d "schedule[amounts_due][amounts][2][fixed_amount][currency]=usd" \
  -d "schedule[amounts_due][amounts][2][description]=Payment 2" \
  -d "schedule[amounts_due][amounts][2][due_date][type]=relative" \
  -d "schedule[amounts_due][amounts][2][due_date][relative][interval]=day" \
  -d "schedule[amounts_due][amounts][2][due_date][relative][count]=120"
```

For fixed-amount schedules, the amounts must use the same currency and add up to the invoice’s final [amount_due](https://docs.stripe.com/api/invoices/object.md#invoice_object-amount_due). You can’t mix fixed amounts and percentages in the same schedule.

## Update the payment plan

You can update a payment plan’s `schedule` to change due dates, amounts, descriptions, or the number of instalments. The schedule represents your intended payment structure. The payment plan’s `instalments` represent the current result of applying that schedule to the invoice: concrete amounts and due dates, stable instalment IDs, amounts paid or forgiven, and each instalment’s status.

When updating a schedule, include an existing instalment’s `id` to preserve its identity. Omit the `id` to create a new instalment. Any existing instalment IDs not included in the updated schedule are removed. This example preserves three instalments while changing their fixed amounts and using absolute due dates:

```curl
curl https://api.stripe.com/v1/payment_plans/{{PAYMENT_PLAN_ID}} \
  -u "<<YOUR_SECRET_KEY>>:" \
  -H "Stripe-Version: 2026-08-26.preview" \
  -d "schedule[type]=amounts_due" \
  -d "schedule[amounts_due][amounts][0][id]={{PAYMENT_PLAN_INSTALLMENT_ID}}" \
  -d "schedule[amounts_due][amounts][0][type]=fixed_amount" \
  -d "schedule[amounts_due][amounts][0][fixed_amount][amount]=100000" \
  -d "schedule[amounts_due][amounts][0][fixed_amount][currency]=usd" \
  -d "schedule[amounts_due][amounts][0][description]=Updated deposit" \
  -d "schedule[amounts_due][amounts][0][due_date][type]=absolute" \
  -d "schedule[amounts_due][amounts][0][due_date][absolute]=1790812800" \
  -d "schedule[amounts_due][amounts][1][id]={{PAYMENT_PLAN_INSTALLMENT_ID}}" \
  -d "schedule[amounts_due][amounts][1][type]=fixed_amount" \
  -d "schedule[amounts_due][amounts][1][fixed_amount][amount]=150000" \
  -d "schedule[amounts_due][amounts][1][fixed_amount][currency]=usd" \
  -d "schedule[amounts_due][amounts][1][description]=Updated payment 1" \
  -d "schedule[amounts_due][amounts][1][due_date][type]=absolute" \
  -d "schedule[amounts_due][amounts][1][due_date][absolute]=1793491200" \
  -d "schedule[amounts_due][amounts][2][id]={{PAYMENT_PLAN_INSTALLMENT_ID}}" \
  -d "schedule[amounts_due][amounts][2][type]=fixed_amount" \
  -d "schedule[amounts_due][amounts][2][fixed_amount][amount]=250000" \
  -d "schedule[amounts_due][amounts][2][fixed_amount][currency]=usd" \
  -d "schedule[amounts_due][amounts][2][description]=Updated payment 2" \
  -d "schedule[amounts_due][amounts][2][due_date][type]=absolute" \
  -d "schedule[amounts_due][amounts][2][due_date][absolute]=1796083200"
```

The response includes the updated schedule and an updated `installments` array. In this example, the instalments show the new US$1,000, US$1,500, and US$2,500 amounts and the resolved due dates, together with their payment state and status. If payments or credits have already changed the invoice balance, the instalment values can differ from the values expressed in the schedule.

## Finalise the invoice

You can finalise an invoice after setting up the payment plan and adding the desired invoice items. You can also add a payment plan to an already finalised invoice. After finalisation, you can’t add or remove invoice items or change the invoice’s amounts or dates. However, you can update the payment plan associated with the invoice.

If you change the invoice items before finalisation, make sure the fixed amounts in the payment plan’s schedule add up to the new invoice total. Percentage-based schedules continue to divide the updated invoice total according to their configured percentages.

After adding the necessary invoice items and making sure your payment plan is set up correctly, finalise the invoice:

```curl
curl -X POST https://api.stripe.com/v1/invoices/{{INVOICE_ID}}/finalize \
  -u "<<YOUR_SECRET_KEY>>:" \
  -H "Stripe-Version: 2026-08-26.preview"
```

After finalisation, the invoice is ready to send to the customer for payment. Review the invoice details before finalising because you must make any adjustments to the invoice itself before this step. Learn more about [status transitions and finalisation](https://docs.stripe.com/invoicing/integration/workflow-transitions.md).


## Post-finalisation actions on invoices

After you finalise an invoice, you can still update its payment plan through the API while the invoice is `open`. Update the payment plan to change the schedule or metadata without voiding the invoice and starting over. Schedule updates can change amounts and due dates for instalments that are already paid, not only unpaid instalments.

The schedule describes how to allocate the invoice balance, not an immutable record of individual payments. When instalment amounts change, Stripe reapplies existing payments using first-in, first-out allocation. Earlier payments fill earlier instalments before applying to later instalments. Updating the schedule doesn’t collect another payment or refund an existing payment.

An instalment that was previously `paid` can become `open` or `past_due` if its updated amount exceeds the payments allocated to it. Reducing an instalment’s amount can move some of its allocated payments to later instalments.

For example, if a customer has only paid a US$1,000 deposit and you increase that instalment to US$1,500, it has US$500 left to collect. Its status depends on whether its due date has passed. Reduce later instalments by a total of US$500 so that the schedule still matches the invoice total. Review the returned `installments` array after each update instead of relying on previously stored amounts or statuses.

## Track instalment payment status

Use the payment plan’s `installments` array to determine which payments are overdue. Each instalment has its own `due_date`, `amount_due`, `amount_paid`, `amount_forgiven` and `status`. An instalment with an unpaid balance becomes `past_due` after its due date.

The invoice’s `status` describes the invoice lifecycle, not instalment delinquency. An invoice can remain `open` even when every instalment is `past_due`. Don’t wait for `invoice.status` to change to detect overdue instalments. Likewise, don’t use the invoice’s top-level `due_date` as the instalment schedule. Use the resolved due dates in `installments` for payment tracking and collection workflows.

## Reconcile payment plans with bank transfers

When you enable automatic reconciliation, Stripe can apply bank transfer funds to an invoice payment plan using the invoice number in the transfer reference or an amount match against the customer’s available cash balance. For amount matching, Stripe considers the invoice’s full remaining balance, the total of all past-due instalments or the total of all past-due instalments plus the next unpaid instalment.

Stripe applies reconciled funds to instalments in order of their due dates. For example, an invoice has two instalments: US$400 due now and US$600 due later. Without [automatic partial reconciliation](https://docs.stripe.com/invoicing/bank-transfer.md#partial-payments):

- US$250 doesn’t fund the invoice
- US$400 pays the first instalment
- US$500 pays the first instalment, with the remaining US$100 added to the customer’s cash balance

When you enable automatic partial reconciliation and the customer includes the invoice number in the transfer memo, Stripe can apply an eligible amount that doesn’t match one of those amounts. In the previous example, US$250 partially funds the first instalment and US$500 pays the first instalment and applies US$100 to the second instalment.

Stripe considers remaining funds for other eligible invoices using the [automatic reconciliation order](https://docs.stripe.com/invoicing/bank-transfer.md#automatic-transfer-reconciliation). Unmatched funds remain in the customer’s cash balance. Your underpayment threshold only applies when the available funds can settle the invoice’s full remaining balance. It doesn’t reduce the amount required for an individual instalment.

## Notifications

Stripe emails your customer about each instalment using the reminder schedule in your [invoice reminder settings](https://dashboard.stripe.com/settings/billing/invoice). Payment plans use the same schedule as your other invoices, applied to each instalment due date instead of the invoice due date. Changes to these settings affect both ordinary invoice reminders and payment plan instalment reminders, even if the settings page doesn’t mention payment plans. Disabling **Invoice reminders** turns off instalment reminder emails too.

Email reminders and the `payment_plan.installment_will_be_due` webhook have separate configurations. Enabling invoice reminder emails doesn’t configure the advance-due webhook. During private preview, confirm with your Stripe contact that the payment plan advance-due event lead time is configured for your account before testing this event.

## Listen for payment plan events

Stripe sends the following events for payment plans. Each event contains the full [PaymentPlan](https://docs.stripe.com/api/payment-plan/object.md) object, including its `instalments` array, so you can read the status of every instalment from a single event.

| Event | Stripe sends it when |
| --- | --- |
| `payment_plan.created` | You create a payment plan. |
| `payment_plan.updated` | You change a payment plan, including its schedule. |
| `payment_plan.installment_will_be_due` | An open instalment reaches the configured number of days before its due date. Stripe doesn’t schedule this event if the account’s advance-due event lead time is unset or zero. |
| `payment_plan.installment_due` | An instalment reaches its due date. |
| `payment_plan.installment_paid` | Your customer pays an instalment. |

If a schedule change leaves an instalment with nothing left to collect and no money moves, Stripe sends `payment_plan.updated` and doesn’t send `payment_plan.installment_paid`.

[Verify webhook signatures](https://docs.stripe.com/events/manage-webhook-endpoints.md#signature-errors) to confirm that events came from Stripe.

### Test instalment due events

Use a [test clock](https://docs.stripe.com/billing/testing/test-clocks/api-advanced-usage.md) to test time-based payment plan events. Advancing time alone doesn’t enable `payment_plan.installment_will_be_due`. First confirm that your account has a positive advance-due event lead time configured.

1. Configure a test webhook endpoint to receive `payment_plan.installment_will_be_due` and `payment_plan.installment_due`.
2. Create a test clock and a customer associated with that clock. Create the invoice for that customer, add invoice items and attach a payment plan with a future instalment due date. You don’t need a subscription.
3. Finalise the invoice to schedule the events. Keep the instalment unpaid, and choose a due date far enough in the future that the advance-due event time is still ahead of the clock’s current time.
4. Advance the clock to the instalment’s due date minus the configured lead time. For example, with a 3-day lead time and an instalment due 7 days after finalisation, advance to 4 days after finalisation. Wait for the clock to finish advancing, then check for `payment_plan.installment_will_be_due` at your webhook endpoint.
5. Advance to the instalment’s due date and check for `payment_plan.installment_due`.

If the advance-due event doesn’t arrive, check the account’s event lead time, invoice finalisation, instalment status and webhook endpoint’s selected events. Passing the due date doesn’t substitute for configuring the lead time before the events are scheduled.

## Disclaimer

By using invoice payment plans, you acknowledge the following:

- This feature isn’t a buy now, pay later service. Stripe isn’t responsible to you or your customer for failure to pay or failure to deliver goods or services. To enable buy now, pay later for B2C invoices, read our [buy now, pay later guide](https://docs.stripe.com/payments/buy-now-pay-later.md).
- Some payment methods, such as Affirm, Revolut Pay, and Afterpay, might have contractual or regulatory restrictions on their use in instalment-based payment arrangements. Review your provider’s terms to confirm compliance before enabling payment plans for your customers.

### Australia

This feature isn’t intended to provide you or your customers with any form of credit or alter the price of a good or service. Neither you nor your customers are charged additional fees associated with payment plans.

### Japan

By reflecting a payment schedule, you can extend more flexible net terms or collect a deposit and allow a single invoice to be paid over multiple due dates.

If you provide a financial product or service, consult with your legal advisors regarding applicable restrictions and requirements before setting up invoices. Installment payments, lending, credit and buy now, pay later services are subject to regulation in Japan, and you might need to register or obtain approvals before engaging in those services.
