---
title: "Resendgiftcardsecuritycode"
method: POST
path: "/v2/giftcards/programs/{programId}/cards/{cardId}/resend-code"
tags: ["Gift Cards"]
---

# Resendgiftcardsecuritycode

`POST /v2/giftcards/programs/{programId}/cards/{cardId}/resend-code`

### Resend Security Code

Generates a new security code for the gift card and resends it via email or SMS.
Applicable primarily to PENDING cards, allowing merchants to re-send the code if
the customer lost the email/SMS or needs a fresh code.

## Path parameters

- `programId` string, required
- `cardId` string, required

## Headers

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

## Request body

- ResendSecurityCodeRequest
  - `customerEmail` string, email, nullable
  - `customerPhone` string, phone, nullable
  - `senderName` string, nullable
  - `customMessage` string, nullable

## Response `200`

Successful Response

- unknown

## 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)
