{
  "info": {
    "name": "Getnet — mcp.ai",
    "description": "REST API for the Getnet 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/getnet",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "getnet_get_card",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/card",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "card"
          ]
        },
        "description": "Consulta um cartão tokenizado do cofre (vault) por card_id (não retorna o PAN).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"card_id\": \"\",\n  \"account\": \"\",\n  \"card_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "getnet_get_payment",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/payment",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "payment"
          ]
        },
        "description": "Consulta o status de uma transação por payment_id. `tipo` seleciona o meio (credit, debit, pix, boleto). Somente leitura, não cria nem altera cobrança.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tipo\": \"\",\n  \"payment_id\": \"\",\n  \"account\": \"\",\n  \"payment_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "getnet_list_accounts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/accounts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "accounts"
          ]
        },
        "description": "Lista os lojistas (seller_id) Getnet conectados a este install — id, label.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "getnet_list_customer_cards",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/customer/cards",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "customer",
            "cards"
          ]
        },
        "description": "Lista os cartões tokenizados de um cliente no cofre (vault).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"customer_id\": \"\",\n  \"account\": \"\",\n  \"customer_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "getnet_list_customers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/customers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "customers"
          ]
        },
        "description": "Lista clientes cadastrados. Paginado por `page`/`limit`.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"limit\": 0,\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}