> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Paystack in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/paystack
Last updated: 2026-11-24

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 will 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](https://metorial.com/docs/platform/workforce/portals) 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](https://metorial.com/docs/platform/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

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **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.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Paystack.

4. **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:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search paystack
```

## Employee: connect Paystack

### In the portal

1. **Open Paystack in the catalog**

   Sign in to your portal and open Paystack. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your secret key (secretKey).

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search paystack
metorial setup <catalog-item-id>
```

`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.

```bash
metorial list paystack
metorial client list
metorial install <client-identifier> <integration-id>
```

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](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list paystack
metorial tools <integration-id>
metorial call <integration-id> list_banks -d '{}'
```

`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. Needs `emailOrCode`.
- `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. Needs `accountNumber` and `bankCode`.
- `resolve_card_bin`: Look up card details using the first 6 digits (BIN) of a card number. Needs `bin`.
- `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. Needs `subscriptionIdOrCode`.
- `verify_transaction`: Verify the status of a transaction using its reference. Needs `reference`.
- `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. Needs `email`, `amount` and `authorizationCode`.
- `update_customer`: Update an existing customer's details. Needs `customerCode`.
- `create_customer`: Create a new customer record on your Paystack integration. Needs `email`.
- `create_payment_page`: Create a hosted payment page that can be shared via link. Needs `name`.
- `create_subaccount`: Create a subaccount for splitting payments. Needs `businessName`, `settlementBank`, `accountNumber` and `percentageCharge`.
- `update_payment_page`: Update an existing payment page's name, description, amount, or active status. Needs `pageIdOrSlug`.
- `create_plan`: Create a subscription plan that defines recurring billing parameters. Needs `name`, `amount` and `interval`.
- `create_transfer_recipient`: Create a transfer recipient (bank account or mobile money) to receive funds. Needs `type`, `name`, `accountNumber` and `bankCode`.
- `initialize_transaction`: Initialize a new payment transaction on Paystack. Needs `email` and `amount`.
- `create_payment_request`: Create and send an invoice/payment request to a customer. Needs `customer` and `amount`.
- `create_dedicated_virtual_account`: Create a dedicated virtual bank account (DVA) for a customer. Needs `customer`.

### Destructive tools (9)

- `update_plan`: Update recurring billing parameters. Needs `planIdOrCode`.
- `create_refund`: Create a refund for a completed transaction. Needs `transactionReference`.
- `resolve_dispute`: Resolve a transaction dispute by providing evidence or accepting the dispute with a refund. Needs `disputeId`, `resolution` and `message`.
- `initiate_transfer`: Send money to a bank account or mobile money number. Needs `amount` and `recipientCode`.
- `disable_subscription`: Stop future renewal of a subscription; it can remain non-renewing until the current billing period ends. Needs `subscriptionCode` and `emailToken`.
- `create_subscription`: Subscribe a customer to an existing plan. Needs `customer` and `plan`.
- `enable_subscription`: Re-enable a previously disabled subscription. Needs `subscriptionCode` and `emailToken`.
- `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](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Paystack there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Paystack on metorial.com](https://metorial.com/integrations/paystack): the integration overview