#santosh-rana_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1253244273009229907
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi,
Yes, we document it here: https://docs.stripe.com/billing/customer/balance#details
We created invoice via api and the customer have balance but seems like its not applied auto
But its not working
Can you share an example?
This is request body
seems like its auto-advance parameter we ned to pass as true ?
can you share the request id with me? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_bwFo7z1ItZgvZQ
The customer does not seem to have a credit balance
This is balance before api callout
making new callout
New invoice
Invoice request : req_jv0KzRZrGYgRtX
Invoice line item : req_FQvRdCXcSjmX3v
Still not working ๐ฆ
but when i raise internally via UI it picks up
U there ?
Ah, I think it's related to https://docs.stripe.com/api/invoices/create#create_invoice-pending_invoice_items_behavior. Can you pass 'include' in the request?
Can you change the collection method to automatic?