steveinatorx
steveinatorx

Reputation: 745

stripe API - possible to combine multiple invoices into one payment?

i have a use case where its possible for a user to accumulate multiple unpaid invoices with a stripe subscription (which would be marked as overdue). The only way i see to pay the invoices via the API would be to pay each one as a separate manual invoice payment (thus producing X lines items on a users credit card).

Is there any way to combine all unpaid invoices into one payment ?

Upvotes: 5

Views: 4287

Answers (3)

jsherk
jsherk

Reputation: 6472

From the Stripe docs, it suggests that you can batch multiple transactions together but only if the customer has a payment method saved (and it still may require some custom programming to get it working the way you want): https://support.stripe.com/questions/batch-multiple-transactions-from-one-customer-into-a-single-charge

Stripe docs also offers this option as well, on combining multiple products into one subscription: https://stripe.com/docs/billing/subscriptions/multiple

Upvotes: 1

Hardik Gadhiya
Hardik Gadhiya

Reputation: 1

Yes, You can combine multiple invoices using pass stripe customer id in to

/Stripe/Invoices::retrieve({customer_id});

You can get all the invoice of the customer, you can also search date wise invoices using a function.

Upvotes: -1

koopajah
koopajah

Reputation: 25552

It's not something that the Stripe API supports. The best solution would be to create a one-time charge for the total amount of all the invoices and then mark each invoice as forgiven.

You could also create multiple invoice items, one for each invoice with a clear description and amount and then invoice the list so that your customer knows what he's paying for.

Upvotes: 7

Related Questions