{
  "info": {
    "name": "Rede — mcp.ai",
    "description": "REST API for the Rede MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/rede",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "rede_cobrancas",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/cobrancas",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "cobrancas"
          ]
        },
        "description": "Cobranças/ajustes da conta Rede no período (débitos, tarifas e chargebacks), abertas (OPEN) ou liquidadas (CLOSED).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"start_date\": \"\",\n  \"end_date\": \"\",\n  \"status\": \"\",\n  \"size\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "rede_conta",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/conta",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "conta"
          ]
        },
        "description": "Estabelecimento (ponto de venda / PV) e terminais/maquininhas da conta no Portal Rede.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "rede_extrato",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/extrato",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "extrato"
          ]
        },
        "description": "Extrato de recebimentos/depósitos da conta Rede no período (o que foi creditado por dia, por conta bancária).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"start_date\": \"\",\n  \"end_date\": \"\",\n  \"size\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "rede_recebiveis_agenda",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/recebiveis/agenda",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "recebiveis",
            "agenda"
          ]
        },
        "description": "Agenda de recebíveis da Rede no período (quando cada venda cai na conta), agregada por dia. Inclui a próxima data de recebimento.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"start_date\": \"\",\n  \"end_date\": \"\",\n  \"group_by\": \"\",\n  \"status\": \"\",\n  \"size\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "rede_vendas_listar",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/vendas/listar",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "vendas",
            "listar"
          ]
        },
        "description": "Lista as vendas/transações da sua conta Rede por período (crédito, débito e Pix; com NSU, bandeira, modalidade, terminal, status e valor).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"start_date\": \"\",\n  \"end_date\": \"\",\n  \"status\": \"\",\n  \"modalities\": \"\",\n  \"payment_method\": \"\",\n  \"size\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "rede_vendas_resumo",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/vendas/resumo",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "vendas",
            "resumo"
          ]
        },
        "description": "Resumo agregado das vendas da sua conta Rede no período (totais por bandeira ou por dia).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"start_date\": \"\",\n  \"end_date\": \"\",\n  \"group_by\": \"\",\n  \"modalities\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}