# Overview

> The Evidence API attaches to an already sent transaction the facts that back the defense: acceptance, access, delivery, usage and conversation with the customer.

Página: https://doc.rapidchargeback.com/en/canais/evidence/visao-geral/

The Evidence API records, on a transaction already sent to Rapid, the facts that back a defense: terms acceptance, access to the product, delivery confirmation, usage and communication with the customer.

It is an **inbound** channel: you call Rapid. The record stays attached to the transaction and is used to build the defense when that transaction becomes a dispute.

## What it is not

- **It is not file upload.** Each evidence item is a JSON record with a 32 KB cap. PDF receipts, screenshots and contracts go in the dashboard's evidence library, not here.
- **It does not create transactions.** The transaction must exist beforehand, sent through the [Transactions API](https://doc.rapidchargeback.com/en/canais/transactions/visao-geral/). If it does not exist, the call returns `404 TRANSACTION_NOT_FOUND`.

## Flow in short

1. You send the sale transaction through the Transactions API
2. Something that backs the sale happens in your system: the customer accepted the terms, accessed the product, received the delivery
3. You record that fact with `POST /evidence`, pointing to the transaction
4. If that transaction becomes a dispute, Rapid uses the records in the defense

## Authentication

Basic Auth with `client_id:client_secret`, same as the other channels. See [Authentication](https://doc.rapidchargeback.com/en/referencia/autenticacao/).

## Endpoints

| Endpoint | What it does |
|---|---|
| [`POST /evidence`](https://doc.rapidchargeback.com/en/canais/evidence/registrar-evidencia/) | Records evidence on a transaction |
| [`GET /evidence`](https://doc.rapidchargeback.com/en/canais/evidence/consultar-evidencias/) | Lists the evidence of a transaction |

## Next steps

- [Record evidence](https://doc.rapidchargeback.com/en/canais/evidence/registrar-evidencia/)
- [List evidence](https://doc.rapidchargeback.com/en/canais/evidence/consultar-evidencias/)
