Authorization: Bearer ********************// Exemplos de filtros
// Por código
// {
// "filters": [
// {
// "field": "code",
// "operator": "=",
// "value": 1000
// }
// ],
// "limit": 15,
// "page": 1
// }
// Por vários tipos de transação
// {
// "filters": [
// {
// "field": "transaction_type",
// "operator": "in",
// "value": [
// "pix_transfer",
// "bank_transfer"
// ]
// }
// ],
// "sort": [
// {
// "field": "code",
// "direction": "asc"
// }
// ],
// "limit": 25,
// "page": 1
// }
// Somente códigos ativos e customizáveis
// {
// "filters": [
// {
// "field": "is_active",
// "operator": "=",
// "value": true
// },
// {
// "field": "is_customizable",
// "operator": "=",
// "value": true
// }
// ],
// "limit": 15,
// "page": 1
// }
// Somente códigos sem tipo de transação
// {
// "filters": [
// {
// "field": "transaction_type",
// "operator": "=",
// "value": null
// }
// ],
// "limit": 15,
// "page": 1
// }
// Busca textual
// A busca textual deve procurar simultaneamente em:
// key
// name
// description
// {
// "search": {
// "value": "boleto",
// "case_sensitive": false
// },
// "sort": [
// {
// "field": "name",
// "direction": "asc"
// }
// ],
// "limit": 15,
// "page": 1
// }
// Campos aceitos em sort
// code
// key
// name
// created_at
// updated_at
// Campos aceitos em filters
// | Campo | Tipo | Valores aceitos |
// |---|---:|---|
// | `uuid` | UUID | UUID de um registro |
// | `code` | integer | Código numérico da Matera |
// | `key` | string | Identificador técnico |
// | `direction` | string | `credit`, `debit` ou `balance` |
// | `transaction_type` | string/null | Tipo de transação suportado |
// | `is_customizable` | boolean | `true` ou `false` |
// | `is_active` | boolean | `true` ou `false` |
// | `is_system` | boolean | `true` ou `false` |
// Valores aceitos em transaction_type
// pix_transfer
// bank_transfer
// internal_transfer
// bank_slip
// utilities
// cellphone_recharge
// deposit
// Operadores aceitos
// <
// <=
// >
// >=
// =
// !=
// like
// not like
// ilike
// not ilike
// in
// not in
// all in
// any in
// Os operadores mais apropriados para este recurso são:
// =
// !=
// like
// ilike
// in
// not in
{}