> ## Documentation Index
> Fetch the complete documentation index at: https://docs.masivo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Redeem gift card

> Mark a gift card as redeemed



## OpenAPI

````yaml Delete /rewards/gift-cards/redeem
openapi: 3.0.1
info:
  title: Masivo's REST API
  description: Learn how to use Masivo's REST API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.masivo.ai/api/storefront/v1
security:
  - bearerAuth: []
paths:
  /rewards/gift-cards/redeem:
    delete:
      description: Mark a gift card as redeemed
      parameters:
        - in: query
          name: code
          description: The gift card code to be redeemed
          required: true
          schema:
            type: string
        - in: query
          name: reward_id
          description: The reward id of the gift card
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Gift card redeemed
        '422':
          description: Invalid gift card code
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      required:
        - error
        - details
      type: object
      properties:
        error:
          type: string
        details:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````