PagSafe MCP by usefulapi
Create Pix charges, check and refund payments, and manage Pix subscriptions in PagSafe.
Connect it
Settings → Connectors → Add custom connector
URL: https://pagsafe.usefulapi.io/mcpSettings → Apps & Connectors → Advanced → Developer mode
Create connector with URL: https://pagsafe.usefulapi.io/mcp{
"mcpServers": {
"pagsafe": {
"url": "https://pagsafe.usefulapi.io/mcp"
}
}
}claude mcp add --transport http pagsafe https://pagsafe.usefulapi.io/mcp{
"servers": {
"pagsafe": {
"type": "http",
"url": "https://pagsafe.usefulapi.io/mcp"
}
}
}6 tools, pulled live
pagsafe_create_pix_chargecan modifyCreate a one-time Pix charge. Returns the id, status PENDING, and pix.payload (the copy and paste code to show the buyer). The charge is paid only when the PagSafe webhook reports AUTHORIZED: do not treat the reply as paid. A retry with the same external_id, amount and customer.document returns the same pending Pix within 6 hours (reused: true). Writes a real charge. Uses POST /v2/transactions.
pagsafe_get_transactionread-onlyGet the current status of a transaction created through this API: PENDING, AUTHORIZED (paid), FAILED, REFUNDED, IN_DISPUTE or CHARGEBACK. Use it to check a payment or to recover a lost webhook; prefer the webhook for live updates. Uses GET /v2/transactions/{transaction_id}.
pagsafe_refund_transactioncan modifyRefund the full amount of a transaction back to the buyer. The transaction must be AUTHORIZED, created through this API, and have enough balance in every split account. A refund cannot be undone. Uses POST /v2/transactions/{transaction_id}/refund.
pagsafe_create_pix_subscriptioncan modifyCreate a recurring Pix Automático subscription. Returns status PENDING_AUTHORIZATION and pix.qr_code or pix.payment_link: show one to the buyer, who must authorize it once. After authorization the status becomes ACTIVE and later cycles are charged on their own. For Pix, the cycles are SEMANAL, MENSAL and ANUAL only. If the call fails with HTTP 500, check PagSafe for an existing subscription before
pagsafe_get_subscriptionread-onlyGet a subscription's status (PENDING_AUTHORIZATION, ACTIVE, LATE, PAUSED or CANCELED), amount, cycle, and the dates of the last and next charge. Uses GET /v2/subscriptions/{subscription_id}.
pagsafe_cancel_pix_subscriptioncan modifyCancel a PagSafe customer subscription so no further cycles are charged. The buyer keeps access until the cycle already paid ends. This cancels a subscription of YOUR customer, not a UsefulAPI plan. Uses POST /v2/subscriptions/{subscription_id}/cancel.
Alternatives in Finance & Payments
Compare →
Drillr — The financial MCP for AI agentsA
Financial data and research MCP for US/CN/JP equities: filings, statements, ownership, signals.
PAPayqrA
European payment QR — SPAYD (CZ/SK) & EPC/GiroCode (SEPA), plus text/WiFi/vCard. Local, free.
ADAdisA
Czech VAT-payer reliability (ADIS / nespolehlivý plátce DPH) + registered bank accounts by DIČ.
CNCnbA
Official ČNB exchange rates — daily & historical CZK vs EUR, USD, 30+ currencies. For accounting.
ISIsirA
Czech insolvency register (ISIR) — active/historical insolvency & bankruptcy by IČO or person.
OPOpenAccountantsA
Open-source AI accounting skills verified by licensed accountants (tax, VAT, payroll).