Skip to main content

My Coupons Endpoint

The signed-in user's coupon wallet: every code they claimed, used, or let expire — newest claim first. This is also the only place where sign up and birthday coupons show up, since those campaigns are never browsable.

  • Endpoint: /api/v1/me/campaign-coupons
  • Method: GET or POST
  • Authentication: Partner token and a signed-in user (Sanctum bearer token).

Headers

HeaderValueRequiredDescription
Partner-Access-TokenBase64 StringYesYour encrypted AES-256 time-sensitive token.
AuthorizationBearer <token>YesSanctum token of the signed-in user.
Content-Typeapplication/jsonYes
Acceptapplication/jsonYes
X-Currencye.g. THBOptionalCurrency for all money fields. Defaults to THB.

Payload Parameters

ParameterTypeRequiredDescription
pageIntegerOptionalPage number. Minimum 1. Defaults to 1.
limitIntegerOptionalRecords per page. Between 1 and 100. Defaults to 10.
statusStringOptionalFilter: all, claimed, used, or expired. Defaults to all.

Status Filter Mapping

Value you sendCoupons returned
allEvery coupon the user ever held.
claimedClaimed and still usable (internal status issued).
usedAlready redeemed on a booking (internal status redeemed).
expiredPast their expiry (internal status expired).

Sample Payload

{
"page": 1,
"limit": 10,
"status": "claimed"
}

Sample Response

{
"result": 1,
"message": "success",
"data": {
"meta": {
"current_page": 1,
"last_page": 1,
"per_page": 10,
"total": 2
},
"coupons": [
{
"id": 9821,
"code": "SONGKRAN10",
"currency": "THB",
"status": "claimed",
"discount_type": "percentage",
"discount_value": 10,
"min_purchase_amount": 1000,
"max_discount_amount": 500,
"coupon_expiry": "2026-05-31T23:59:59.000000Z",
"claim_expiry": "2026-04-04T09:00:00.000000Z",
"reward": "TourMind Hotel",
"reward_destinations": [
{
"id": 12,
"name": "Thailand"
}
],
"reward_variations": [],
"rules": [
"Save up to THB 500",
"Min. spend THB 1000"
],
"applicable_for": "Valid for <strong>Hotel</strong> in <strong>Thailand</strong>",
"campaign": {
"id": 41,
"name": "Songkran Hotel Sale",
"slug": "songkran-hotel-sale",
"status": "running",
"promotion_type": "coupon",
"start_at": "2026-04-01T00:00:00.000000Z",
"end_at": "2026-04-30T23:59:59.000000Z",
"coupon_expiry": "2026-05-31T23:59:59.000000Z",
"description": "Save on hotel stays across Thailand.",
"term_and_conditions": "<p>One coupon per booking.</p>",
"images": [],
"applicable_for": "Valid for <strong>Hotel</strong> in <strong>Thailand</strong>"
}
}
]
}
}

Notes

  • Statuses are shown in their user-facing form: issued is returned as claimed and void as fully redeemed.
  • discount_amount is not present here. This endpoint has no cart to price the coupon against — use Applicable Coupons for that.
  • A coupon in this list is not automatically usable for the current cart. Always validate it against the product before showing it at checkout.