---
updatedAt: 2026-09-08T22:10:53.000Z
agentTools:
  projectIndex: https://developers.virtualincentives.com/llms.txt
---

# Get Recipient Code

**Endpoint:** `https://rest.virtualincentives.com/{version}/{format}/recipients/{id}/code`

**Method:** `GET`

<Callout icon="📘" theme="info">
  This endpoint requires approval prior to access. Please contact your Virtual Incentives Client Success Manager to discuss your use case.
</Callout>

# Definitions

| Field | Type                          | Description                              |
| ----- | ----------------------------- | ---------------------------------------- |
| code  | **response only**<br />string | Claim code associated with the gift card |
| pin   | **response only**<br />string | PIN associated with the gift card        |

# Examples

## Response XML

```text
<recipient>
    <code>AAAAAA-BBBBBB-CCCCCC-DDDDD</code>
    <pin>1234</pin>
</recipient>
```

## Response JSON

```text
{
  "recipient": {
    "code": "AAAAAA-BBBBBB-CCCCCC-DDDDD",
    "pin": "1234"
  }
}
```