The Chargily Pay API uses API keys for request authentication. You can access and manage your API keys on the Developers Corner page in the Chargily Pay Dashboard.

The secret key should be sent within an Authorization Bearer Header for each request.

Authorization
string
required

Authorization header in the format of Bearer [token], with [token] representing your API Secret Key.
Example: Bearer test_sk_Fje5EhFwyGTGqk4xxxxxxxxxxxxxxxxxxxxxxxxx

Requests made over plain HTTP (non HTTPS) and authentication-less (without providing an API key) will result in failure.

Make sure to NEVER share your secret API keys in public places such as GitHub or client-side code.