#sandeepdil
1 messages ยท Page 1 of 1 (latest)
What is a 'generated bill amount'?
we are integrating stripe with our platform... in our platform, on 1st of every month a postpaid bill getting generated as per the system used by our users...
we want to create an auto payment system where our user can add bank account or card and we can charge billing amount on automation.
eg :
user 1 : bill amount $100
user 2 : bill amount $200
so the amount should auto debit from added bank / card by the respective users .
please assist me which apis should i used to make this flow
The best way to do this could be to have Customer objects on your platform account that represent each connected account. Then you're able to generate ad-hoc invoices for them monthly (or as needed), and they can pay them via whichever means configured.
ok means first we have to use this api
https://stripe.com/docs/api/customers/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
after that which api should be used to add chargeable card/bank ?
You'd want to save payment details from your users: https://stripe.com/docs/payments/save-and-reuse
And then create Invoices to charge those customers: https://stripe.com/docs/invoicing/integration
ok to how we will debit payment from saved bank/card of our customer
do we need to ask customer to create any mandate or we have any direct charge api ?
๐ taking over for my colleague. Let me catch up.
where is your platform located?
on our website
I meant your Stripe Account was created in which country
US
ok so means , flow will be like
step 1 : create customer
step 2 : add/save customer bank/card
step 3 : create paymentIntents
step 4 : paymentIntents.confirm
right ?
yes