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

The subaccount get method not working #45

Open
clementnduonyi opened this issue Dec 22, 2022 · 2 comments
Open

The subaccount get method not working #45

clementnduonyi opened this issue Dec 22, 2022 · 2 comments

Comments

@clementnduonyi
Copy link

What to get a subaccount using the subaccount code. This, paystack.subaccount.get({id_or_slug}) is the code I use and didn't work. I keep getting the error with this expression - type error, ```
if(!body){
...
}

from paystack/index.  What is the way to do this?
@gray-adeyi
Copy link

Hi! try out this package. It's not yet a major release but it supports typescript and other JavaScript runtime like bun and Deno https://www.npmjs.com/package/@gray-adeyi/paystack-sdk

@gray-adeyi
Copy link

@gray-adeyi/paystack-sdk 0.2.4 release is now available with even better type support 🔥 https://www.npmjs.com/package/@gray-adeyi/paystack-sdk

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

2 participants