PayFast MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Optional: Logging level (debug, info, warn, error). | info |
| PAYFAST_PASSPHRASE | Yes | The passphrase generated in your PayFast security settings. | |
| PAYFAST_ENVIRONMENT | Yes | The environment to use: 'sandbox' for testing or 'production' for live transactions. | sandbox |
| PAYFAST_MERCHANT_ID | Yes | Your PayFast Merchant ID, found in Settings > Integration. | |
| PAYFAST_MERCHANT_KEY | Yes | Your PayFast Merchant Key, found in Settings > Integration. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pingA | Test connectivity to the PayFast API and verify credentials are valid |
| transaction.fetchC | Fetch details of a specific PayFast transaction by payment ID |
| transaction.historyB | Get PayFast transaction history with optional date range and pagination |
| transaction.chargeA | Process a charge on a tokenized card. This creates a real payment. Requires confirmation. |
| subscription.fetchC | Fetch details of a PayFast subscription by its token |
| subscription.pauseB | Pause a PayFast subscription for a specified number of billing cycles. This stops charges temporarily. |
| subscription.unpauseA | Resume a previously paused PayFast subscription. Billing will resume on the next cycle. |
| subscription.cancelA | Permanently cancel a PayFast subscription. This cannot be undone. |
| subscription.updateC | Update a PayFast subscription's parameters (amount, cycles, frequency, or run date) |
| subscription.adhocC | Process an ad-hoc (one-time) charge on an existing PayFast subscription |
| creditcard.fetchC | Query credit card transaction details for a specific PayFast payment |
| refund.createC | Create a refund for a PayFast transaction. This will return money to the customer's original payment method. |
| refund.queryA | Query refund availability for a transaction BEFORE creating a refund. Returns available amounts, refund methods (credit card or bank payout), and required parameters. Use this first to check if a refund is possible. |
| refund.fetchA | Fetch refund transaction history and available balance for a payment that has ALREADY been refunded. Returns 404 if no refund exists yet — use refund.query first to check availability. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jpbester/payfast-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server