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

# List Vouchers

> Retrieve a paginated list of vouchers

<ParamField header="Authorization" type="string" required>
  Bearer token with `marketing:read` scope
</ParamField>

## Query parameters

<ParamField query="status" type="string">
  Filter by status: `pending`, `active`, `depleted`, `expired`, `cancelled`, `suspended`
</ParamField>

<ParamField query="type" type="string">
  Filter by type: `gift_card`, `store_credit`, `loyalty_reward`, `compensation`, `referral`
</ParamField>

<ParamField query="customer_id" type="string">
  Filter by customer ID
</ParamField>

<ParamField query="limit" type="integer" default="50">
  Number of results per page (max 100)
</ParamField>

<ParamField query="offset" type="integer" default="0">
  Number of results to skip
</ParamField>

## Response

<ResponseField name="data.vouchers" type="array">
  Array of voucher objects
</ResponseField>

<ResponseField name="data.meta.total" type="integer">
  Total number of vouchers matching the filter
</ResponseField>

<ResponseField name="data.meta.limit" type="integer">
  Number of results per page
</ResponseField>

<ResponseField name="data.meta.offset" type="integer">
  Number of results skipped
</ResponseField>

```bash Request theme={null}
curl -X GET "https://api.voyantcloud.com/v1/vouchers?status=active&type=gift_card" \
  -H "Authorization: Bearer $API_KEY"
```

```json Response theme={null}
{
  "data": {
    "vouchers": [
      {
        "id": "voucher_abc123",
        "code": "GC1A2B3C4D",
        "type": "gift_card",
        "status": "active",
        "customerId": null,
        "initialBalanceMinor": 10000,
        "currentBalanceMinor": 7500,
        "currency": "EUR",
        "expiresAt": "2025-12-31T23:59:59Z",
        "isTransferable": true,
        "lastUsedAt": "2024-07-15T10:30:00Z",
        "createdAt": "2024-01-15T09:00:00Z"
      }
    ],
    "meta": {
      "total": 1,
      "limit": 50,
      "offset": 0
    }
  }
}
```
