#ЕленаГрос
1 messages · Page 1 of 1 (latest)
That's a checkout session ID, you should retrieve the checkout session object and use its payment_intent ID (https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-payment_intent) to create a refund.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.