v2
latestOpenAPI 3.1.02026-08-01244220427.0 KBGift Cards
Creategiftcardconsent
Create or update GDPR consent for a customer identified by email or phone.
Use this endpoint when saving consent without a known customerId. Requires customerEmail or customerPhone in the request body.
post/v2/giftcards/gdpr/consent
Query parameters
programIdstring
Example:5eb7cf5a86d9755df3a6c593
cardIdstring
Example:5eb7cf5a86d9755df3a6c593
Headers
X-Eposn-Customer-Tokenstring nullable
X-Eposn-Merchant-Tokenstring nullable
Request body
Response
Successful Response