# Get enrollment

> Returns one of your company's enrollments by id, with the status of each product.

Página: https://doc.rapidchargeback.com/en/canais/enrollments/consultar-enrollment/

Returns one of your company's enrollments by id, with the status of each product. The id is the one [Request enrollment](https://doc.rapidchargeback.com/en/canais/enrollments/pedir-enrollment/) returns and the `merchant_enrollment_id` of the alerts.

## Endpoint

```
GET https://api.rapidchargeback.com/api/v1/enrollments/:enrollment_id
```

## Authentication

```
Authorization: Basic base64(client_id:client_secret)
```

---

## URL parameters

| Param | Type | Description |
|---|---|---|
| `enrollment_id` | string (UUID) | The enrollment `id` |

This route takes no query params: any parameter in the URL is rejected with `422 VALIDATION_ERROR` (`Unknown field: <name>`).

---

## Request example

```bash
curl https://api.rapidchargeback.com/api/v1/enrollments/00000000-0000-0000-0000-0000000000aa \
  -H "Authorization: Basic Y2xpZW50X2lkOmNsaWVudF9zZWNyZXQ="
```

---

## Response

### Success

```
HTTP/1.1 200 OK
```

```json
{
  "data": {
    "id": "00000000-0000-0000-0000-0000000000aa",
    "merchant_id": "00000000-0000-0000-0000-000000000001",
    "merchant_ref": "PB-1001",
    "enrollment_type": "descriptor",
    "descriptor_value": "loja exemplo",
    "descriptor_rule": "exact",
    "bin": null,
    "caid": null,
    "arn": null,
    "products": {
      "alert": { "status": "rejected", "rejection_reason": "Descriptor not found in the store's transactions", "approved_at": null },
      "prevention": null
    },
    "created_at": "2026-11-06T12:00:00.000Z",
    "updated_at": "2026-11-07T15:00:00.000Z"
  }
}
```

The fields are in [Request enrollment](https://doc.rapidchargeback.com/en/canais/enrollments/pedir-enrollment/#created) and the statuses in [Status of each product](https://doc.rapidchargeback.com/en/canais/enrollments/visao-geral/#status-of-each-product).

### Enrollment not found

```
HTTP/1.1 404 Not Found
```

```json
{
  "error": {
    "code": "ENROLLMENT_NOT_FOUND",
    "message": "Enrollment not found"
  }
}
```

The same `404` applies to an id that does not exist, belongs to another company or is not a UUID.

---

## Notes

- **Auth, rate limit, error codes:** see [Authentication](https://doc.rapidchargeback.com/en/referencia/autenticacao/) and [Response codes](https://doc.rapidchargeback.com/en/referencia/codigos-de-resposta/).
