Help Cannot do alipay charge.

Doing a post https://api.omise.co/charges
Gives me this error {
“object”: “error”,
“location”: “https://www.omise.co/api-errors#authentication-failure”,
“code”: “authentication_failure”,
“message”: “authentication failed”
}

Did on Postman, authorization is basic auth with private key as username and password as skey. Body used x-www-form with the parameters.

Hello @wei_wen,

Sorry you’re having issues! Please see our guide on API Authentication which states the following:

Authentication to Omise API is done via HTTP Basic Auth with your secret key as user name. Password is not required.

Hope this helps!