Hosted checkout vs payment links: what should an AI builder use?
Use one hosted page for repeat sales of a fixed offer. Use a payment link for one customer and one amount. Let your store create the session when the cart sets the price.
Use a reusable hosted checkout for a fixed offer you sell to many buyers. Use a payment link to collect one fixed amount from one customer. If a store calculates the final total from quantities, discounts or shipping, have the store create a checkout for that order. All three can send the buyer to a hosted payment flow. What changes is how the price is set and how your team connects payment to delivery.
A link is how the buyer gets there, not what they are buying
Calling both options a payment link can make sense to a customer. They click an address and see a way to pay. To the merchant, the distinction matters. A product page can sell the same offer to many people. A one-customer request represents an amount already agreed with somebody. When a coding assistant finds an example of a shareable checkout address, it needs enough context to tell whether it can put that address on a public page or should send it only to the person named on an invoice.
Imagine a designer sells a standard consultation and also takes deposits for larger projects. The consultation price and deliverable are the same for everyone. A reusable page makes it easy to send people there from a website, profile or assistant. The deposit amount varies because it depends on the signed proposal. A separate request with a project reference gives the client something recognizable to pay and gives the designer evidence of which project should be booked. The buyer may use a card in either case, but the checkout records represent different promises.
Try this sentence before choosing: “When this payment is confirmed, we owe this to this person or account.” If the deliverable is fixed and the buyer is not yet known, start with reusable checkout. If the customer and total are already known, start with a specific request. If the buyer is signed into an app and your product must know precisely which cart or account the payment belongs to, make that connection before the buyer pays rather than reconstructing it afterward.
| Sale | Starting option | Record you must preserve |
|---|---|---|
| One published price for an introductory service | Reusable hosted checkout | Each individual payment and the booking or entitlement it bought |
| A deposit agreed with one client | Single-payment link | The client invoice or quote reference and the outstanding amount |
| A store cart with delivery and tax | Order-specific session | The final cart amount, currency and your internal order reference |
| A plan billed each period | Invoice workflow | The invoice, its access period and the matching verified payment |
A link can be generated quickly. Its speed is useful only if it still fits the sale. A generic address is a poor replacement for an invoice with its own record. A custom session may be unnecessary for a fixed product that your team delivers manually. Evaluate the operating work left after payment, not just the number of steps needed to create the link.
Use a reusable page when the next buyer gets the same offer
Railbed's reusable checkout documentation describes a hosted page for one product at one price. The accepted address can be reused, and each buyer gets a separate payment. You can share the saved page or use a compatible button on your site. Give the product a recognizable label and say exactly what the payment buys. If delivery requires an address or one piece of information such as an account handle, collect what you need without asking for unrelated details.
A reusable page works well for a store selling a standard workshop recording. One visitor comes from a help article and another from an assistant recommendation. They see the same offer, but their payments and entitlements must remain separate. Staff should be able to tell which recording was purchased and what was delivered to each buyer. If product access belongs to a signed-in account, do not assume the email typed at checkout identifies that account. An assistant could send the link to one workspace member while a colleague in finance completes the payment. Confirm the account mapping before you let the software grant access without human review.
Document what the hosted page cannot carry. Railbed says reusable checkout payments do not include your own order reference in the returned reference field. When every payment must carry an exact order ID or identifying account information from your server, use an integration option that supports that contract instead of appending guessed parameters to a reusable address. See the reusable checkout workflow for a broader checklist on collecting buyer details and tracing repeat sales.
Changing a product is also different from editing an existing order. According to the hosted checkout documentation, the page address stays the same when you edit product details, but payments already created retain their saved amount and description. Document which parts of the update apply to the next sale. If you advertised $49 on a landing page and update the checkout to $59, illustrative amounts only, update the explanation at all the places you control. Do not substitute the current catalog price when investigating an old attempt. The historical order should tell support which price and description were saved for that specific payment.
If you turn a reusable page off, distinguish new visitors from people already underway. Railbed documents that payments already started still finish. Turning off the offer is a way to prevent new buying, not a refund or confirmation that every previously opened attempt is closed. Teach your support assistant to treat an unavailable page and a prior payment as different questions. The buyer who already paid still needs an answer about their order even if the public product is unavailable today.
Use a payment link when the customer and amount are known
Railbed's payment link documentation describes one fixed-amount request for one customer. Enter the description, currency and an existing invoice or order reference. Choose a payment window that matches the underlying agreement, review the saved request, then send it through your usual customer channel. Railbed does not email the payment link for you. Entering a customer's email prefills checkout, but that isn't an access restriction. Send the link only to the people who should see the request.
This format fits a custom order, deposit or consultation that was agreed directly. The reference should point back to the order or proposal your business already uses. Make the description recognizable enough that the customer can verify it against their agreement. If the person who pays isn't the person who requested the work, your support process still has to identify the right client record and the correct recipient of the service. Avoid treating the payer's contact details as the only record of who commissioned the work.
For example, a shop agrees a deposit for an engraved item with a customer whose final delivery date depends on payment. Its sales assistant can help prepare the request, but a person checks the amount, product and intended recipient before it goes out. The description should show that the request covers a deposit and not the full order. When the payment is confirmed, the team records the deposit against the original order. If there will be a later balance, issue a separate request for that agreed amount. Do not use the first link as a general way to collect both payments.
A tracking link is not the buyer's payment link. Railbed documents a separate limited view for collaborators who need to know the status. It still contains some payment-request information, so share it deliberately. Staff should know which link to send when a buyer asks to pay and which link they may share for a progress check. Your internal ledger should record the status you verified, not only that a payment or tracking address exists. For an example built around direct collection, read the payment-link workflow without a website.
Replace an old request without asking for the same money twice
Suppose a customer changes the delivery address after your team issues a payment request and the agreed total changes. First find out whether payment has started. If the old request can still be edited, update it according to the documented controls and communicate the new total to the customer. If it cannot be edited, investigate the current attempt before preparing a replacement. Link any replacement to the original order. If you duplicate a Railbed link, the documentation says the reference is cleared; verify the reference and recipient rather than assuming the new request inherits everything.
The old link may not be cancelable after the buyer reaches the card provider. Ask what the buyer actually saw and check the individual payment record. The safest first message is often that you are checking the existing request and will tell them if a new one is needed. Do not send a second link just because your own store did not receive a success redirect or because a list in the dashboard grouped the payment under an ambiguous filter. Railbed documents that its Paid filter can include payments that need a decision; read the individual result before fulfillment.
The same care applies during a processor change. Classify orders that already had a payment attempt separately from orders where nobody tried to pay. The former need status checks in the system that handled them. The latter may be able to use an eligible new route. A replacement request does not recover a balance held by the previous processor or transfer responsibility for historical disputes. See how payment links can bridge a processor switch for when a new link helps and when the existing order comes first.
Let the store create checkout when a live cart sets the price
Some applications cannot know the final amount from a product page. A hardware shop may need shipping charges and discounts. An AI service may sell a prepaid bundle to one signed-in workspace, with several workspace members ordering it at the same time. The store should calculate the total from records it controls and retain the order before sending the buyer to payment. Use a documented session flow that can preserve the order reference. The assistant can assemble a proposed cart, but it should not turn an estimated total from its conversation into payment authority.
Imagine an application starts checkout for a cart with two eligible items. While the buyer is looking at the cart, they change the delivery location and one item becomes unavailable. Recalculate the cart in your store, show the revised total and have the buyer accept that total before creating a new attempt. Keep the prior attempt visible rather than editing its history. If an old payment remains unresolved, confirm its status before inviting the customer to pay again. This allows support to see what the original buyer saw and which cart the later attempt intended to pay.
Keep payment confirmation and delivery separate. Verify the signed notification and check the provider's payment record against the expected order, amount, currency and environment. Where the documented flow supports recovery by authenticated lookup, apply the same match before taking action. Once payment is confirmed, record delivery against the order so that a second notification or return-page refresh does not send the product again. Railbed's agent checkout confirmation guide explains the verification boundary in more detail.
Give the AI builder a decision it can document
Write down which checkout type to use for each product family. The rule can be plain: “Share the fixed product page for the introductory course. For custom packages, use a request tied to a reviewed quote. The store creates every variable-cart session from an existing order.” An assistant can turn that into implementation and tests. It should not declare a product eligible, verify a buyer's identity, approve a refund or decide where your business receives money.
Railbed maintains checkouts.md, an open format for documenting merchant checkout. Use it to point to your pricing source, the checkout entry point, the delivery logic and dated tests. It does not give an assistant permission to spend on behalf of a buyer. In Railbed's card flow the buyer enters payment details on the provider's page. Buyer ID checks depend on the provider. Tell buyers where they will finish payment without promising that verification will not occur or that every payment will complete. See how to document checkout for AI agents for the four areas the project should record.
Give a second person the task of reviewing the first Test sale. Ask them to identify the checkout type, the saved amount, the provider-confirmed record and what the customer received. Run a second case where payment never completes and a third where the payment is confirmed but delivery is delayed. Then ask the reviewer to decide what support should say. A person who didn't build the flow should be able to distinguish “we're checking payment” from “we received payment and are finishing delivery.” If they cannot, revise the records before adding more stores or offers.
Prove settlement separately, particularly when switching providers
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. That describes what happens to settled funds, not whether a customer can raise a dispute or whether your business has refund duties. A later conversion or bank withdrawal has its own records and should not be described as checkout completion.
An ordinary online store can start with a small set of products and verify the relationship between buyer, order, payment and receipt. A high-risk merchant should deliberately include an eligible product from its actual business and a representative buyer market when planning a pilot. Label the product accurately and respect any restrictions on sale or delivery. A new checkout format does not change those obligations. For a store integrating with its own cart and delivery system, see Railbed for ecommerce.
When your business processes more than $50,000 per month, bring the share of fixed-price, bespoke and cart-priced orders to Railbed sales. Walk through one representative order of each kind you intend to move. Ask what buyers see during the handoff, what support can verify if they stop and how finance can match each confirmed sale to the wallet receipt. Track verified paid orders against unique order starts instead of assuming a link opened equals a sale. A checkout route should be easy to explain when something goes wrong, not just when the demo goes right.
FAQ
What is the difference between hosted checkout and a payment link in Railbed?
A reusable hosted checkout sells one defined offer to multiple buyers, with a separate payment for each. A payment link requests one fixed amount for one customer and is payable once.
Can an AI builder put the same payment link in every conversation?
Use a reusable hosted checkout for a public fixed offer. Do not reuse a specific payment request meant for one customer or assume a prefilled email limits who can open it.
Which type works for a cart with changing prices or shipping?
Use a documented order-specific flow. Have your store calculate and save the total and connect the session to the exact order before the buyer pays.
Can I make a replacement link when a buyer says the first one failed?
Check the individual payment record first. An earlier attempt may be pending or already paid. Only prepare another request after checking the original and confirming the outstanding amount.
Does a buyer need to submit ID when paying through a link?
Buyer ID checks depend on the provider. The buyer follows the instructions on the payment provider's page. Neither a link nor a reusable checkout removes applicable checks.
Does a reusable checkout bill a plan each period?
A reusable checkout takes separate purchases of the same offer. Railbed subscriptions use invoices each period; a shared product page is not the same billing workflow.
Can the return page confirm that my store should ship?
No. Verify the provider-confirmed payment and match it to your order. Record fulfillment separately so that refreshing a page or receiving another confirmation does not deliver the product twice.
Before you share the address
Check what the customer is paying for, what reference will connect payment to delivery and what support will see if the buyer stops. Choose the simplest checkout that preserves those records. The address is easy to copy. The record behind it is what lets your business deliver the right thing to the right person.