#Свят

1 messages · Page 1 of 1 (latest)

subtle estuaryBOT
#

Hello! We'll be with you shortly. 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.

lean hull
#

That is expected behavior, that parameter expects a charge ID (ch_123 or py_123)

#

pi_123 is the ID of a PaymentIntent which is related but a different object type. So the Stripe API is erroring because it can't find a Charge object with that ID

calm phoenix
#

okay

#

how to find related charge ?

#

using api

#

please

#

how to get this ch_ or py_

lean hull
#

The PaymentIntent has a property with the related charge

#

In newer API versions it is latest_charge, in older ones there is a charges array that you can get the first element of

calm phoenix
#

okay, I will try, thank you)