Client error: POST https://api.paystack.co/customer resulted in a 400 Bad Request response: {"status":false,"message":"\"metadata\" must be of type object"}
This error keeps coming when creating customer with the Paystack::createCustomer() method even when the metadata is empty!
Any idea why this error is happening?
Client error:
POST https://api.paystack.co/customer
resulted in a400 Bad Request
response: {"status":false,"message":"\"metadata\" must be of type object"}This error keeps coming when creating customer with the Paystack::createCustomer() method even when the metadata is empty! Any idea why this error is happening?