Key | When to Use |
---|---|
Secret Key (api-key) | Used to authenticate API requests from your merchant server. Don’t expose this key on a website or embed it in a mobile application. |
Publishable Key | Used to authenticate API requests from your app’s client. Can be publicly-accessible in your web or mobile app’s client-side code. |
Open your API request
Navigate to the “Authorization” tab
Set the Type to: API Key from the dropdown
Key Name: Name of the header or parameter (api-key).
Value: Your API key.
Add to: Select whether it should be added to Headers or Query Params.