Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a "Stripe-Account" header #67

Open
emhoracek opened this issue Apr 5, 2017 · 3 comments
Open

Adding a "Stripe-Account" header #67

emhoracek opened this issue Apr 5, 2017 · 3 comments

Comments

@emhoracek
Copy link
Contributor

First off, thanks for maintaining this great library!

So, I have an app with a Stripe account that needs to make charges for and charge fees to other accounts. So, we can use Stripe Connect for that! And just using API keys from the other accounts along with the ApplicationFee param works great.

However, Stripe prefers that apps use this form of authentication instead, a header with a Stripe account id.

I can't figure out if stripe-haskell doesn't have this capability or if I'm just missing it?

Appreciate any help!

@dmjio
Copy link
Owner

dmjio commented Apr 17, 2017

Hi @emhoracek, and thank you :)

Unfortunately, this library does not (yet?) support Stripe Connect. It was actually added to the old stripe library by @lukehoersten. If you ask nicely maybe he'll make a PR into this project :)

I'm not too familiar with your specific use case, but if your use case is simply to add a header to a request I can most likely create functionality to accommodate it. Let me know. I'm not as familiar with Stripe Connect since at the time (in 2014) Connect's docs were separate from the main stripe API docs.

@aviaviavi
Copy link

Hi @dmjio - Just checking, is Stripe Connect still unsupported by this library? I don't see much in this repo for it, but just wanted to make sure I'm not missing it somewhere before writing the bindings for that part of the API myself.

@dmjio
Copy link
Owner

dmjio commented Jul 16, 2019

@aviaviavi that's correct. PRs always welcome. Let me know if you want to collaborate on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants