Skip to main content
Best answer

Issue with authentication on Stripe API GET request

  • October 20, 2021
  • 4 replies
  • 553 views

Im trying to perform a GET request using the Zapier Webhook action. However, I cannot get the auth to work.

Ive sent up the action like so…

This post has been edited by a moderator to remove sensitive information. Please remember to obfuscate any personally identifiable information prior to posting as this is a public forum. 


If I test this in CURL it works fine. From what I can see it might be because the header value is being placed on 2 lines. Eitherway, any help would be much appreciated…

Thanks,

Best answer by rickdonatoBest answer by rickdonato

Thanks. I managed to fix this in the end by looking at: https://zapier.com/help/doc/how-to-use-stripe-payment-links-with-zapier

Solution was to change the auth to Basic Auth and then also change the GET params.

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi @rickdonato 

  1. Try removing the header.
  2. Put the API Key in the Basic Auth field followed by a pipe |

 

For reference…

Stripe Authentication: https://stripe.com/docs/api/authentication

Stripe API endpoint: https://stripe.com/docs/api/checkout/sessions/retrieve

 


  • Author
  • Beginner
  • 2 replies
  • October 21, 2021

Thanks. I tried this also previously but I get a 400 ? 
 


Thanks for all your help.


Troy Tessalone
Forum|alt.badge.img+14

@rickdonato 

Based on your latest screenshot, we can’t tell how your Webhook step is now configured.

Check the Stripe documentation for guidance about the errors and how to handle: https://stripe.com/docs/error-codes#unknown-parameter

 


  • Author
  • Beginner
  • 2 replies
  • Answer
  • October 21, 2021

Thanks. I managed to fix this in the end by looking at: https://zapier.com/help/doc/how-to-use-stripe-payment-links-with-zapier

Solution was to change the auth to Basic Auth and then also change the GET params.