MetorialDocs

Set up Flutterwave in Metorial for Claude, ChatGPT and Cursor

Share Flutterwave with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or secret key sign-in, 18 tools (11 read-only).

To give your team Flutterwave in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Flutterwave integration in a Metorial portal, and each person signs in to Flutterwave with their own account. Agents can use the supported Flutterwave API v3 to inspect transactions, fees, payouts, refunds and settlements; manage payment plans, subscriptions and beneficiaries; issue and retrieve virtual accounts; discover banks and bill products, and submit and inspect bill payments. The integration has 18 tools, 11 read-only, 4 write and 3 destructive, plus 3 triggers.

What you'll learn

  • How an admin shares Flutterwave in a portal and how each person connects
  • What Flutterwave asks for when you connect, and where to find it
  • How to keep the 11 read-only tools and reject the other 7

Before you start

Sign-in methods

MethodTypeWhat a person provides
Deprecated API v4 OAuth — use API v3 Secret Key (default)OAuthSigns in to Flutterwave
Secret Key (API v3)API tokensecretKey

The portal and metorial setup use Deprecated API v4 OAuth — use API v3 Secret Key unless someone picks another method.

Deprecated API v4 OAuth — use API v3 Secret Key

People sign in to Flutterwave and approve the permissions it lists.

Secret Key (API v3)

To connect, a person enters:

  • secretKey: Flutterwave Secret Key (starts with FLWSECK_TEST- for sandbox or FLWSECK- for production)

Setup settings

Whichever method you pick, setup also asks for:

  • environment (optional): Flutterwave environment to use. Sandbox for testing, production for live transactions. One of "sandbox", "production".

Use your own Flutterwave OAuth app

With your own OAuth app, people see your company's name on the Flutterwave consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Flutterwave and copy the Redirect URI.

Register the app with Flutterwave

Create an OAuth app or client in Flutterwave and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Flutterwave integration.

Admin: share Flutterwave 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 Flutterwave. Under Auth Method, keep Deprecated API v4 OAuth — use API v3 Secret Key or pick another. For how members connect, choose Each person connects, so everyone signs in to Flutterwave as themselves.

Limit the tools

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

Choose who gets it

Add the access groups that should see Flutterwave. 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 Flutterwave integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search flutterwave

Employee: connect Flutterwave

In the portal

Open Flutterwave in the catalog

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

Authenticate

Under Quick setup, select Authenticate. A Flutterwave sign-in tab opens. Sign in and approve the permissions listed.

Confirm

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

With the CLI

metorial catalog search flutterwave
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses Deprecated API v4 OAuth — use API v3 Secret Key. To connect with Secret Key (API v3) instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Flutterwave 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.

metorial list flutterwave
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 11 read-only tools, such as list_refunds and list_transfers, and lose the 4 write tools, such as manage_beneficiaries or manage_payment_plans, and the 3 destructive tools, such as pay_bill 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 list flutterwave
metorial tools <integration-id>
metorial call <integration-id> resolve_bank_account -d '{"action":"resolve"}'

metorial tools lists the 18 tools, minus any you rejected. resolve_bank_account needs action, so replace the placeholders. It looks up and verify bank account details by account number and bank code.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (11)

  • list_transactions: Retrieve payment transactions with explicit date bounds and optional status, currency, customer email or transaction-reference filters.
  • list_settlements: Retrieve settlement records showing how collected funds were settled to your bank account.
  • list_transfers: Retrieve payout transfers with date, status or exact-reference filters and pagination.
  • resolve_bank_account: Look up and verify bank account details by account number and bank code. Needs action.
  • get_transfer_rate: Get a cross-currency transfer rate quote with source and destination amounts. Needs amount, destinationCurrency and sourceCurrency.
  • list_refunds: Retrieve a list of refunds or get details for a specific refund.
  • verify_transaction: Verify the status and details of a payment transaction.
  • list_bill_categories: Retrieve available bill payment categories and billers.
  • get_transaction_fee: Calculate the fees that will be charged for a transaction of a given amount and currency. Needs amount and currency.
  • get_virtual_account: Read a virtual account by its exact order reference.
  • get_bill_payment: Query a bill payment using its transaction reference with provider status requested.

Write tools (4)

  • manage_payment_plans: Create, list, retrieve, update, or cancel payment plans for recurring billing. Needs action.
  • manage_subscriptions: List, cancel, or reactivate customer subscriptions. Needs action.
  • create_virtual_account: Generate a virtual bank account number for receiving payments via bank transfer. Needs email and txRef.
  • manage_beneficiaries: Create, list, retrieve, or delete saved transfer beneficiaries. Needs action.

Destructive tools (3)

  • pay_bill: Pay bills including Airtime, Data bundles, Cable TV (DSTV, GOtv), Power/Electricity, Tolls, and more. Needs billerCode, itemCode, country, customer, amount and type.
  • create_refund: Initiate a full or partial refund for a completed transaction. Needs transactionId.
  • create_transfer: Initiate a payout/transfer to a bank account or mobile money wallet. Needs accountBank, accountNumber, amount, currency and narration.

Triggers

Flutterwave has 3 triggers, which fire on events in Flutterwave:

  • transfer_completed: Triggered when a payout/transfer is completed.
  • charge_completed: Triggered when a payment charge is completed (successful or failed), regardless of payment method (card, bank transfer, mobile money, USSD, etc.).
  • subscription_event: Triggered when a subscription charge succeeds, fails, or when a subscription is cancelled.

Next steps