Sometimes, Cloudflare blocks API requests sent to Paystack servers that have no accompanying User Agent. Setting API requests with any User Agent resolves this.
My favourite UA is Chrome's (for no reason 😀 ) Mozilla/5.0 (Unknown; Linux) AppleWebKit/538.1 (KHTML, like Gecko) Chrome/v1.0.0 Safari/538.1