Calls to certain GET routes with parameters fail because query string parameters are not set, hence Paystack API calls return error.
e.g.
paystack.verification.resolveAccount({ account_number: '1234567890', bank_code: '123' })
.then(body => {
// do something with body.data
console.log(body.data)
})
.catch(err => console.error(err) )
This call throws the error 'bank_code' is required directly from Paystack. On introspection of the request, account_number and bank_code were never included with the request.
I would presume endpoints with similar implementation would be affected as well.
Calls to certain
GET
routes with parameters fail because query string parameters are not set, hence Paystack API calls return error. e.g.This call throws the error
'bank_code' is required
directly from Paystack. On introspection of the request,account_number
andbank_code
were never included with the request.I would presume endpoints with similar implementation would be affected as well.