#weboAR - Refund Money Flow
1 messages ยท Page 1 of 1 (latest)
Hello! Not sure I understand your question. Are you asking about something happening in the API?
I am asking about Strie behaviour as to know how to handle situation in my app and expectations for my customers
I know is not the usual question ๐
Can you provide more specific details? I'm not sure I understand what you're asking or how it relates to Stripe development?
Or is this a general money movement question that has nothing to do with development? If so, you should ask support as this server is focused on developer questions: https://support.stripe.com/contact
It has to do with Dev ๐ I am a Dev ๐
haha
Let me explain mor.
I am developing an app.
There is a refund request screen.
Sometimes those requests may fail, as the stripe account gets negative.
I want to understand better about that situation as to differenciate it from a general error and also provide proper expectations to the customers
Can you point me to a request ID showing this happening when a refund is created? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Sorry, something un expected happened and need to run. Can I pick up later?
Sure! If this thread is archived when you get back ask someone to re-open it in #dev-help.
Thanks!
Sorry about it!
This is the message I got: Insufficient funds in your Stripe balance to refund this amount
I need to lookup the request Id
Hallo @slim fossil
Hi !
Thanks for reopening!
So, picking up, sometimes, when requesting refund, I get this error message
"Insufficient funds in your Stripe balance to refund this amount"
What does it mean?
Somehow I never got this through the years, but now is happening for couple of accounts being managed by my platform
Does seomthing happen after the refund is rejected? A withdrawn automatically happens from the bank account to the stripe account?
I was requested a req_id, but I am sorry, Indon't have one. I still have payment IDs to which these were requested.
And time and date for those requests
When the refund leads to a negative balance it might be held as pending until funds enter you account:
https://support.stripe.com/questions/pending-refunds-due-to-insufficient-funds-or-stripe-balance
And from then on refund creation requests may fail until you top up your balance to positive
I believe I am no t getting the refunds being marked as pending. They are just rejected.
There is no sign of the "pending" status
Then as the error says there is not sufficient balance to crate that refund, and you'll need to top-up or complete more payments to accrue a balance.
ok, but is that something new? In the past, we never had that issue
If refund was requested, it was accepted and a withdrawn was issued from the bank account
Not that I am aware of, no I don't think this has change any time recently
hmm...
seems very strange, in the past we never had these kind of issues.
And customer could issue refunds after months of no activity (meaning their balance was zero, all sent to the bank)
If you have a specific request example i can look for more detail, but otherwise I'd suggest speaking with support to help look into this: https://support.stripe.com/contact
If you have a specific request example i can look for more detail,
I can do an example right now. I will not be able to capture the request id, but maybe you can?
I am using PHP API, so hard to capture the request id
just grab it from your request logs in dashboard: https://dashboard.stripe.com/test/logs/
Or you can use the CLI to tail log your requests: https://stripe.com/docs/cli/logs/tail
I am doing a dump of the Stripe_error and not getting any request id. Sees that is not exposed in the PHP Lib.
Let me review that and be back
By the way, this happens on live. Can't do the tailworkaround.
Error: Original JsonBodyArray
(
[error] => Array
(
[message] => Insufficient funds in your Stripe balance to refund this amount.
[type] => invalid_request_error
)
)
Original HttpBody{
"error": {
"message": "Insufficient funds in your Stripe balance to refund this amount.",
"type": "invalid_request_error"
}
}
All I get from PHP Lib
Can you share any object id from your account? Or your account id?
(not keys, never share keys)
sure
ch_2KS5MDTBhCBlgQTi1R5ksyC6
Sorry, this: py_1KS5MGDL8W3CK4dHi5yj8nUz
req_0Wzrby8zUI4fG7
Got it!
I was about to say, i don't see any failing refund requests on the account for that charge
Thanks, looking
Sorry ๐
You can read about some relevant context here, include how you can query for the balance of a connected account:
https://stripe.com/docs/connect/account-balances#accounting-for-negative-balances
Let me quickly review it
Not sure I follow
Withdrawns happen automatically.
And after that it seems I can do refunds,
(usually)
That account that we are talking about they had a widthrawn yesterday and still can't do refund
Also, their balance, seems to be positive,
Because it requires discussion specific account balance details, I'd ask you to reach out to support about this: https://support.stripe.com/contact
Please share that request id with them too as an example of this
OK, Thanks!
Can we try to turn this into a tciket?
Maybe there is specifc info you can add to it on your behalf to make easier the analysis?
I'd suggest describing what we discussed here, and providing those examples. If you mention my username in the note then I can go find it to add context
sure! I will do
Thanks a lot!
Take care!
I have more cases
On a single day, for another account: One refund request went through while the other one didn't
There has to be something else than a negative balance issue there, right?
Do you want the ids?
I'd suggest including all the examples with the context for support. But yea that's possible. The first refund might succeed because the balance exists, but is then negative and insufficient for the later refund.
ok, thanks