> For the complete documentation index, see [llms.txt](https://docs.scorepositivo.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scorepositivo.com.br/pessoa-fisica/autentica/autentica-cartao.md).

# Autentica Cartão

<table><thead><tr><th width="237">Código</th><th>Tipo</th></tr></thead><tbody><tr><td><mark style="color:blue;">cpf-auth-card</mark></td><td>Síncrono</td></tr></tbody></table>

### Parâmetros adicionais de requisição:

<table><thead><tr><th width="239">Campo</th><th width="537">Descrição</th></tr></thead><tbody><tr><td>last_four</td><td><mark style="color:red;">Obrigatório</mark><br>Últimos 4 dígitos do cartão ”1234”</td></tr><tr><td>ccbin</td><td><mark style="color:red;">Obrigatório</mark><br>Primeiros 6 dígitos do cartão ”123456”</td></tr></tbody></table>

### Exemplo de requisição:

```bash
curl --location --request POST 'https://core.scorepositivo.com.br/api/report' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxMDAwMDAxIiwianRpIjoiNTgyYWNhNTRmYTdlYTE0NTdiMDViNmM1NDUzMzgxZDc5OWRiOGU4Mzk1YzY5ZTA4YTExNDg2NjY1OThkM2U4YTVkY2UxN2U5MGM2NDk0ZTgiLCJpYXQiOjE2OTkzODMyMjguODA0NTEsIm5iZiI6MTY5OTM4MzIyOC44MDQ1MTUsImV4cCI6MTY5OTM4NTAyOC43OTYyMTgsInN1YiI6IiIsInNjb3BlcyI6W119.VaFhMERsuxNZCtNxmDQuB6y3MLuUaKCuPA5VmyijKBT2m6So6Iku5713kzjaDiZaAa87jghnq0xJAcrALikotqR4SCX9rnoHt1SN1t_p4ZLGx53n9mfJbhEMoSxn4L54u9lT471oo6JOnu0aaeYGv798bS4yKcCZq_myrLzIw8fM167qw8CGOthcgHXRdm8ryE3wgLzyH7N8W7U_ydQTh0Vfn3IU7AhMxX6E7Z6wIz47F3rIcNOH-EURcLNimxlKOZgz-1KRLkrg2xDuCH52b-b9-AQrVPwyQSa0565FW5LPckR9YR_6n2V0Xjjx5Xv4bw9NbsRzHUApiwqXgv4R_CzyZFDcOmugUIcRutuufEBUmklKSaWM0aTlIC0NAf8h1MIRCd917Zbbds9KxZcZzzUKnOD9PMRs4xAD40k2NbvLqih9v_XNdrhUtFfD6XKs9nddQnygbwFCBP0bm6u1hNB0izjjdpSi3WsA-dOXEe8LNCwU4ZKqbHFowARe6CSxUA5goh58M7OE5mcjdIK8T8yg6xKibAwGMrxvIVu7amVTTu8rAlJKJeuyQhRXHTQ49KmCxZ-921wAJB2aSoaSQsPKcQwMv4u5o3vXe18n6KEVsaHc76OJxxJDRjRI4b3mLSovm5VLYVsY6QIewtvcQ30r4sPgfq3ebCFbFClphCU' \
--data '{
    "report_id":"cpf-auth-card",
    "document":"00000000191",
    "last_four": "1234",
    "ccbin":"123456"
'}
```

### Campos de retorno: <a href="#header-3.-tabela-de-campos-de-retorno-2" id="header-3.-tabela-de-campos-de-retorno-2"></a>

<table><thead><tr><th width="240">Campo</th><th>Descrição</th></tr></thead><tbody><tr><td>name</td><td>Nome do titular do documento.</td></tr><tr><td>code</td><td>Código referente ao resultado da autenticação do cartão.<br>Ver tabela de códigos abaixo.</td></tr><tr><td>message</td><td>Descrição do resultado da autenticação do cartão.</td></tr></tbody></table>

#### Tabela de códigos

<table><thead><tr><th width="101">Código</th><th>Descrição</th></tr></thead><tbody><tr><td>0</td><td>Não houve correspondência entre o CPF x Cartão de Crédito.</td></tr><tr><td>1</td><td>Houve correspondência entre o CPF x Cartão de Crédit.</td></tr><tr><td>2</td><td>Desconhecido (não é possível dizer se houve correspondência ou não).</td></tr><tr><td>3</td><td>CPF em óbito.</td></tr><tr><td>4</td><td>CPF menor de idade.</td></tr><tr><td>5</td><td>CPF inativo no Cadastro Positivo.</td></tr><tr><td>6</td><td>Não houve correspondência entre o CPF x Cartão de Crédito;<br>Há pelo menos um cartão reportado que é desconhecido e ao menos um cartão conhecido.</td></tr><tr><td>7</td><td>Não há dados de cartão de crédito reportados para o CPF.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.scorepositivo.com.br/pessoa-fisica/autentica/autentica-cartao.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.
