#bdiu - charge buyer again

1 messages · Page 1 of 1 (latest)

restive ermine
#

Finding a good doc for that second call...

tardy temple
#

From a ux perspective, I could easily see a user onboarding to our app and us needing to charge that user a few weeks later on separate days these usage-based fees. Can I use the API to create these intents/charges on the fly?

restive ermine
#

Yes, once you have the payment methods saved, you can create this charges later basically whenever makes sense.

#

Apologies I see I forgot to send you a doc. Looking again now

#

Not finding a doc specifically on it. Basically when creating this new paymentintent you would provide the payment method ID, set confirm to true and pass off_session to true . This will create a PaymentIntent and attemptt o charge the user with ti while properly flagging to the bank that the user is not currently present at their computer while this charge is being made. https://stripe.com/docs/api/payment_intents/create#create_payment_intent-off_session