#lukeKu - py_ lookup
1 messages · Page 1 of 1 (latest)
Hello one moment
Hi just to clarify, where are you getting the py_ id from?
And can you share an example ID?
py_1KViPn2Yce6vl1WPiPOExUAb
I think I retrieved it from the transfer tr_3KViPkFQSpK5gp2E0wn0D5wX
We need a way to distinguish which payments are available and which payments are still in the "Available Soon" balance. The amounts are great and all, but we need to be able to tie it back to particular transactions in our system
and can you tell me why the funds are in available soon and weren't just immediately deposited into this connect account's balance?
Apologies for the delay. You could retrieve the transfer https://stripe.com/docs/api/transfers/retrieve, look at its balance transaction id: https://stripe.com/docs/api/transfers/object#transfer_object-balance_transaction, retrieve that: https://stripe.com/docs/api/balance_transactions/retrieve and look at its status: https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And actually, to simplify, you could just expand balance transaction on the transfer object to avoid the second API call: https://stripe.com/docs/api/expanding_objects
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
thank you. so when that balance clears, will there be a webhook event that fires?
This event fires every time the account balance updates: https://stripe.com/docs/api/events/types#event_types-balance.available
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You're a legend
Last question: any idea why this particular account is having the balance held?
Account balances aren't immediately available after transfers just due to money moving behind the scenes. It takes some time
only if we use that PMs that explicitly state they are instant?
It can take time for funds to settle, even on PMs where you know instantly if the payment succeeded