#fcpatidar_40109
1 messages ยท Page 1 of 1 (latest)
Hi ๐
You can't go in that direction: Charge -> Payout
But you can go from Payout -> Charge
You would look up the Balance transactions assocaited with a given Payout and review the source parameter to identify the charges in that payout.
Whenever I created a charge from my app using Stripe, in response I received a Charge ID.
Now, my requirement is that, I want to save the current status of that payment in DB. Like pending, in transit, and paid
For that you would want to inspect the Balance Transaction object associated with that Charge ID.
I checked below API to fetch payment status but in balance transaction there is payment status
https://stripe.com/docs/api/balance_transactions/object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The balance transaction is a record of any transaction that impacts your Stripe account balance.