#nicus_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1285252982602207313
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- nicus_api, 1 hour ago, 20 messages
Hi, I am trying to associate some payments made with a standard payouts
I tried to get the information using this script:
client = StripeClient("DEV", version=StripeClientVersion.V2024_04_10) charges = client.stripe.BalanceTransaction.list( payout="po_1Pz6vRR0CU5Ba1iiFFR5EMQt", expand=["data.source"], stripe_account="acct_1PyXy9R0CU5Ba1ii" )
but the information on charges, returns always a null for charges.data[x].source.payment_intent
Hello
hi
These Charges are the result of Destination Charges, yes?
sorry, can you rephrase?
The Charges on the Connected Account, they are the result of Transfers from your platform?
There is no PaymentIntent on the Connected Account here. You want to look at the source_transfer: https://docs.stripe.com/api/charges/object#charge_object-source_transfer
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Not the source
charges.data[x].source_transfer.source_transaction.payment_intent is what you want
You will need to expand objects as needed
let me check
how can I expand source_transfer?
charges = client.stripe.BalanceTransaction.list( payout="po_1Pz6vRR0CU5Ba1iiFFR5EMQt", expand=["data.source_transfer"], stripe_account="acct_1PyXy9R0CU5Ba1ii" )
throws: his property cannot be expanded (data.source_transfer).