Paystack MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Paystack MCP or direct API to process payments, manage customers, track transactions, and issue refunds through natural language.

Paystack logoPaystack
Api Key

Paystack is a Nigerian fintech platform for payment processing across Africa. Businesses use it to accept payments, manage transactions, and grow revenue easily.

112 Tools

Try Paystack now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Paystack
Try asking
TOOLS

Supported Tools

Every Paystack action and event your agent gets out of the box.

Add Products to Page

Tool to add products to a Paystack payment page.

Add Products to Storefront

Tool to add previously created products to a Storefront.

Add Split Code to Virtual Terminal

Tool to add a split code to a virtual terminal.

Add Subaccount to Split

Tool to add a subaccount to a split configuration, or update the share of an existing subaccount.

Archive Payment Request

Tool to archive a payment request to clean up records.

Assign Destination to Virtual Terminal

Tool to assign WhatsApp destinations to a Virtual Terminal for payment notifications.

Check Pending Charge

Tool to check the status of a pending charge transaction.

Check Slug Availability

Tool to check if a custom slug is available for use when creating a payment page.

Bulk Create Transfer Recipients

Create multiple transfer recipients in batches.

Create Charge

Tool to initiate a payment by integrating the payment channel of your choice.

Create Customer

Tool to create a customer on your Paystack integration.

Create Payment Page

Tool to create a payment page on your Paystack integration.

Create Payment Request

Create a new payment request by issuing an invoice to a customer.

Create Plan

Tool to create a plan for recurring payments on Paystack.

Create Refund

Tool to initiate a refund for a previously completed transaction on Paystack.

Create Split Configuration

Tool to create a split configuration for transaction revenue sharing.

Create Storefront

Create a digital storefront on Paystack to manage and display products.

Create Subaccount

Tool to create a subaccount on your Paystack integration.

Create Transfer Recipient

Tool to create a new recipient for transfers.

Create Virtual Terminal

Create a Virtual Terminal on your Paystack integration to accept payments.

Deactivate Authorization

Tool to deactivate an authorization when a card or payment method needs to be forgotten.

Deactivate Virtual Terminal

Tool to deactivate a Virtual Terminal on your integration.

Delete Product

Delete a previously created product from Paystack by its ID.

Delete Storefront

Delete a previously created storefront from Paystack by its ID.

Delete Transfer Recipient

Tool to delete a transfer recipient by setting it to inactive status.

Disable OTP for Transfers

Tool to disable OTP requirement for programmatic transfers.

Disable Subscription

Tool to disable a subscription on your Paystack integration.

Duplicate Storefront

Tool to duplicate a previously created Storefront.

Enable OTP for Transfers

Tool to enable OTP requirement for transfers.

Export Transactions

Tool to export transactions from Paystack for a specific timeframe.

Fetch Balance

Tool to fetch the available balance on your Paystack integration.

Fetch balance ledger

Tool to fetch all pay-ins and pay-outs that went into your Paystack balance.

Fetch Bulk Charge Batch

Tool to retrieve a specific bulk charge batch by code.

Fetch Customer

Tool to get details of a customer on your integration.

Fetch Mandate Authorizations

Tool to fetch the list of direct debit mandate authorizations associated with a customer.

Fetch Payment Page

Tool to fetch details of a payment page on your Paystack integration.

Fetch Payment Request Details

Tool to fetch details of a payment request from Paystack.

Fetch Payment Session Timeout

Tool to fetch the payment session timeout configured on your Paystack integration.

Fetch Plan

Tool to get details of a plan on your integration.

Fetch Product

Tool to get details of a product on your integration.

Fetch Product Orders

Tool to fetch all orders for a particular product on your Paystack integration.

Fetch Refund

Tool to get details of a refund on your integration.

Fetch Split

Tool to get details of a split configuration for a transaction.

Fetch Storefront

Tool to get the details of a previously created Storefront.

Fetch Storefront Orders

Tool to fetch all orders in a Paystack storefront.

Fetch Subaccount

Tool to get details of a subaccount on your integration.

Fetch Subscription

Tool to get details of a subscription on your integration.

Fetch Transaction

Tool to get details of a transaction carried out on your integration.

Fetch Transaction Timeline

Tool to fetch the timeline of a transaction showing the steps taken from initiation to completion.

Fetch Transfer Recipient

Tool to fetch details of a transfer recipient.

Fetch Virtual Terminal

Tool to fetch a Virtual Terminal on your Paystack integration.

Finalize Payment Request

Tool to finalize the creation of a draft payment request for a customer.

Generate Update Subscription Link

Tool to generate a link for updating the card on a subscription.

Get Payment Request Totals

Tool to retrieve metrics for all pending and successful payment requests.

Get Transaction Totals

Tool to get the total amount received on your Paystack account.

Initialize Authorization

Tool to initialize a reusable authorization for recurring transactions.

Initialize Transaction

Tool to initialize a transaction from your backend.

Initiate Bulk Charge

Tool to initiate a bulk charge on your integration.

List Banks

Tool to get a list of all supported banks and their properties on Paystack.

List Bulk Charge Batches

Tool to list bulk charge batches created on your integration.

List Charges in Batch

Tool to retrieve the charges associated with a specified bulk charge batch.

List countries

Tool to retrieve a list of countries that Paystack currently supports.

List Customers

Tool to list customers available on your integration.

List Disputes

Tool to list transaction disputes filed by customers on your Paystack integration.

List Apple Pay Domains

Tool to list all registered Apple Pay domains on your integration.

List Mandate Authorizations

Tool to get a list of all direct debit mandates on your integration.

List Orders

Tool to list orders available on your integration.

List Payment Pages

Tool to list payment pages available on your Paystack integration.

List Payment Requests

Tool to list all previously created payment requests to your customers.

List Plans

Tool to list all subscription plans available on your integration.

List Products

Tool to list products available on your integration.

List Refunds

Tool to list refunds available on your integration.

List Settlements

Tool to list settlements made to your settlement accounts.

List Splits

Tool to list the transaction splits available on your integration.

List states for address verification

Tool to retrieve a list of states for a country for address verification.

List Storefront Products

Tool to list all products in a Paystack storefront.

List Storefronts

Tool to list storefronts available on your integration.

List Subaccounts

Tool to list subaccounts available on your integration.

List Subscriptions

Tool to list all subscriptions available on your integration.

List Transactions

Tool to list transactions that have occurred on your integration.

List Transfer Recipients

Tool to list transfer recipients available on your integration.

List Transfers

Tool to list all transfers carried out on your integration.

List Virtual Terminals

Tool to list virtual terminals available on your integration.

Pause Bulk Charge

Tool to pause processing of a bulk charge batch.

Publish Storefront

Tool to make a Storefront publicly available on Paystack.

Remove Subaccount from Split

Tool to remove a subaccount from a split configuration.

Resend OTP for Transfer

Tool to resend OTP for a transfer.

Resolve Card BIN

Tool to get basic information about a card BIN (Bank Identification Number).

Resume Bulk Charge Batch

Tool to resume processing of a previously paused bulk charge batch.

Send Payment Request Notification

Tool to send an email notification to a customer for a previously created payment request.

Send Subscription Update Link

Tool to send an email to the customer with a link to update the card on their subscription.

Set Risk Action

Tool to set a customer's risk action by whitelisting or blacklisting them.

Submit Phone

Tool to submit phone number when requested during a charge transaction.

Trigger direct debit activation charge

Tool to trigger an activation charge on an inactive direct debit mandate for a customer.

Unassign Destination from Virtual Terminal

Tool to unassign WhatsApp destinations from a Virtual Terminal.

Unregister Apple Pay Domain

Tool to unregister a top-level domain or subdomain previously used for Apple Pay integration.

Update Customer

Tool to update a customer's details on your Paystack integration.

Update Payment Page

Tool to update a payment page on your Paystack integration.

Update Payment Request

Tool to update a payment request on your Paystack integration.

Update Payment Session Timeout

Tool to update the payment session timeout on your Paystack integration.

Update Plan

Tool to update a plan's details on your Paystack integration.

Update Product

Tool to update a product on your integration.

Update Split Configuration

Tool to update a split configuration for transactions.

Update Storefront

Tool to update the details of a previously created Storefront.

Update Subaccount

Tool to update a subaccount's details on your Paystack integration.

Update Transfer Recipient

Tool to update the details of a transfer recipient.

Validate Bank Account

Tool to validate the authenticity of a customer's bank account before sending money.

Validate Customer

Tool to validate a customer's identity on your Paystack integration.

Validate Order

Tool to validate a pay for me order on Paystack.

Verify Payment Request

Tool to verify the status of a previously created payment request on Paystack.

Verify Storefront Slug

Tool to verify the availability of a slug before using it for a Storefront.

Verify Transaction

Tool to confirm the status of a transaction using its reference.

SETUP GUIDE

Connect Paystack MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK for Python or TypeScript
2

Initialize Client and Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
Import and initialize the Composio client, then create a Tool Router session for Paystack
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'Show me recent Paystack customers'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent (Anthropic Claude or Mastra)
SETUP GUIDE

Connect Paystack API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Paystack Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'List all successful transactions from this week'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Paystack actions with your Agent

Why Use Composio?

AI Native Paystack Integration

  • Supports both Paystack MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Paystack data

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Paystack access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Paystack
  • Scoped, least privilege access to Paystack resources
  • Full audit trail of agent actions to support review and compliance
FAQ

Frequently asked questions

Yes, Paystack requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Paystack.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Paystack tool your agent needs.Free to start.

Start building