@theyahia/payfast-mcp
v1.0.1
Published
MCP server for PayFast — payment gateway, subscriptions (South Africa)
Maintainers
Readme
payfast-mcp
MCP server for PayFast payment gateway (South Africa).
Tools (8)
| Tool | Description |
|---|---|
| create_payment | Create a payment request |
| query_transaction | Query transaction status |
| cancel_subscription | Cancel a subscription |
| update_subscription | Update a subscription |
| create_adhoc | Charge tokenized card (ad-hoc) |
| refund_payment | Refund a payment |
| get_balance | Get settlement balance |
| validate_signature | Validate a webhook signature |
Quick Start
{
"mcpServers": {
"payfast": {
"command": "npx",
"args": ["-y", "@theyahia/payfast-mcp"],
"env": {
"PAYFAST_MERCHANT_ID": "<YOUR_PAYFAST_MERCHANT_ID>",
"PAYFAST_MERCHANT_KEY": "<YOUR_PAYFAST_MERCHANT_KEY>",
"PAYFAST_PASSPHRASE": "<YOUR_PAYFAST_PASSPHRASE>"
}
}
}
}Environment Variables
| Variable | Required | Description |
|---|---|---|
| PAYFAST_MERCHANT_ID | Yes | Merchant ID |
| PAYFAST_MERCHANT_KEY | Yes | Merchant key |
| PAYFAST_PASSPHRASE | Yes | API passphrase |
License
MIT
