Colombian gateway (Davivienda-owned) with broad inbound coverage: cards, PSE bank debit, Daviplata wallet and cash networks.
ePayco gives your agent 8 tools it calls directly โ pick the ones it needs, in Claude, Cursor, or any MCP client.
tokenize_card โ Create a one-time card token (POST /v1/tokens on api.secure.payco.co). The token is then bound to a customer via create_customer and charged via charge_card.create_customer โ Create an ePayco customer bound to a card token (POST /payment/v1/customer/create). Returns customer_id used by charge_card.charge_card โ Charge a tokenized card (POST /payment/v1/charge/create). Amounts in COP unless currency says otherwise. Test mode is controlled by EPAYCO_TEST.// Your agent calls a tool directly โ no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("tokenize_card", { /* ... */ });$ npm install @codespar/mcp-epaycoAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"epayco": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-epayco"
],
"env": {
"EPAYCO_PUBLIC_KEY": "<your_epayco_public_key>",
"EPAYCO_PRIVATE_KEY": "<your_epayco_private_key>"
}
}
}
}After restart, your agent can call any of the 8 tools below โ try tokenize_card first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
EPAYCO_PUBLIC_KEYePayco public key
EPAYCO_PRIVATE_KEYePayco private key
EPAYCO_TEST"true" flags payloads as test mode. Defaults to "true" โ set "false" for production.
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
tokenize_cardcreate_customercharge_cardget_transactioncreate_pse_paymentget_pse_transactionlist_pse_bankscreate_cash_paymentMCP is a protocol โ any framework that speaks it can mount this server.