#John Murphy-Connect
1 messages ยท Page 1 of 1 (latest)
The PaymentIntent is still belongs to the Platform, and its description is on its own ๐
From the Destination charge on its Connected account, you can retrieve back the "original" PaymentIntent and find its description
we're trying to pass through a system-payment-identifier via description which could flow through to destination account for their reconciliation report
it's a bit of a interesting scenario where the rec report pulls the destination charge description instead of the platform account description when running the report from the platform account
I think you can listen to webhook to set the description yourself
When you receive the payment_intent.succeed (pi_xxx) on Platform, you can inspect it's Charge object and its transfer to get the Transfer Id. From Transfer Id you can retrieve the Transfer object, which in turn has the Payment on Connected Account (py_xxx). Now you can update this Payment (py_xxx object) with the description from your original pi_xxx PaymentIntent
Transfer inside a Charge: https://stripe.com/docs/api/charges/object#charge_object-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.
Retrieve a Transfer: https://stripe.com/docs/api/transfers/retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Py inside a Transfer: https://stripe.com/docs/api/transfers/object#transfer_object-destination
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
it's the reconciliation report out of stripe dashboard
I know, after you implement above steps, you should have description on your destination charge, and the report will naturally take it for you