Skip to content

Use Flint Pay in Claude and ChatGPT

Add Flint Pay to Claude or ChatGPT and run your business by asking: "What did I sell this week?", "Make a $25 payment link for a consultation", "Send Maya's invoice", or "Refund order 1042". The assistant calls Flint Pay's tools for you and shows what each one returned.

You add Flint Pay with this server URL:

Text
https://api.withflintpay.com/mcp

When you connect, you sign in to Flint Pay and choose one business, test or live, and what the assistant may do. The consent page opens on Test. You can choose Live, which starts at View only, and refunds stay off unless you check them. Nothing needs an API key or code.

You useHow you add Flint PaySteps
Claude on the web, desktop, or mobileA custom connector with the server URLAdd Flint Pay to Claude
Claude Codeclaude mcp add with the server URLClaude Code
ChatGPT on the webA custom MCP server plugin with the server URLAdd Flint Pay to ChatGPT
Any other MCP clientThe server URL and a test-mode API keyFor developers

Before you start#

  • A Flint Pay account. You need to be an owner or admin of the business you connect. Other team roles can't connect an assistant. No account yet? Sign up, then add Flint Pay. Once you have an account, test mode works on its sandbox.
  • Claude: any plan. The Free plan allows one custom connector. On Team and Enterprise plans, an Owner adds Flint Pay for the organization, and each member connects their own Flint Pay account.
  • ChatGPT: a Business, Enterprise, or Edu workspace for every tool. A workspace admin may need to allow custom MCP servers first. ChatGPT Pro gets read tools only, so it can look things up but not create payment links, send invoices, or refund. You add Flint Pay on chatgpt.com, not in the mobile app.

Add Flint Pay to Claude#

On a Free, Pro, Max, or Ultra plan:

  1. In Claude, open Settings > Connectors and select Add custom connector.
  2. Enter Flint Pay as the name and https://api.withflintpay.com/mcp as the server URL. For staging, enter https://api.staging.withflintpay.com/mcp and sign in with your staging account.
  3. Set Authentication to Sign in now.
  4. Keep the OAuth client on Use Claude's published identity, the default. Register automatically doesn't work with Flint Pay.
  5. Keep the transport on Streamable HTTP and add the connector. Claude opens Flint Pay's sign-in page.
  6. Sign in, choose your business, mode, and access, and select Connect. You return to Claude.

On a Team or Enterprise plan, an Owner adds Flint Pay once in Organization settings > Connectors: select Add, then Custom, and choose Web if Claude asks for a type. Each member then finds Flint Pay, labeled custom, in their list of connectors and selects Connect.

Flint Pay then works in Claude on the web, in the desktop and mobile apps, and in Cowork. To use it in a chat, select + in the message box and turn Flint Pay on under Connectors.

Claude can ask before it calls a tool that changes something, such as creating a payment link or sending an invoice. Select Allow once to run that call, or Always allow to stop asking for that tool. To change your answers later, open Flint Pay in your connectors and set each tool under Tool permissions to Always allow, Needs approval, or Blocked.

Claude Code#

If you signed in to Claude Code with your Claude account, Flint Pay is already there after you connect it in Claude. To add it to Claude Code on its own:

Shell
claude mcp add --transport http flint-pay https://api.withflintpay.com/mcp

For staging, add this connection and sign in with your staging account:

Shell
claude mcp add --transport http flint-pay-staging https://api.staging.withflintpay.com/mcp

Then run /mcp in Claude Code, select the connection you added, and authenticate. Flint Pay's sign-in page opens in your browser, and the consent page says the sign-in returns to an app on this computer.

Add Flint Pay to ChatGPT#

Add Flint Pay on chatgpt.com in a browser. The ChatGPT mobile app can't add a custom MCP server.

  1. Open Plugins, select +, then Add custom MCP server.
  2. Enter Flint Pay as the name.
  3. Set Server URL to https://api.withflintpay.com/mcp. For staging, use https://api.staging.withflintpay.com/mcp and sign in with your staging account.
  4. Set Authentication to OAuth.
  5. Accept the warning, then select Create as a plugin.
  6. Install the plugin.
  7. In a chat, type @ and select Flint Pay. Sign in to Flint Pay when ChatGPT asks, and choose your business, mode, and access.

In a Business workspace, only admins and owners can create and publish a custom MCP server plugin. In Enterprise and Edu, admins choose who may create one. ChatGPT asks you to confirm actions based on the plugin's permissions and what the action does, and it can block an action it judges too risky.

What you choose when you connect#

Flint Pay's consent page shows which assistant is asking and where you'll return, then these choices. Flint may ask you to verify your identity again before it connects.

ChoiceOptionsPreselected
BusinessEach business where you are an owner or admin. Businesses where you have another role are listed but can't be chosen.The business you have open in the Dashboard, or the first one you can connect
ModeTest: sandbox data, and no real money moves. A business with more than one sandbox shows a Sandbox picker. Live: your real customers, sales, and money.Test, in the default sandbox
AccessView only, or View and manageView and manage in test, View only in live
RefundsAllow refunds, under View and manageChecked in test, unchecked in live

Every permission the choices add up to is listed under Exact permissions, and the page says how long the connection lasts.

One connection acts on one business in one mode. Every result says whether it came from test or live, and the assistant can't switch modes by itself. To work in another business or mode, disconnect and connect again with the other choice.

What each choice allows#

ChoiceScopes
Viewmerchants.profile.read, analytics.read, money_movement.balances.read, money_movement.payouts.read, commerce.orders.read, customers.read, commerce.invoices.read, commerce.products.read, checkouts.payment_links.read, commerce.refunds.read, payments.payment_intents.read, commerce.subscriptions.read, payments.disputes.read
Manage, added to Viewcheckouts.payment_links.write, commerce.invoices.write, commerce.products.write, customers.write
Allow refunds, added to Managecommerce.refunds.write

No choice reaches API keys, payout settings, bank accounts, business settings, webhooks, or team members. Those stay in the Flint Dashboard.

Tools#

Claude and ChatGPT both get these 21 tools. Read tools only look things up; the others change something, and your assistant asks you before it runs them unless you've told it not to.

ToolWhat it doesNeeds
get_accountShows which business the connection acts on, whether it is in test or live mode, and what it may doView
get_sales_overviewSummarizes gross sales, the number of payments, and refunds for a date rangeView
list_balancesShows the available and pending balance in each currencyView
list_payoutsLists transfers between Flint and your bank, with direction and statusView
find_ordersFinds orders by search text, buyer email, customer, payment status, or dateView
get_orderGets one order with its line items, totals, payment, refund, and fulfillment statusView
find_customersFinds customers by search text or emailView
get_customerGets one customer's contact details and addressesView
find_invoicesFinds invoices by search text, customer, status, due date, or balance owedView
get_invoiceGets one invoice with its amounts, due date, and statusView
find_productsFinds products by search text, SKU, or status, with their variants and pricesView
find_payment_linksFinds payment links, with each link's URL and sales so farView
create_payment_linkCreates a payment link to sell items or collect a donation, and returns its URL. A donation link needs a minimum, maximum, or suggested amountsManage
update_payment_linkChanges a payment link's name, description, sales limit, or statusManage
create_customerAdds a customer with a name, email, and phone numberManage
create_productAdds a product with a name, type, and priceManage
create_invoiceDrafts an invoice from line items. The buyer pays by default. Use send_invoice to issue itManage
send_invoiceIssues a draft invoice, which can't be undone. It emails the customer when your default delivery or the call's delivery_mode says to, and an invoice set to collect automatically charges the customer's saved payment methodManage
void_invoiceVoids an invoice, stops collection and reminders, and may close its Quick Pay order. Use the version last read from the invoiceManage
send_invoice_reminderEmails the customer a reminder about an unpaid invoiceManage
refund_paymentRefunds an order or payment to the buyer, in full or for an exact amount. A refund can't be undoneAllow refunds

Each tool tells the assistant whether it only reads, whether it is destructive, and whether a repeat is safe, so Claude and ChatGPT can ask before the right calls. send_invoice, void_invoice, send_invoice_reminder, update_payment_link, and refund_payment are marked destructive, the strictest level, because they can affect invoices, email a customer, change a link buyers may be using, or send money back.

send_invoice tells the assistant to say, before you approve it, whether issuing the invoice will email the customer or charge a saved payment method.

For automatic collection, set up the draft and its saved card in the Flint Dashboard. Then ask the assistant to issue it.

More of the API in Claude#

In Claude, Flint Pay also has four tools for the rest of the API, within the same permissions: flint_search finds an operation, flint_describe shows its arguments, flint_read runs a read such as listing subscriptions, and flint_write runs a change such as deleting a product. flint_write is marked destructive, so Claude asks before it by default, and every write through it also needs confirm: true, which the tool tells the assistant to send only after it has described the change and you've approved it. With dry_run, flint_write previews the request and sends nothing.

These tools leave out operations whose results carry secrets such as API keys, operations that work without an API key, streams and files, and the details of webhook events and API request logs. ChatGPT gets the 21 tools above and not these four.

Test and live#

In test mode, every tool works on your sandbox: payment links take test cards and refunds return test money. Invoices and reminders are still emailed, so send them to your own address. Start there, ask for a payment link, pay it with 4242 4242 4242 4242 and any future expiry, and ask the assistant to find the order.

In live mode, the same tools act on your real business. A live connection starts with View only, so the assistant can report on sales, orders, and payouts but change nothing. Choose View and manage to let it create payment links, customers, products, and invoices, and check Allow refunds only if you want it to send money back to customers when you ask.

Ask "Which Flint Pay account are you connected to?" at any time. The assistant calls get_account and answers with the business, the mode, and whether it can refund.

How Flint Pay keeps you in control#

  • You choose the reach. The business, the mode, and the access are fixed when you connect. The assistant can't widen them.
  • Your assistant asks first. Claude and ChatGPT ask before tools that change something, unless you've allowed a tool to run without asking.
  • A repeated request doesn't act twice. If Flint Pay recognizes a request as a repeat, it tells the assistant that no new change was made.
  • Customer text stays data. Order notes, customer names, and invoice memos are written by buyers. Flint Pay returns them as data and tells the assistant not to follow instructions inside them, and changes still go through your assistant's approval.
  • Your team sees it. Connecting and disconnecting an assistant appear in your team's activity.
  • Roles follow the person. If a team member is removed or loses the owner or admin role, their connections stop working on the next request.

Disconnect#

In the Flint Dashboard, open Settings > AI assistants, which lists the connections you made. If your role can manage API keys, it also lists everyone's connections on the business you have open, with who connected each one, and you can disconnect any of them. Each connection shows its assistant, business, mode, access, when it was last used, and when it expires. Select Disconnect, and the assistant asks you to reconnect the next time it calls Flint Pay.

On staging, open Settings > AI assistants in the staging Dashboard.

In Claude Code, claude mcp logout revokes the Flint Pay connection too. In other assistants, disconnect in Flint Pay to revoke its access.

Owners see when teammates connect or disconnect an assistant in the team's activity.

A connection lasts up to 90 days, or 30 days without use, and then asks you to connect again. You can have up to five connections to each assistant at once; a sixth replaces the one used least recently.

When something goes wrong#

What you seeWhat to do
Claude says it couldn't connect right after you add the connectorOpen Flint Pay in your connectors and select Connect to start the sign-in.
ChatGPT has no Add custom MCP server optionUse chatgpt.com in a browser, not the mobile app. In a workspace, ask an admin to add Flint Pay or let you create plugins with MCP servers.
A tool says your connection doesn't allow itThe tool needs a choice you didn't make, such as View and manage or Allow refunds. Disconnect and connect again with that choice.
The assistant asks you to sign in againThe connection expired, was disconnected, or your role changed. Connect again.
You can't choose a business on the consent pageOnly owners and admins can connect. Ask an owner or admin of that business to connect, or to change your role.
ChatGPT shows no tools that change anythingChatGPT Pro gets read tools only. Use a Business, Enterprise, or Edu workspace for the rest.
An error names a CODEThe assistant shows Flint Pay's error and the request_id. If the tool reached the API, look up that ID in the Dashboard's request logs. If the error happened before the API call, share the ID with Flint support.

For developers#

The server at https://api.withflintpay.com/mcp is a standard remote MCP server, so any client that takes a server URL can use it.

Connect with a test-mode API key#

Send a test-mode API key (flint_test_...) as a bearer token. The key's merchant and scopes apply, and the key only reaches its sandbox. For live access, connect Flint Pay from your assistant and approve Live on the consent page.

Shell
claude mcp add --transport http flint-pay https://api.withflintpay.com/mcp \
  --header "Authorization: Bearer $FLINT_API_KEY"
cURL
curl -s https://api.withflintpay.com/mcp \
  -H "Authorization: Bearer $FLINT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

A test-mode API key gets the 21 tools above plus flint_search, flint_describe, flint_read, and flint_write. Tool calls run as the matching API requests, so they appear in your request logs under their /v1 route, count against the key's rate limits, and trigger the same webhooks. To test a client before you add it to an assistant, run the MCP Inspector against the server:

Shell
npx @modelcontextprotocol/inspector --cli https://api.withflintpay.com/mcp \
  --transport http --method tools/list \
  --header "Authorization: Bearer $FLINT_API_KEY"

Protocol#

  • Transport: streamable HTTP over POST, with JSON responses and no sessions. GET returns 405. A request body holds one JSON-RPC message of at most 1 MiB.
  • Versions: 2026-07-28, sent with _meta and the MCP-Protocol-Version, Mcp-Method, and Mcp-Name headers, and 2025-11-25 and 2025-06-18 through initialize.
  • Methods: initialize, server/discover, ping, tools/list, and tools/call. The server offers tools only, and the tool list doesn't change while you're connected.
  • Results: successful API tool calls return structuredContent with mode, data, and request_id. The first text block contains the same JSON. Lists include next_page_token when more items are available. Writes include idempotency_key and replayed. For get_account, read id, name, merchant_id, mode, scopes, and can_refund directly from structuredContent, along with sandbox_id for a sandbox connection. Lists return 10 items by default and up to 50 with page_size. If truncated is true, retry the same page with a smaller page_size and use that response in place of the partial page. A truncated page omits next_page_token and includes retry guidance in a second text block.
  • Money: amounts are { "amount", "currency" } in the currency's minor unit, so 1000 USD is $10.00. See Money & currency.
  • Repeats: every tool that changes something takes an optional idempotency_key. Without one, Flint Pay derives a key from the connection, the tool, and its arguments, so an identical call can replay an earlier result. A replay returns isError: true, replayed: true, and empty data. The text says that no new change was made. Check the current state before reporting the outcome. Reuse the same key to retry after a connection failure. Send a new key only for a separate change the user has approved. Keys follow the idempotency rules.
  • Errors: an API error comes back as a tool result with isError: true and Flint's error object, including code, message, and request_id. A missing scope returns INSUFFICIENT_SCOPE and names the consent choice that grants it.

Sign-in#

A request with no credential, or an expired one, gets 401 with WWW-Authenticate: Bearer resource_metadata="https://api.withflintpay.com/.well-known/oauth-protected-resource/mcp" and the scopes in What each choice allows. The protected resource metadata names https://api.withflintpay.com as the authorization server, which supports the authorization code grant with PKCE (S256), the resource parameter, and the iss response parameter.

Flint Pay signs in Claude, Claude Code, and ChatGPT by their published client IDs and doesn't support dynamic client registration. Other MCP clients connect with a test-mode API key. A live API key gets 403 with a JSON-RPC error. Access tokens last 15 minutes and refresh automatically, and each refresh issues a new refresh token.

  • Build with AI agents: the docs MCP server and Markdown docs for coding agents.
  • Flint CLI: flint mcp serve, a local MCP server with every API operation, for agents you run on your own machine.
  • API key security: scopes, rotation, and where keys belong.

No account yet? Sign up, then add Flint Pay to Claude or ChatGPT and ask for your first test payment link.

Was this helpful?