#binaryruel
1 messages ยท Page 1 of 1 (latest)
Hello do you have the ID of the payment that you are seeing this for? (pi_1234)
Hi Pompey, yes. in fact, I have the balances ready, but I don't know where to check it, there 3 objects available, instant_available and pending.
The avaialble object has 0 on it.
The pending has the recent charges.
So my question would be how error 16 Insufficient balance is triggerred.
Can you try making this call again and then print our the request ID? https://stripe.com/docs/api/request_ids
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Is it safe to check the balance pending object to initiate a refund?
available is the balance that refunds will come from. So you will want to make sure to have enough funds on your account to initiate refunds like this
So I can't technically trust the pending object to check the balance?
That balance is accurate, it is just that you can't refund with funds from that balance, so checking it wouldn't be particularly helpful here.
But the refund was successful on test mode even though I have 0 on available
Hello ๐
Can you share the request ID where you're seeing a successful refund?
how do I get it on the dashboard?