> ## Documentation Index
> Fetch the complete documentation index at: https://docs.goatpay.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Nova consulta de crédito

> Consulta de crédito. Taxa de referência: R$ 19,90.

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST 'https://api.goatpay.com.br/v1/serasa/reports/create' \
    -H 'X-API-Key: gp_live_SUA_CHAVE' \
    -H 'Content-Type: application/json' \
    -d '{ "customer": "cus_cliente_abc", "cpfCnpj": "05666663755" }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "success": true,
    "message": "Consulta de crédito solicitada",
    "data": {
      "id": "6c5e73fa-9efd-4a75-b60c-1cafb8d1c7ed",
      "status": "PROCESSING",
      "cpfCnpj": "05666663755",
      "customer": "clx_customer",
      "dateCreated": "2026-05-31T10:00:00.000Z"
    },
    "requestId": "req_abc"
  }
  ```
</ResponseExample>

### Corpo da requisição

<ParamField body="customer" type="string">
  ID do cliente (`POST /customers/create`).
</ParamField>

<ParamField body="cpfCnpj" type="string" required>
  CPF ou CNPJ consultado.
</ParamField>
