Skip to main content
GET
Get Consents

Overview

Retrieves the current consent settings for a customer’s cart session. This endpoint returns all available consent options along with their current status, including whether they have been signed by the customer. Consent management is integrated into the checkout flow to ensure compliance with data protection regulations:
  1. Session-Based: Consents are stored in the cart session and persist until checkout completion
  2. Type-Based: Different consent types (marketing, terms, privacy) are supported
  3. UI Placement: Each consent includes a ui_slot hint for proper placement in your checkout UI
  4. Audit Trail: Signed consents include timestamp, IP address, and user agent for compliance

Response

array
required
Array of consent objects

Code Examples

Response Example

When no consents have been configured by the merchant:
  • A default marketing consent is provided if marketing_consent_text is configured
  • The default marketing consent is optional and revokable
  • No other consents are created by default

Error Responses

Common Errors