Skip to navigation

Get All Gift Received

This endpoint provides users with a full list of received gifts including vouchers, coupons, promotions, and prizes through the City Of Treasture (COT) in a paged format. For each gift type, associated information, such as merchant details, balance, validity, and images are included for the user’s convenience.

Request Body

  • page (integer): Indicates the page number to display when more than one page of results is possible.

Response

  • coupons (array): An array containing details of any coupons the user has received.

  • promotions (array): An array detailing any promotions the user has been awarded.

  • vouchers (array): An array with the data related to any vouchers the user has received.

    • For each voucher, the data includes details such as the voucher ID, description, original and available balance, expiry date, etc.
  • cot_prizes (array): An array listing any prizes the user has won through City Of Treasture (COT).

    • For each prize, data such as the prize ID, numeric value, expiry date, image URL, etc., is included.

Query parameters

api_tokenstringOptional

Response

Get All Gift Received
messagestringOptional
apistringOptional
statusstringOptional
dataobjectOptional