---
title: "Erasegiftcardcustomerdata"
method: POST
path: "/v2/giftcards/gdpr/erasure"
tags: ["Gift Cards"]
---

# Erasegiftcardcustomerdata

`POST /v2/giftcards/gdpr/erasure`

## Query parameters

- `programId` string
- `cardId` string

## Headers

- `X-Eposn-Customer-Token` string, nullable
- `X-Eposn-Merchant-Token` string, nullable

## Request body

- RightToErasureRequest
  - `customerId` string, nullable
  - `customerEmail` string, email, nullable
  - `reason` string, nullable

## Response `200`

Successful Response

- RightToErasureResponse
  - `requestId` string, required
  - `status` string, required
  - `affectedCards` string[], required
  - `completedAt` string, date-time, nullable
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/loyalty/apis/loyaltydog.md) · [All operations](https://skmtc.net/loyalty/apis/loyaltydog/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loyalty/loyaltydog/versions/42b7b22af2b6/schema)
