#rfrisch43 - Invoice API
1 messages ยท Page 1 of 1 (latest)
Hello!
Yes, we do recommend a webhooks approac to this
ok, how would that work?
You listen for the invoice.payment_succeeded event: https://stripe.com/docs/api/events/types#event_types-invoice.payment_succeeded
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Then you save the payment method ID to the Customer as the default_for_invoice payment method
Ok, thank you very much!