# Verificar Reais para Cashback

## Verificar Cashback que será inserido

<mark style="color:green;">`POST`</mark> `https://api.fidelimax.com.br/api/Integracao/VerificarCashback`

Quando o "CodigoResposta" for 100 quer dizer que o calculo de cashback foi retornado, caso o retorno do "CodigoResposta" for 103 quer dizer que o consumidor não existe ou está inativado no programa de fidelidade

#### Headers

| Name                                           | Type   | Description                                                                                                   |
| ---------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------- |
| Content-Type<mark style="color:red;">\*</mark> | String | application/json                                                                                              |
| AuthToken<mark style="color:red;">\*</mark>    | string | Token de integração que esta na sua plataforma de controle em Integrações > API da Fidelimax > Quero Integrar |

#### Request Body

| Name                                               | Type    | Description                                                                                                   |
| -------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------- |
| cpf                                                | string  | CPF do Consumidor. Campo obrigatório se os campos cartao, telefone não forem enviados                         |
| cartao                                             | string  | Cartão que pode ser vinculado ao consumidor. Campo obrigatório se os campos cpf, telefone não forem enviados  |
| telefone                                           | string  | Telefone do Consumidor, formato (11)99999-9999. Campo obrigatório se os campos cpf, cartao não forem enviados |
| pontuacao\_reais<mark style="color:red;">\*</mark> | decimal | Dinheiro em reais(R$) que usará como calculo do cashback. Exemplo o valor bruto/liquido do pedido de venda.   |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    "cashback": 5.00,
    "CodigoResposta": 100,
    "MensagemErro": ""
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fidelimax.com.br/cashback/verificar-reais-para-cashback.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
