GuidesAPI Reference
DocumentationLog In

Versioning

All API calls should include an API version in the header using X-CC-Version. API versions are of the form YYYY-MM-DD, indicating the date on which that version was released.

The latest version of the Commerce API is 2018-03-22. Only major versions are released.

Example request:

curl https://api.commerce.coinbase.com/checkouts \
     -H "X-CC-Api-Key: <Your API Key>" \
     -H "X-CC-Version: 2018-03-22"

If no version is passed, or if an unknown or invalid version is given, the latest API version is used and a warning is included in the response.

📘

Include a valid version with every request to avoid unexpected breakage. Do not pass the current date as your version header.


See Also: