Benji Pays is now available in the Sherweb Marketplace
ChatGPT · MCP server

Use Codex and the OpenAI API with Benji Pays

Codex is OpenAI's agent, and it comes with every ChatGPT plan. Sign in with your ChatGPT account, add the Benji Pays Model Context Protocol (MCP) server, and Codex answers your accounts receivable (AR) questions and takes actions through the Benji Pays application programming interface (API). Building your own app? Add Benji Pays to the OpenAI API as a remote MCP tool.

  • Codex: sign in with your ChatGPT account and add one block to ~/.codex/config.toml
  • OpenAI API: add Benji Pays as a remote MCP tool with your key in the headers
  • Read invoices, customers and payments, then create payment links or charge an invoice

Accounts receivable

Example with sample data
Past due more than 30 days$9,870.00
Past due invoices3
Largest balance$4,250.00Acme IT Services
Codex
Example

YouWhich invoices are more than 30 days past due?

CodexThree invoices, $9,870.00 in total. Want a payment link for each?

MCP server URL

https://developer.benjipays.com/mcp

Send your Benji Pays API key in the x-api-key header.

See it in action

Ask Codex a question, get the answer from your Benji Pays data, then act on it in the same chat.

AskExample with sample data

YouWhich invoices are more than 30 days past due?

Codex benjipays · execute-request

Three invoices are more than 30 days past due, $9,870.00 in total.

CustomerInvoiceDays past dueBalance
Acme IT ServicesINV-104247$4,250.00
Globex LogisticsINV-101738$3,980.00
InitechINV-099833$1,640.00

Want a payment link for each one?

ActExample with sample data

YouCreate a payment link for INV-1042 and write a short note I can send with it.

Codex benjipays · execute-request

Done. The payment link for INV-1042 (Acme IT Services, $4,250.00) is ready to copy.

Payment link created

Hi Sam, here is a secure link to pay invoice INV-1042 online. Thanks!

ActExample with sample data

YouAdd a note to Globex Logistics: promised payment Friday.

Codex benjipays · execute-request

Done. Note added to Globex Logistics: Promised payment Friday.

Sample data. Names and amounts are made up.

Which ChatGPT route works with Benji Pays

Codex and the OpenAI API can send the x-api-key header the Benji Pays MCP server uses, so you connect with your API key. As of December 2026, the custom MCP option in the ChatGPT chat app signs in with OAuth or no authentication and cannot send a custom API key, so use Codex or the OpenAI API.

OpenAI’s MCP authentication docs

What you can ask

Ask your AI toolWhat happens
“Which invoices are past due, and which customers owe the most?”Codex lists open invoices and ranks customers by balance due.
“What payments came in this week?”Codex pulls this week’s transactions with amounts and payment methods.
“Which AutoPay charges are coming up?”Codex reads the AutoPay forecast for your organization.
“Ask a customer to put a card on file.”Codex creates a payment-method request and gives you the link to send the customer.
“Charge an invoice to the card on file.”Codex charges the stored payment method and Benji Pays posts the payment back to your books.

How it works

  1. Ask

    You ask in Codex, included with ChatGPT plans, or through the OpenAI API. Both can send your Benji Pays API key, and Codex picks a tool such as execute-request.

    Example Which invoices are more than 30 days past due?

  2. Your assistant calls the Benji Pays API

    The MCP server calls the Benji Pays API with your key. The key’s scopes are what limit what Codex can read or change, not the ChatGPT plan itself.

    Example benjipays · execute-request

  3. Get the answer or the change

    Codex answers with live Benji Pays data, or makes the change you asked for, in that same Codex or API session.

    Example Note added to the customer

FAQ

Can ChatGPT connect to Benji Pays?

Yes, through Codex and the OpenAI API. Codex is included with ChatGPT plans and connects to the Benji Pays MCP server with your API key. As of December 2026, the custom MCP option in the ChatGPT chat app supports only OAuth or no authentication, so it cannot send a Benji Pays API key.

Which ChatGPT plans include Codex?

OpenAI includes Codex across ChatGPT plans, including Free and Go. Usage limits vary by plan.

What can Codex do in Benji Pays?

Codex can read invoices, customers, transactions and the AutoPay forecast, and make changes such as creating payment links, requesting a payment method on file or charging an invoice to a stored payment method, as long as your API key has the scopes for them.

Do I need an API key?

Yes. You need a Benji Pays API key from API Access. The OpenAI API also needs your own OpenAI API key.

See it on your own invoices

Book a demo and we will walk you through Benji Pays and the MCP server.

Claude, Grok Build, Grok Bot, ChatGPT, Codex, Gemini and Antigravity are trademarks of their respective owners. Benji Pays is not affiliated with or endorsed by them.