io.github.jpbester/payfast
MCP server for PayFast — AI assistants interact with South Africa's payment gateway
Versions
1.0.1scoredTrust breakdown
Tools 14
refund.create Create a refund for a PayFast transaction. This will return money to the customer\
refund.query 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.fetch 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.
ping Test connectivity to the PayFast API and verify credentials are valid
transaction.fetch Fetch details of a specific PayFast transaction by payment ID
transaction.history Get PayFast transaction history with optional date range and pagination
transaction.charge Process a charge on a tokenized card. This creates a real payment. Requires confirmation.
subscription.fetch Fetch details of a PayFast subscription by its token
subscription.pause Pause a PayFast subscription for a specified number of billing cycles. This stops charges temporarily.
subscription.unpause Resume a previously paused PayFast subscription. Billing will resume on the next cycle.
subscription.cancel Permanently cancel a PayFast subscription. This cannot be undone.
subscription.update Update a PayFast subscription
subscription.adhoc Process an ad-hoc (one-time) charge on an existing PayFast subscription
creditcard.fetch Query credit card transaction details for a specific PayFast payment
Permissions 2
network Server uses network capabilities via: fetch() env_vars Server uses env_vars capabilities via: process.env Scan Findings 0
No scan findings.