logo
API Documentation
Authentication

Things to Note

To authenticate via bearer auth (e.g., for a cross-origin request), use -H "Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc" instead of just sk_test_4eC39HqLyjWDarjtT1zdp7dc.

The Bearer authentication scheme, created as part of OAuth 2.0 in RFC 6750, can also be used independently.

Like the Basic authentication, the Bearer authentication should also be used over HTTPS (SSL).

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.