---
updatedAt: 2025-05-27T02:58:24.000Z
agentTools:
  projectIndex: https://developers.e-guma.ch/llms.txt
---

# Promo Code Redemption

<HTMLBlock>{`
<link rel=\"stylesheet\" href=\"//dl.dropbox.com/s/w4h68wukvv8gjnt/style.css?dl=0\"> 
`}</HTMLBlock>

```text URL
POST https://api.e-guma.ch/v1/promo_codes/{code}/redeem.json?apikey={api-key}
```

## Parameters

| **Attribute**          | **Description**                                                                                                        |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| **code** `required`    | The alphanumeric code of the promo code. Please use *url\_encode* for the code as it might contain special characters. |
| **api-key** `required` |                                                                                                                        |

## POST Data

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>

      </th>

      <th>

      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **reference\_number**
        `optional`
      </td>

      <td>
        An optional alphanumeric reference number can be transmitted. Maximum 1024 characters.
      </td>
    </tr>
  </tbody>
</Table>

## Example

```text Request
GET https://api.e-guma.ch/v1/promo_codes/123456/redeem.json?apikey=510e32c594d84816a4af9df1
```

```json POST Data
{
  "reference_number":"ABC-123456"
}
```

```Text Response
{
}
```