Coupon Validation

This API is used to verify whether a coupon is valid before processing “Coupon Redemption”.
The coupon is validated based on the following criteria:

  • Validity of the coupon code
  • Coupon expiration period
  • Whether the user has exceeded the maximum usage limit per person
  • Whether the coupon has already been used

This API is available from the Personal plan.

Http Header
GET /api/coupon/v1/validate?cpnNo={cpnNo}
Host: https://vivoldi.com
Authorization: APIKey {Your API Key}
Content-type: -
User-agent: {Your User-agent}
Accept-Language: en
Request
{
	"cpnNo": "ZJLF0399WQBEQZJM"
}
FieldsField DescriptionsDescriptionRequiredType
cpnNoCoupon number The coupon number to validate.
If the validation fails, check the message in the Response.
string
 
Response
{
	"code": 0,
	"message": "",
	"result": {
		"cpnNo": "ZJLF0399WQBEQZJM",
		"nm": "$100 off cake coupon",
		"discTypeIdx": 457,
		"discCurrency": "USD",
		"formatDiscCurrency": "$60",
		"disc": 60.0,
		"strtYmd": "2025-01-01",
		"endYmd": "2025-12-31",
		"useLimit": 1,
		"imgUrl": "https://file.vivoldi.com/coupon/2024/11/08/lmTFkqLQdCzeBuPdONKG.webp",
		"onsiteYn": "Y",
		"onsitePwd": "123456",
		"memo": "60% off cake with coupon at the venue",
		"url": "",
		"userId": "user08",
		"userNm": "Emily",
		"userPhnno": "202-555-0173",
		"userEml": "test@gmail.com",
		"userEtc1": "",
		"userEtc2": "",
		"useCnt": 0,
		"regYmdt": "2024-11-17 17:29:25"
	}
}
FieldsDescriptionType
codeResponse code (0:Success)int
messageThe response message, or a related message if the response code is non-zero.string
result
FieldField DescriptionDetailsType
cpnNoCoupon Number-string
nmCoupon Name-string
discTypeIdxCoupon Type457:Rate Discount (%), 458:Amount Discountint
discCurrencyCurrencyKRW, CAD, JPY, CNY, EUR, GBP, IDR, MUR, RUB, SGD, USDstring
formatDiscCurrencyCurrency Symbol-string
discDiscountRate or amount of discountdouble
strtYmdStart Date-Date
endYmdEnd Date-Date
useLimitUsage Limit per User0:Unlimited, 1:Once, 2:Twice, 3:Three times, 4:Four times, 5:Five timesint
imgUrlCoupon Image URLTo set an image when creating a coupon via API, create a coupon group in the dashboard, upload the image, and specify the group when calling the API.string
onsiteYnOn-site CouponY:On-site, N:Not on-siteY or N
onsitePwdOn-site Coupon PasswordPassword used by store staff to redeem the on-site couponstring
memoMemoAdditional info used internally for coupon managementstring
urlUse Coupon URLURL the user is redirected to when clicking the "Use Coupon" buttonstring
userIdUser ID-string
userNmUser Name-string
userPhnnoUser Phone Number-string
userEmlUser Email-string
userEtc1User Extra Info 1-string
userEtc2User Extra Info 2-string
useCntUsage CountNumber of times the user has used the couponint
regYmdtCreated DateExample: 2025-07-21 11:50:20Datetime
object