API Headers
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 Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer token used for authentication. Format: Bearer {token} |
Content-Type | string | Conditional | Required for requests with a body. Use application/json unless the operation specifies another media type; omit it for bodyless GET requests |
X-Merchant-Id | string | Yes | Identifies the merchant making the request |
Optional Headersβ
These headers provide additional context but are not required for all requests.
| Header Name | Type | Required | Description |
|---|---|---|---|
X-source | string | No | Identifies the source/origin system of the request |
Environment-Specific Headersβ
Headers that might be required in specific environments.
| Header Name | Type | Required | Description |
|---|---|---|---|
X-Upstream-Env | string | Conditional | Enum: dev, stage, test, reg, perf. Specify the environment value. Only required for Non-Prod environments |