#kevin-fleri-ach
1 messages · Page 1 of 1 (latest)
@dawn juniper you would collect bank account details (get a Token btok_123), then attach it to the Customer and then you can pay the Invoice with that BankAccount (ba_123) object
Yes, I understand that part, after attaching the token to the customer linked to that subscription object, which API should I use to pay the invoice. I know with card, you can just use that subscription payment intent and do confirmcardPayment
You would call https://stripe.com/docs/api/invoices/pay in that case, assuming you made the BankAccount the default on the Customer or the Subscription. Otherwise you'd pass source: 'ba_123'
did that make sense?
Yes, made a lot of sense, In this particular scenario, I will get the invoice id that require extra action from invoice.payment_faild webhook.