---
updatedAt: 2026-05-13T15:54:13.000Z
agentTools:
  projectIndex: https://developers.resova.com/llms.txt
---

# The gift voucher object

Gift vouchers are types of gifts that can be purchased by customers, ie "Gift voucher for £10.00", which when purchased will generated a redeemable gift code.

<Table align={["left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Attributes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        * \*id\*\* *integer*
          The unique id for the object.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        * \*name\*\* *string*\
          The name of the gift voucher.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        * \*amount\*\* *positive float*\
          The purcase amount for this gift voucher.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        * \*voucher*type\*\* \_string*\
          Can be: value or spaces.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        * \*discount\*\* *positive float*\
          The discountable amount for a gift code belonging to this voucher.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        * \*description\*\* *string*\
          The discription of how the gift voucher is applied.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        * \*status\*\* *boolean*\
          True if the gift voucher is active.
      </td>
    </tr>
  </tbody>
</Table>