paystack icon indicating copy to clipboard operation
paystack copied to clipboard

The subaccount get method not working

Open clementnduonyi opened this issue 3 years ago • 2 comments

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?

clementnduonyi avatar Dec 22 '22 21:12 clementnduonyi

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 avatar Sep 17 '24 09:09 gray-adeyi

@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

gray-adeyi avatar Dec 14 '24 11:12 gray-adeyi