Evidences
2 operações em Quadra Core API 0.5.0.
GET
/v1/evidencesList Evidence records
List evidence records with optional filters and cursor-based pagination.
Filters: status (INGESTED, SETTLED, FAILED), rail_family, created_from, created_to.
Parâmetros
| Nome | Tipo | Detalhe |
|---|---|---|
| status | string, opcional | query |
| rail_family | string, opcional | query |
| created_from | string, opcional | query |
| created_to | string, opcional | query |
| limit | integer | query |
| cursor | string, opcional | query |
Respostas
| Status | Corpo | Detalhe |
|---|---|---|
| 200 | EvidenceListResponse | Resposta bem-sucedida |
| 422 | HTTPValidationError | Erro de validação |
GET
/v1/evidences/{evidence_id}Get an Evidence record
Retrieve an evidence record by ID.
Returns the evidence lifecycle state (INGESTED, SETTLED, FAILED).
Parâmetros
| Nome | Tipo | Detalhe |
|---|---|---|
| evidence_id | string | pathobrigatório |
Respostas
| Status | Corpo | Detalhe |
|---|---|---|
| 200 | EvidenceOut | Resposta bem-sucedida |
| 422 | HTTPValidationError | Erro de validação |
Esquemas
Os modelos que as operações acima aceitam e devolvem. Campos opcionais estão marcados como tal; um campo tipado como outro modelo está documentado sob o nome dele.
EvidenceListResponse
| Campo | Tipo | Detalhe |
|---|---|---|
| data | array de EvidenceOut | obrigatório |
| next_cursor | string, opcional |
EvidenceOut
| Campo | Tipo | Detalhe |
|---|---|---|
| ach_trace_number | string, opcional | |
| amount_currency | string, opcional | |
| amount_value | integer, opcional | |
| created_at_utc | string, opcional | |
| creditor_account_id | string, opcional | |
| evidence_id | string | obrigatório |
| evidence_type | string, opcional | |
| obligation_utxo_id | string, opcional | |
| occurred_at_utc | string, opcional | |
| rail_family | string, opcional | |
| resolved_at | string, opcional | |
| status | string, opcional |
HTTPValidationError
| Campo | Tipo | Detalhe |
|---|---|---|
| detail | array de ValidationError |
ValidationError
| Campo | Tipo | Detalhe |
|---|---|---|
| ctx | object | |
| input | não declarado | |
| loc | array de string ou integer | obrigatório |
| msg | string | obrigatório |
| type | string | obrigatório |