> For the complete documentation index, see [llms.txt](https://developers.myhubdelivery.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.myhubdelivery.io/orders/loyalty/redeem.md).

# Redeem

## Resgate de pontos

<mark style="color:green;">`POST`</mark> `https://{account}.myhubdelivery.io/loyalty/api/v1/{merchantId}/redeem/{programId}/{participantId}/points`

{% hint style="success" %}
**Exemplo do conteúdo da requisição**
{% endhint %}

```json
{
    "externalCode": "6c79ef4b-40a9-4266-9ee0-07f85062aa82",
    "description": "Resgate Cashback - Compra 123",
    "points": 100
}
```

## Resgate de valor

<mark style="color:green;">`POST`</mark> `https://{account}.myhubdelivery.io/loyalty/api/v1/{merchantId}/redeem/{programId}/{participantId}/amount`

{% hint style="success" %}
**Exemplo do conteúdo da requisição**
{% endhint %}

```json
{
    "externalCode": "6c79ef4b-40a9-4266-9ee0-07f85062aa82",
    "description": "Resgate Cashback - Compra 123",
    "amount": 1.99
}
```
