v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Gift Cards

Resendgiftcardsecuritycode

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.

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

Path parameters

programIdstring required
Example:5eb7cf5a86d9755df3a6c593
cardIdstring required
Example:5eb7cf5a86d9755df3a6c593

Headers

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

Request body

customerEmailstring email nullable
customerPhonestring phone nullable
senderNamestring nullable
customMessagestring nullable

Response

Successful Response

{"stackTrail":"paths:/v2/giftcards/programs/{programId}/cards/{cardId}/resend-code:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}