#krutarth_api

1 messages ¡ Page 1 of 1 (latest)

bold matrixBOT
#

👋 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/1251230167691427935

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

obsidian cave
#

Here ya go: https://support.stripe.com/questions/find-what-transactions-were-included-in-or-impacted-a-payout-amount

Let me know if that gets you oriented in the right direction

limber basin
obsidian cave
#

I'm not sure I understand the question. Can you rephrase?

limber basin
#

customers are paying in my shop and i'm using stripe to process the payment.

payment_intent id is associated with each payment which was done by customer

Now after a day or two I received a payout.

Using the id of the payout i want to get the list of all the payment intent id whose payment is received by me.

obsidian cave
#

Right, which that doc that I sent explains how to do. So where in that process are you getting blocked?

limber basin
#

I want to do this using api.

The doc mentioned i should use balance_transaction api.

i checked balance_transaction api, its response doesnt contain the list of the payment intent ids associated with that particular transaction

obsidian cave
#

For your Connect accounts, are you on automatic payouts? Or manual payouts?

limber basin
#

I am unable to get this information at this moment. Can you help out keeping both the payout modes in mind?

obsidian cave
#

Well, you can't get Payment Intents associated with a manual payout, so if you're not seeing any Payment Intents or Charges on the Balance Transaction, then that could be because you created the Payout manually.

For context: Stripe doesn't differentiate between what payments make up a payout unless Stripe created the payout for you. Anytime you create a Payout explicitly via /v1/payouts, you will not be able to find any payments associated with it

limber basin
#

So lets assume that payout was automatic, in this which api can provide me list of the payment intent id associated with a particular payout id?

obsidian cave
#

The same Balance Transaction API via the method in those docs

#

You would get a list of Balance Transactions where each Balance Transaction had a source that is the Payment Intent ID of one Payment Intent that was associated with the Payout.

limber basin
#

Okay, thanks a lot.

obsidian cave
#

Sure thing!