kehers / paystack

Nodejs API wrapper for Paystack
148 stars 76 forks source link

The subaccount get method not working #45

Open clementnduonyi opened 1 year ago

clementnduonyi commented 1 year ago

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 commented 1 month ago

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