#arsani-sinout_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1222658590939287576
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- arsani-sinout_api, 1 day ago, 118 messages
- arsani-sinout_api, 2 days ago, 11 messages
- arsani-sinout_api, 2 days ago, 3 messages
Hi, Credit Balances will reduce the amount owed on the next invoice automatically, https://docs.stripe.com/invoicing/customer/balance#working-with-credit-balances.
If the amount on the credit balance is not enough, you can make another call to charge the customer. Or, you can collect the payment method and set it as the deafult payment method on the customer, https://docs.stripe.com/api/customers/create#create_customer-invoice_settings-default_payment_method. This allows you to charge the payment method on the customer if you set the collection behavior as automatic when creating the invoice, https://docs.stripe.com/api/invoices/create#create_invoice-collection_method
I dont understand the payment method part
First, what i did , does it charge the customer's credit card and put into my account ?
AH, I see. At that point, if you're just adding a credit balance to the customer, there is not a payment. You would need to ask the customer to make a payment and charge the card separately.
I want to charge their CC automatically
So they give me the CC details and i do the payment using the APIs
I just save the CC details on stripe using the UI but charge it using the API endpoint
Yeah, that would work. You can create a Payment first, and charge for the amount for the credit balance. Then, you can save the payment details, https://docs.stripe.com/payments/save-during-payment to charge for future payments as well.
Can i save the details without a payment first ?
And can i save them on the UI ?
For example , i have this test customer : cus_PmioQtCZD8Bbwl
I think their CC details are saved , arent they ?
Yes, you can use SetupIntent, https://docs.stripe.com/api/setup_intents
Yes, it looks like it.
So yeah, you should be able to make a charge
Okay so i did that using the UI already
What exactly will help me charge this customer (given i already have their CC details saved) ?
That is up to you, you can use Invoice, https://docs.stripe.com/api/invoices/create for instance
I am already using that , is the way i am using it correct ?
Hello! I'm taking over and catching up...
I read through the thread and it sounds like what you're trying to do won't actually be permitted. Have you confirmed with Stripe support that your business model and payment flow is an approved use case?
Kindly elabourate , i dont understand
It sounds like you're "storing value" on your Stripe account, which isn't generally allowed. You want to have your customers pay you, then you store that value in their customer balance, then they used it later for an Invoice payment, right?
Yes
That's not generally allowed. I recommend you contact Stripe support to confirm your use case is allowed: https://support.stripe.com/contact/email
Why isnt that allowed , i was talking to someone here before regarding the same case and they never mentioned that this was not allowed
Thats why i implemented the integration
So why isnt it allowed ?
It may be allowed, but it may not. See here: https://stripe.com/legal/restricted-businesses
Search that page for stored value.
Stripe support will be able to tell you for sure if it is or isn't allowed.