#vrk18_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/1229993765381476423
๐ 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.
- vrk18_api, 14 minutes ago, 8 messages
hello! can you give an example of the paymentID?
py_1P3pBEH6I1szjHmvWJlD8IS4
hrm, try retrieving the transfer from https://docs.stripe.com/api/charges/object#charge_object-transfer using https://docs.stripe.com/api/transfers/retrieve, and expand the source_transaction (https://docs.stripe.com/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.
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 object in source_transaction should contain a payment_intent id
If I have the balance transaction of type "payment", to get the paymentIntent from it, is same procedure right ??
probably, but there can be different reasons why a payment is created, you can try and see
How can I get the chargeID when I have the paymentID ?
it'll appear in the source_transaction as per the previous steps
I have the paymentID as sourceID on the Balance Transcation for type "payment", I don't have any charge ID
can you paste that source value in your screenshot here
py_1P3oflH6I1szjHmvKYb27GcL
in this case, since you have the Balance Transaction object, retrieve the Charge object using py_1P3oflH6I1szjHmvKYb27GcL (https://docs.stripe.com/api/charges/retrieve) and expand transfer.source_transaction
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I am sorry, it is saying such charge for "py_1P3oflH6I1szjHmvKYb27GcL"
I am assuming that for BalanceTranscation.Type "payment", with BalanceTranscation.SourceID I can retrieve the Payment object only right ??
Is there any Payment object in Stripe?
*no such charge for "py_1P3oflH6I1szjHmvKYb27GcL"
๐ taking over
Hello
Can you paste the code you used to retrieve the Charge here?
Okie can you find the request sent to Retrieve the charge on your request log? https://dashboard.stripe.com/test/logs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
it's in the format req_xxx
req_EIl9NJH6tGkF1B
Okie, can you use a Stripe Account header on the Connecter Account acct_1OKvAxH6I1szjHmv?
you mean request options??
for this Charge? charge = new ChargeService().Get( transaction.SourceId );
I am sorry, I need the paymentIntent IDs of the payments and refundIDs of refunds which included in a payout for connected account, how can I get them ?