Dintero HTTP headers
The API supports various headers to either add metadata or to change the behavior of the API.
API-wide metadata headers
We recommend using the following optional HTTP headers for all requests to the Checkout API. These headers provide useful metadata about the merchant's system, which help Dintero improve our services, and also helps with troubleshooting.
Header | Description | Example value |
---|---|---|
Dintero-System-Name | The name of the ecommerce solution | woocommerce |
Dintero-System-Version | The version number of the ecommerce solution | 5.4 |
Dintero-System-Plugin-Name | The name of the ecommerce plugin | Dintero.Checkout.WooCommerce |
Dintero-System-Plugin-Version | The version number of the ecommerce plugin | 2020.11.03 |
Endpoint-specific behavior modifiers
For some requests, the API supports headers that can change the behavior. These will be mentioned in the API spec.
Recommended
Endpoint | Recommended value | Description |
---|---|---|
Create session from profile | Dintero-Feature-Toggles: strict-session-amounts | Strict validation of order amounts |