#JacquesVivi
1 messages ยท Page 1 of 1 (latest)
Here is the PaymentIntent : https://dashboard.stripe.com/payments/pi_3NOpI3K5IWeP9lF81MI9B2W3
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Here is the latestCharge to the connect account : https://dashboard.stripe.com/acct_1NBaPOGd86hvr2Gb/payments/py_1NQJk6Gd86hvr2GbVSCqtzxD
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
So I have the paymentId : pi_3NOpI3K5IWeP9lF81MI9B2W3
And need to retreive the payoutId :
po_1NSrXaGd86hvr2GbL1nkUwUA
Hmm not sure if there's a way to get to the Payout from the PaymentIntent.
Mostly folks go about this the other way around: payouts -> PaymentIntent
Could you confirm it ?
That it has no way to get the payout from the PaymentIntent
So alternativelly I have to run a cron to get the list payouts regurlaly (https://stripe.com/docs/api/payouts/list)
And match the related transactions with my database ?
Also, how can I have the transactions related to a payout with this api : https://stripe.com/docs/api/payouts/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
We have docs on the latter
https://stripe.com/docs/expand/use-cases#charges-in-payout
I try but i got this error : Uncaught (Status 400) (Request req_i2edzpR0yBMeLA) No such payout: 'po_1NSrXaGd86hvr2GbL1nkUwUA'
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Ok is working
I have to used the second example
๐
I study the return. If a paymentIntent is on a balance transaction for "Payout_1" then he is disputed, couple of days laters, and the fund are reversal to the plateforme. Will he appears also on "Payout_2" ?
To be clear, one paymentIntent can it be link to multiple payouts ? (1 to many ?)
Do you mean if the PaymentIntent will appear in the negative payout?
yes
$txn->source->source_transfer->source_transaction
could it appears on two payouts or more ?
My understanding is that the source for the negative payout would be the dispute/refund and not the PaymentIntent itself. So I don't think it would show up twice, let me double check though
Ok thanks