#chrisisskits-batch-cancelation
1 messages · Page 1 of 1 (latest)
Okay thanks
How do I provide a stripe_account to the cancel payment intent api call? I’ve provided it as a parameter but it’s telling me unknown parameter - using Ruby for reference
Can you show me what your call looks like?
Stripe::PaymentIntent.cancel(stripe_intent.id, stripe_account: stripe_account)
You should put curly braces around the stripe_account part like in our doc https://stripe.com/docs/api/connected_accounts?lang=ruby
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.