Most Commerce API requests must be authenticated with an API key. You can create an API key in your Settings page after creating a Coinbase Commerce account.
Creating an API Key
Authenticated API requests should be made with a
X-CC-Api-Key header. Your secret API key should be passed as the value.
If authentication fails, a JSON object with an error message is returned with HTTP status
Example authenticated request:
curl https://api.commerce.coinbase.com/checkouts \
-H "X-CC-Api-Key: <Your API Key>"
Was this helpful?