#Scotty
1 messages ยท Page 1 of 1 (latest)
Hi ๐ yes, you should create Payment Intents instead of Charges, but the two are not mirrors of each other. If your integration relies on fields like receipt_url that reside on the Charge object, then you will want to retrieve those from the Charge that is created for your Payment Intent.
The latest_charge field on the Payment Intent will contain the ID of the associated Charge object:
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-latest_charge
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok, thanks a lot @winged grail
Any time!