How to connect Claude to Railbed for payment lookups and proposals

Connect one business and one mode, prove that Claude can read a known record, then decide whether it needs to prepare changes for you to confirm.

By
Railbed
Published
Reading time
11 min
Centered isometric terminal and merchant ledger connected by a mint bridge and navy block

Connect Claude to Railbed by adding the official Railbed connector, signing in on Railbed, and approving one business, mode and access level. For your first session, use Test and ask Claude to find a simulated record you already know. If the assistant later needs to prepare an invoice or checkout change, give it the appropriate access deliberately. A proposed change still needs your confirmation in Railbed. The connection is for merchant operations, not for paying on behalf of your buyers.

Choose the Claude app or Claude Code based on the job

Use the Claude app if you want to ask about a payment, check an invoice or prepare a routine proposal from the business account you already operate. Use Claude Code when you're working in a project and also need to inspect or update application files. The official Railbed connector can support merchant work from either tool. Adding the connector to a coding tool does not itself install checkout in a repository. That is separate work involving your app's order records, payment confirmation and delivery logic.

State the first job before opening any settings. A service company might say, “Look up the paid status of a known Test invoice and report the amount and reference.” A retailer might say, “Find the order that should have been paid during our simulated checkout and tell me if the matching payment shows paid.” These are better first tasks than “Connect to my business and fix payments.” A single known record lets you verify that the assistant really used the connection and did not answer from public documentation or from details you accidentally supplied in the prompt.

The term MCP is short for Model Context Protocol, a way an assistant can use tools supplied by another service. Railbed's official MCP setup guide documents the supported Claude paths, business approval and confirmation process. Public documentation tools are available without a business connection. Reading a public guide is not proof that Claude can open your store's records. See what a payment MCP server can and cannot do for the distinction.

Connect the Claude app without pasting a secret

Follow the Claude app section of the setup guide. It provides an Add to Claude option and the manual custom connector route. In the documented manual route, open Customize, then Connectors, add a custom connector named Railbed, and use the official server address shown on Railbed's page. Check the address against the source rather than trusting a copy from an invoice, email or search snippet. Use the sign-in settings detected by Claude, then connect and sign in on the official Railbed page. In an organization where a workspace owner controls custom connectors, that person may need to add it before you can connect it yourself. Railbed documents that distinction in the client setup section.

Enable Railbed in the chat where you intend to use it. Ask for a connection check before you ask about a record. If Claude returns a Railbed approval link to connect a business, check which business you selected. Railbed's documented approval page initially selects Live and Full access. Open Options and change the selection if you're practicing or only need to look up records. Test and Read only is enough for a simulated lookup. Taking the default is a real choice, not a neutral next step. A person with the necessary Railbed role must approve the connection, and an unsolicited request does not belong to your workflow just because it has a familiar name.

Return to the same chat and ask Claude to state the connected business, mode and access level. Compare those details with the choices you made. A connector listed as installed isn't the same as one that can retrieve the right business record. If you work with two shops, the wrong connection might still return a convincing result. A shared customer name or similar invoice number isn't enough to identify which business took the sale. Check the selected business before sharing the answer with a customer or warehouse.

If the chat says there are no Railbed tools, inspect whether the connector is enabled in that chat and whether the client's setup is complete. If the tools can read public information but not your records, see whether the business approval was completed or expired. Railbed documents that the approval link expires after 15 minutes. If the stated result doesn't identify the selected business, repeat the connection check through the documented process. Don't solve a read failure by granting wider access or pasting an application key into Claude.

Connect Claude Code when you are working in a project

Railbed documents a route for Claude Code under the same client setup guide. Use the current commands and steps from that page. It distinguishes adding the server from the interactive sign-in that opens in your browser. Keeping those steps separate matters: the tool listing can show that the server was added before you have authenticated and approved a business. The documented sign-in needs the merchant to participate in the terminal or browser when prompted. An assistant should not type the merchant's password or take over the approval.

Choose what belongs in the project. The merchant connector gives Claude access to the authorized Railbed business. Your application's own checkout runs separately using the credentials and environment approved for that application. If you are adding checkout, give Claude Code the checkouts.md playbook and the recipe for the framework it finds. Railbed maintains the open format. It describes products, fulfillment, wiring and evidence; it is not a place to store key values, buyer data or permission to take money. For the project record, see how to use CHECKOUTS.md to document payments for AI agents.

For example, a developer investigates why an order from a staging app never unlocked its paid feature. A merchant lookup can show whether the test payment is recorded. The project files can show how the application matches the order, checks the expected amount and triggers the grant. Those are separate facts. Claude Code may help with both, but a read-only connection doesn't grant it authority to change your live payment records. Likewise, being able to edit the project doesn't tell it which customer payment is valid. Keep the test evidence and the project changes reviewable on their own.

If you have selected a project that already sells, ask the coding assistant to identify the existing order entry point and one delivery record before it proposes a change. It should show how a paid order moves through the app today and where the proposed change is limited. The goal is not to replace every path that uses a payment button. It is to prove the selected payment flow without altering historical orders. Read what a coding agent can do when setting up a payment gateway for the implementation boundary.

Prove a lookup before giving Claude more work

Pick a simulated order or invoice that you can open independently in Railbed. Save the reference, expected amount, currency and state privately so that you can compare them. In the chat, supply only what Claude needs to identify it. Ask: “Check the Railbed connection. In the connected Test business, use the records to find this reference. State the amount, currency and recorded status. Don't create or change anything.” Then compare the answer with the dashboard. Giving the assistant all the expected values up front won't show that it found the record.

Ask for an intentional no-match case too. Use a fictional reference you know doesn't exist in Test, and see whether Claude distinguishes a missing record from an unpaid one. The difference matters in production. A missing result could mean the selected business is wrong, a reference is incomplete or the connector cannot answer the question. A recorded unpaid status refers to a real matched order. Neither answer alone authorizes a replacement payment request. If a lookup produces more than one plausible match, ask a person to resolve the ambiguity before drawing a conclusion.

In a third rehearsal, find a simulated record with a different state from the first. Have the assistant explain the difference in customer language without asserting more than the record shows. “Payment hasn't been confirmed” is safer than “your card was declined” when the payment record doesn't show a decline. “Paid, but waiting for delivery” describes a different support problem. Neither case calls for asking the buyer to paste their card statement, identity document or verification code into chat. Only the smallest useful status and reference need to be in the conversation.

Keep a short record of the rehearsal. Note which business and mode you connected, the access level you authorized, the Test references checked and whether the responses matched the dashboard. If you later replace the connector or change its permissions, repeat at least the known lookup. You don't need a real payment to prove that your assistant can read the correct Test record. You do need a real paid order to establish what happened in Live, and the separate delivery records to establish that a customer actually received the purchase.

Prepare a Test proposal before using one with a real buyer

If you need Claude to prepare a change, approve the appropriate connection deliberately. Start in Test with a fictional quote or payment description. Ask it to prepare the named action and show the review link, not to tell a buyer they can pay yet. Compare the business, mode, amount, currency, recipient and description with the terms you intended. Confirm only the actual change you expect on the official Railbed review page. Then check the resulting record. A proposal is not a completed action, and a created request is not necessarily sent or paid.

Imagine a small agency has a mock consultation quote with a $120 deposit. The team asks for a Test payment request to see how the workflow will behave. Before confirming, the reviewer checks that “deposit” is the product description and that the action isn't requesting the remaining balance too. The owner confirms in Railbed and checks that the result is Test. They do not copy that test link into a real client's email. If the review expires or the assistant loses track of it, the agency checks the operation or dashboard before starting again. The amount in this example is fictitious and isn't pricing from Railbed.

When you use a confirmed request in Live, follow your normal process for sending it. A review address is meant for the merchant, not for a buyer. Check the actual buyer link, the terms and the recipient before sending. If a customer asks what they still owe, check the invoice or order first. A deposit can be paid while the balance remains due, and a replacement request can be created while a previous one is still unresolved. Do not assume that the most recent message replaces the record of what already happened.

Know what your team still owns

Claude can report a verified payment record if it has the right access. It cannot make a return page, customer message or support screenshot the proof that payment went through. Your application or team releases the order after it verifies the payment matches the expected purchase. If the order goes to a warehouse, protect it from duplicate dispatch when a confirmation is read twice. If it grants app access, record delivery separately so a paid order with delayed access can be recovered without requesting more money. See the guide to verifying an agentic checkout payment before delivery for the confirmation checks.

In Railbed's hosted card flow, the buyer enters payment details on the provider's page. Buyer ID checks depend on the provider. Claude can explain where customers go and tell staff what the merchant record says. It should not answer a bank challenge for a buyer, request card details or promise that any given payment will finish. If the assistant helps with customer support, keep it in the merchant's authorized workflow and away from private documents that a buyer is supposed to submit to the payment provider. For a merchant evaluating a store setup, see Railbed for ecommerce.

Railbed never holds funds. Card sales settle to a wallet the merchant controls, almost always as USDC on Polygon. Settled sales can't be pulled back from your wallet. The statement does not erase refund obligations or a customer's right to raise a dispute. The assistant connection is not control of the wallet, and a payment status lookup is not proof of a bank deposit. Finance verifies the wallet receipt and any separate conversion or bank withdrawal. Use the USDC settlement reconciliation guide when you need to connect those records.

Before sharing the workflow with more people, name who manages connections and who handles proposals. Keep an assistant whose only job is support on the least access that works. Review its connection when a staff member leaves, when you move to another storefront or when a temporary project ends. Disconnect it through the documented controls when it no longer needs access and verify that the next lookup is refused. Disconnecting an assistant does not tell you whether a previous confirmed invoice or checkout is still active. Handle those records on their own.

FAQ

Can I connect both the Claude app and Claude Code to Railbed?

Railbed documents setup for both. Use the Claude app for account tasks and Claude Code when you also need to work in a project. Approve and verify each connection you use, including the business, mode and access level.

Do I need to put a Railbed secret key into Claude?

No. The official connector uses Railbed sign-in and business approval. Credentials for your deployed app's checkout are separate and should not be pasted into the conversation.

What should Claude do first after I connect it?

Ask it to name the connected business, mode and access, then look up a known Test record without changing anything. Compare the answer with that record in Railbed.

Why can Claude read the documentation but not my payments?

Public docs do not require a business connection. To read merchant records, Claude needs an enabled connector, completed sign-in and your approval for the intended business and mode.

Can Claude create and send an invoice without my confirmation?

On the official Railbed connector, supported changes are proposals that you confirm in Railbed. Verify the resulting action and record before telling a customer that a request was created or sent.

Does connecting Claude Code add checkout to my app?

No. The merchant connection and your app integration are different. To build checkout, document the project with checkouts.md, wire the app, and prove the order and delivery path in Test.

Can Claude handle identity checks for card buyers?

No. Buyers complete payment and any required provider checks on the payment provider's page. The assistant can explain the handoff or look up authorized merchant records, not collect sensitive information or verify the buyer in chat.

Start with one job you can verify

Connect the right business and mode, prove the authorized lookup, and decide whether preparing changes is actually part of the job. When it is, keep proposals waiting for your approval separate from verified results. An assistant is useful when it can show what happened without guessing what the buyer or your business should do with the money.