Closed triasrahman closed 4 years ago
Hey @triasrahman, thanks for your contribution. We are rolling out a proper fix in our system so this change won't be necessary. In the mean time, if you would like to override the agent, I suggest https://github.com/xendit/xendit-php#use-custom-http-client
Got error when add 'User-Agent' => null
Client error: GET https://api.xendit.co/balance?account_type=cash
resulted in a 400 Bad Request
response: {"error_code":"API_VALIDATION_ERROR","message":"There was an error with the format submitted to the server.","errors":[{ (truncated...)
Hi @agusesetiyono, account_type must be in caps CASH
Related to #62