Authenticate your account when using the API by including your secret API key in the request. You can reach out to us to obtain your API keys. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
Authentication to the API is performed via HTTP Basic Auth. Provide your API key as the basic auth username value. You do not need to provide a password.
If you need to authenticate via bearer auth (e.g., for a cross-origin request), use
-H "Authorization: Bearer sk_test_BQoufuJOvBiI2HlWgH4olfQ2"instead of
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.