Ravelin uses API keys and token authentication to allow access to our APIs.
Your API keys can be found under the API Keys tab in the Developer section of the dashboard.
Your Secret API Keys should be used when sending requests to api.ravelin.com and will either have the prefix
You should include your Secret API Key in the
Authorization header of all requests to api.ravelin.com in the format:
Authorization: token sk_live_your_secret_key. All requests should be made using HTTPS.
curl "https://api.ravelin.com/v2/checkout" -H "Authorization: token sk_live_your_secret_key" -X POST ...
Your Publishable API Keys (and, if provided, your Public RSA Keys) should be used by ravelinjs and the Ravelin Mobile SDKs.
Your Publishable API Keys will either have the prefix
Keys for use with your sandbox account include the term
while keys for use with your live account include the term
Your sandbox keys can be accessed in the same API Keys tab in the Developer section
of the dashboard, when you’ve switched to your sandbox account from the account menu.
You can request for new API keys to be generated by contacting your account manager.