Set up Paystack in Metorial for Claude, ChatGPT and Cursor
Share Paystack with your team in Claude, ChatGPT and Cursor through Metorial: secret key sign-in, 41 tools (21 read-only).
To give your team Paystack in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Paystack integration in a Metorial portal, and each person connects with a secret key. Agents can manage Paystack transactions, customers, plans, subscriptions, transfer beneficiaries, balances, refunds, settlements, payment pages and payment requests. The integration has 41 tools, 21 read-only, 11 write and 9 destructive, plus 8 triggers.
What you'll learn
- How an admin shares Paystack in a portal and how each person connects
- How to keep the 21 read-only tools and reject the other 20
Before you start
- A portal with at least one access group
- A secret key from Paystack for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| Secret Key | API token | secretKey |
Secret Key
To connect, a person enters:
secretKey
Admin: share Paystack in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Paystack. For how members connect, choose Each person connects so everyone enters their own secret key, or Shared connection to enter one secret key for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Paystack.
Choose who gets it
Add the access groups that should see Paystack. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Paystack integration. Once it exists, check which groups have it:
Employee: connect Paystack
In the portal
Open Paystack in the catalog
Sign in to your portal and open Paystack. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your secret key (secretKey).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your Paystack connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 21 read-only tools, such as list_banks and list_plans, and lose the 11 write tools, such as create_plan or create_customer, and the 9 destructive tools, such as update_plan or create_refund.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 41 tools, minus any you rejected. list_banks takes no input. It retrieves the list of supported banks and their codes.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (21)
list_dedicated_virtual_accounts: Retrieve a list of dedicated virtual accounts on your integration.list_plans: Retrieve a paginated list of subscription plans on your integration.list_customers: Retrieve a paginated list of customers on your integration.list_disputes: Retrieve a paginated list of transaction disputes.list_payment_pages: Retrieve a paginated list of payment pages on your integration.list_subaccounts: Retrieve a paginated list of subaccounts on your integration.list_banks: Retrieve the list of supported banks and their codes.get_customer: Fetch details for a single customer by email or customer code. NeedsemailOrCode.list_refunds: Retrieve a paginated list of refunds on your integration.list_payment_requests: Retrieve a paginated list of payment requests/invoices.list_transactions: Retrieve a list of transactions on your integration.list_transfers: Retrieve a paginated list of transfers.verify_bank_account: Resolve and verify a bank account number. NeedsaccountNumberandbankCode.resolve_card_bin: Look up card details using the first 6 digits (BIN) of a card number. Needsbin.list_subscriptions: Retrieve a paginated list of subscriptions.list_settlements: Retrieve a paginated list of settlements (payouts) made by Paystack to your bank account.get_subscription: Fetch details for a single subscription by its ID or code. NeedssubscriptionIdOrCode.verify_transaction: Verify the status of a transaction using its reference. Needsreference.get_balance: Read the available transfer balance for each returned currency.verify_transfer: Read a transfer by its reference and return the observed provider status.list_transfer_recipients: List saved transfer beneficiaries and observed active states.
Write tools (11)
charge_authorization: Charge a customer's saved payment authorization from a previous successful transaction. Needsemail,amountandauthorizationCode.update_customer: Update an existing customer's details. NeedscustomerCode.create_customer: Create a new customer record on your Paystack integration. Needsemail.create_payment_page: Create a hosted payment page that can be shared via link. Needsname.create_subaccount: Create a subaccount for splitting payments. NeedsbusinessName,settlementBank,accountNumberandpercentageCharge.update_payment_page: Update an existing payment page's name, description, amount, or active status. NeedspageIdOrSlug.create_plan: Create a subscription plan that defines recurring billing parameters. Needsname,amountandinterval.create_transfer_recipient: Create a transfer recipient (bank account or mobile money) to receive funds. Needstype,name,accountNumberandbankCode.initialize_transaction: Initialize a new payment transaction on Paystack. Needsemailandamount.create_payment_request: Create and send an invoice/payment request to a customer. Needscustomerandamount.create_dedicated_virtual_account: Create a dedicated virtual bank account (DVA) for a customer. Needscustomer.
Destructive tools (9)
update_plan: Update recurring billing parameters. NeedsplanIdOrCode.create_refund: Create a refund for a completed transaction. NeedstransactionReference.resolve_dispute: Resolve a transaction dispute by providing evidence or accepting the dispute with a refund. NeedsdisputeId,resolutionandmessage.initiate_transfer: Send money to a bank account or mobile money number. NeedsamountandrecipientCode.disable_subscription: Stop future renewal of a subscription; it can remain non-renewing until the current billing period ends. NeedssubscriptionCodeandemailToken.create_subscription: Subscribe a customer to an existing plan. Needscustomerandplan.enable_subscription: Re-enable a previously disabled subscription. NeedssubscriptionCodeandemailToken.archive_payment_request: Archive a payment request and read back its archived flag.delete_transfer_recipient: Deactivate a saved transfer beneficiary and read back its inactive state.
Triggers
Paystack has 8 triggers, which fire on events in Paystack:
transfer_events: Triggers when an outbound transfer succeeds, fails, or is reversed.invoice_events: Triggers on invoice lifecycle events: created, updated, or payment failed.transaction_events: Triggers when a payment transaction is successfully completed.customer_identification_events: Triggers when customer identity verification succeeds or fails.dispute_events: Triggers on dispute lifecycle events: created, reminder, or resolved.refund_events: Triggers on refund lifecycle events: pending, processing, processed, or failed.dedicated_virtual_account_events: Triggers when a dedicated virtual account assignment succeeds or fails, and when a bank transfer is rejected.subscription_events: Triggers on subscription lifecycle events: created, disabled, not renewing, or expiring cards.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Paystack there
- Tool permissions: tool filters and what employees see
- Paystack on metorial.com: the integration overview