v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Gift Cards

Getgiftcardconsentbyidentifier

Look up GDPR consent by email, phone, or customer ID.

Use this endpoint when searching by email or phone (no customerId needed). For path-based lookup by customerId, use /gdpr/consent/{customerId}.

get/v2/giftcards/gdpr/consent/lookup

Query parameters

customerIdstring nullable
customerEmailstring nullable
customerPhonestring nullable
programIdstring
Example:5eb7cf5a86d9755df3a6c593
cardIdstring
Example:5eb7cf5a86d9755df3a6c593

Headers

X-Eposn-Customer-Tokenstring nullable
X-Eposn-Merchant-Tokenstring nullable

Response

Successful Response

customerIdstring required
purposesstring[] required
consentedAtstring date-time required
ipAddressstring nullable required
expiresAtstring date-time nullable required
updatedAtstring date-time nullable required