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
Currently,
PaystackResponse
only contains thestatusCode
,status
,message
,data
. some endpoints include additional data that is not currently captured by thePaystackResponse
. add the following missing fieldsmeta
,type
andcode
to thePaystackResponse
type and configure thedeserilizeResponse
in therestClient
to include this additional data in the returned response