Checking access…

Skip to main content
Version: v1
Audience: Consumers, CCG Platform Engineers

API Headers

When to use this page

If you need to find the headers required for CCG API calls, use this page.

This document provides details about the headers required or supported by the Convenient Checkout API endpoints.

Required Headers​

These headers are required as indicated. Operation-specific headers may also apply.

Header NameTypeRequiredDescription
AuthorizationstringYesBearer token used for authentication. Format: Bearer {token}
Content-TypestringConditionalRequired for requests with a body. Use application/json unless the operation specifies another media type; omit it for bodyless GET requests
X-Merchant-IdstringYesIdentifies the merchant making the request
πŸ”’ InternalNot visible in the public site
Internal: Technical Processing Details

Additional headers required for user-scope (widget-initiated) requests have moved to Engineering Guide β†’ User-Scoped Requests.

Optional Headers​

These headers provide additional context but are not required for all requests.

Header NameTypeRequiredDescription
X-sourcestringNoIdentifies the source/origin system of the request

Environment-Specific Headers​

Headers that might be required in specific environments.

Header NameTypeRequiredDescription
X-Upstream-EnvstringConditionalEnum: dev, stage, test, reg, perf. Specify the environment value. Only required for Non-Prod environments