Question

Stripe API (Beta) - how to fetch a link for stripe connect accounts?

  • 27 April 2023
  • 2 replies
  • 37 views

Userlevel 1
Badge

We’re looking at using the new stripe api. We want to use it to fetch a link for stripe connect accounts

Does anyone have any idea how to do this?

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 7
Badge +11

Hey @otimo! 👋

The API Request (Beta) action would only be able to send requests to the same API endpoint that the Stripe integration is using. So if Stripe has a released a new API version with different endpoints that the Stripe app isn’t using yet, you’d need to use a Webhooks by Zapier action or build a custom integration on the Developer Platform in order to use those endpoints.

That said, it looks like if you use a make a API Request (Beta) action to make a GET request to the accounts endpoint (see: https://stripe.com/docs/api/accounts), it would get URL for an account. But it’s not clear whether that URL is the account link (see: https://stripe.com/docs/api/account_links) or the URL for something else. 


It might be worth making a request to the accounts endpoint to see if that does pull in the link you’re after. 

Can you give that a try (if you’ve not done so already!) and let us know whether that works? I’d be super interested to hear whether it does pull in the right account link or not. 🙂 

Userlevel 1

Hey @otimo, did you find any success using the Stripe API Request action or did the Webhooks by Zapier action work?

I’m trying to send a POST to an individual customer’s account on the /v1/invoices endpoint of Stripe’s API and keep receiving error 400’s on both actions. Either one states I must provide the customer or from_invoice parameters despite designating them in the request - or it returns an error stating there’s nothing to invoice for customer even with an invoice item set with a quantity of 1.