gray-adeyi / paystack-sdk

A paystack client SDK for the javascript runtime.
MIT License
5 stars 0 forks source link

Additional data to the response #33

Open gray-adeyi opened 2 hours ago

gray-adeyi commented 2 hours ago

Currently, PaystackResponse only contains the statusCode, status, message, data. some endpoints include additional data that is not currently captured by the PaystackResponse. add the following missing fields meta, type and code to the PaystackResponse type and configure the deserilizeResponse in the restClient to include this additional data in the returned response

gray-adeyi commented 2 hours ago

All pull requests should be send to the dev branch