API connector with -X parameter

Hi,
I’m trying to connect the “cancel a PaymentIntent” endpoint:
https://stripe.com/docs/api/payment_intents/cancel?lang=curl

but it uses the -X parameter which I can’t figure out how to implement with Bubble’s API connector?
Anyone know how to do this?
Thanks in advance

It’s just a POST call.

Use this as your url:

https://api.stripe.com/v1/payment_intents/[id]/cancel

I tried. It didn’t work. In command prompt, I tried the call with and without the -X POST and it only worked when the -X POST is included. When I remove the -X POST, I get the same error in command prompt as I do when I try to initialize the call in Bubble

Post some screenshots of your set up

Thanks for your help here

Change the ‘Use as’ to ‘action’

Check the Queryst. box for your body parameter

It was the queryst that I was missing. Thanks for your help