Problem when initializing call in API Connector for Stripe

Hi all,

I have a problem connecting the with Stripe’s API through the API Connector. After I set up all the required information (as explained by this great tutorial: https://www.youtube.com/watch?v=KM0Fre2-zqA), when I try to initialize the call, it throws an error:

These is what I have set up:

I am not a developer, so I might be missing something but I really cannot understand what the solution could be.

All of this should be the first step to start accepting SaaS subscriptions with Stripe. I have also added the Stripe integration which I think will help me after I set up the API correctly.

Hope someone is able to help!

Thanks,

Filippo

Error message:

There was an issue setting up your call.

Raw response for the API
Status code 401
{
“error”: {
“message”: "You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer auth (e.g. ‘Authorization: Bearer YOUR_SECRET_KEY’). See Stripe API reference – curl for details, or we can help at https://support.stripe.com/.",
“type”: “invalid_request_error”
}
}

You need to change the Authentication method to ‘Private Key in Header’ (not in URL)

Thanks a lot, that worked!

I am also adding another GET call and was wondering what ID value should I put in the “Value” field.

Stripe’s API documentation gives an example but I am not sure I can put that (Retrieve a subscription | Stripe API Reference):

On Stripe’s end, I can’t find a subscription ID for a test customer/subscription. What can I do?

Thanks again!

You need to enter a valid Subscription ID from your account.

1 Like