{
  "info": {
    "name": "PagSeguro — mcp.ai",
    "description": "REST API for the PagSeguro MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://new.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/pagseguro",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "pagseguro_charges_cancel",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/charges/cancel",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "charges",
            "cancel"
          ]
        },
        "description": "Cobranças (charges) no PagSeguro.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"charge_id\": \"\",\n  \"amount_cents\": 0,\n  \"account\": \"\",\n  \"charge_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pagseguro_charges_get",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/charges/get",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "charges",
            "get"
          ]
        },
        "description": "Cobranças (charges) no PagSeguro.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"charge_id\": \"\",\n  \"amount_cents\": 0,\n  \"account\": \"\",\n  \"charge_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pagseguro_charges_refund",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/charges/refund",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "charges",
            "refund"
          ]
        },
        "description": "Cobranças (charges) no PagSeguro.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"charge_id\": \"\",\n  \"amount_cents\": 0,\n  \"account\": \"\",\n  \"charge_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pagseguro_checkouts_create",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/checkouts/create",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "checkouts",
            "create"
          ]
        },
        "description": "Checkouts (links/sessões de pagamento) no PagSeguro.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"checkout_id\": \"\",\n  \"checkout\": {},\n  \"account\": \"\",\n  \"checkout_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pagseguro_checkouts_deactivate",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/checkouts/deactivate",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "checkouts",
            "deactivate"
          ]
        },
        "description": "Checkouts (links/sessões de pagamento) no PagSeguro.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"checkout_id\": \"\",\n  \"checkout\": {},\n  \"account\": \"\",\n  \"checkout_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pagseguro_checkouts_get",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/checkouts/get",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "checkouts",
            "get"
          ]
        },
        "description": "Checkouts (links/sessões de pagamento) no PagSeguro.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"checkout_id\": \"\",\n  \"checkout\": {},\n  \"account\": \"\",\n  \"checkout_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pagseguro_list_accounts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/accounts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "accounts"
          ]
        },
        "description": "Lista tokens PagSeguro (contas de merchant) vinculados a este install — id e label.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pagseguro_orders_create",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/orders/create",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "orders",
            "create"
          ]
        },
        "description": "Pedidos (orders) no PagSeguro.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_id\": \"\",\n  \"reference_id\": \"\",\n  \"order\": {},\n  \"account\": \"\",\n  \"order_ids\": \"\",\n  \"reference_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pagseguro_orders_get",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/orders/get",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "orders",
            "get"
          ]
        },
        "description": "Pedidos (orders) no PagSeguro.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_id\": \"\",\n  \"reference_id\": \"\",\n  \"order\": {},\n  \"account\": \"\",\n  \"order_ids\": \"\",\n  \"reference_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pagseguro_orders_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/orders/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "orders",
            "list"
          ]
        },
        "description": "Pedidos (orders) no PagSeguro.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"order_id\": \"\",\n  \"reference_id\": \"\",\n  \"order\": {},\n  \"account\": \"\",\n  \"order_ids\": \"\",\n  \"reference_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pagseguro_public_keys",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/public/keys",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "public",
            "keys"
          ]
        },
        "description": "Retorna a chave pública do merchant (para criptografar cartão no client). type default 'card'.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"type\": \"\",\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}