Payment Links, Hosted Checkout, or API Payments? A Merchant Integration Checklist

Nov 30, 2026

Share

Category /

other

12 min read

GOAT Network

Payment Links, Hosted Checkout, or API Payments? A Merchant Integration Checklist

Match three data sales to payment links, hosted checkout, or API payments. Keep the records you need to confirm payment and recover an interrupted purchase.

scroll

Table of contents

Match three data sales to payment links, hosted checkout, or API payments. Keep the records you need to confirm payment and recover an interrupted purchase.

Three checks before you choose

Take one sale through these three questions before your team picks a merchant payment integration.

  1. Who calculates the price? A price saved on a product fits a payment link. A price calculated from cart contents belongs to the store backend, which can pass the purchase terms into a Hosted Checkout Session. If your API prices one data operation, save the price with the request that will produce that operation's result.

  2. Who creates the order? Identify who writes the business record that support can find. With a fixed QuickPay product, a merchant can take the purchase from a GOAT Flow order and open a fulfillment record against it. A store can open its own order before creating a Checkout Session. An API can reserve a purchase record for an authenticated request before asking for payment. A business order and the corresponding payment order can have different IDs and creation times.

  3. What gets delivered after payment? Name the thing the buyer has purchased. It could be a particular report edition, a bundle of files with a license, or the response to one saved request. Put enough information on the business record to identify that deliverable after the original browser tab or API connection is gone.

The answers can route different offers from the same merchant to different entry points. A report available to everyone at a published price can have a shareable link. The QuickPay guide distinguishes the hosted product page from the machine-readable agent entry. Share the appropriate link from the Merchant Portal. A compatible agent can use the agent entry to discover payment options and prepare a Card link. The human buyer opens that link, enters their Card details in the payment UI and completes any required Stripe authentication.

Before adding a surface, give each sale a name that your payment and fulfillment teams will recognize. For a file, identify the edition and delivery terms. For a cart, preserve the line items and the quote attached to the order. For a request, preserve the inputs that determine the result. Support should be able to recover the purchase using those records even if the buyer describes it only as “the regional data I ordered.”

One data seller, three purchase paths

Consider a fictional merchant called Slate Census. It sells a published transit report, lets subscribers build carts of district exports, and runs an API that returns a single station lookup. Use one merchant to compare who keeps the quote, who opens the order, and what the customer gets. The amounts and identifiers below are illustrative. They do not represent fees, account settings, or live payments.


A fixed report, a custom cart, and a single paid data request shown as separate paths

Offer and GOAT Flow path

Price and order ownership

Buyer entry

Merchant development

Trusted confirmation

Delivery responsibility

Transit report at 48 USD via QuickPay Products

Merchant saves the price per product. GOAT Flow records the purchase. Slate Census opens a release record.

Individual hosted product link for a person or the merchant's agent entry for compatible software. Human completes Card.

Configure the item and payment method in the Portal. Build no payment UI. Staff can check the order and deliver manually.

Portal order has completed processing with no restriction, and product, amount and currency match.

Release the specified PDF edition to the authorized customer and record the delivery.

Two district exports at 64 USD via Hosted Checkout

Store calculates the total and creates a business order. Backend opens a GOAT Flow session and keeps the association when a payment order binds.

Session URL created for that cart. Human completes Card and any required authentication.

Server-side checkout creation, persistent order mapping, completion verification and delivery code.

Associated Card order reaches INVOICED or its session reports COMPLETED. Verify ownership and payment terms before release.

Issue access to the individual export files and the saved license on the store order.

One station lookup for 0.80 USDC via API Payments

Merchant API determines the price and saves the authenticated request. Custom Integration creates a payment order for that request.

Authenticated merchant API operation, followed by its payment requirement and an authorized Crypto payer.

Request persistence, server order creation, confirmation and idempotent result delivery. A receipt-based route adds deployment and verifier work.

For this documented Custom Crypto pattern, the backend verifies the mapped order and its terms and checks the documented successful status. For a GOAT Flow MPP route, verify its signed receipt and enforce application access.

Return or make retrievable the saved station result for the authorized purchase.

The fixed price is a good fit for the report because two people buying that edition receive the same product at the same price. A staff-operated delivery queue is enough for an initial offer if the team knows how to associate one completed payment with one file release. Record outstanding delivery work somewhere the next shift can see it. The hosted product page handles the payment interaction, and the data seller handles buyer entitlement, access to the file, and support.

The export cart has choices the store must preserve. Territory and license terms affect which files Slate Census can hand over. Let the order contain those choices and let the payment session carry the corresponding amount and line items from the backend. The Checkout guide documents opening the returned Hosted Page URL directly. Slate Census can use that URL with its existing storefront and keep the work on order creation, status checks, and delivery.

For the station lookup, the unit of sale fits in one API request. That saves the client a separate cart visit and gives the merchant work to do on the server. Save the result, or save a retrieval pointer to it, before treating the operation as delivered. If the buyer loses the HTTP response, the saved result is what makes that purchase useful on a retry.

Give each row an eligibility check before estimating effort. For the two Card offers, verify that the merchant has Card access and a connected Stripe account ready to accept charges. Enable Card on the QuickPay item and request the Card rail explicitly when creating the Hosted Checkout Session. For the Crypto lookup, confirm the configured receiving address and chain/token pair in the target environment. Test whether the intended client can read the requirements, present the amount to its buyer and obtain wallet authorization. Reserve any platform or client capability you cannot verify as a launch dependency.

The records that travel with the purchase

Here is a worksheet with fictional values for those three sales. It shows a merchant's view of the purchase, with a few documented GOAT Flow fields named where they matter. Treat the values as a recordkeeping example. In production, capture those associations from your own purchase system and trusted payment records.

QuickPay product configuration

Merchant evidence field

Example value

Product and price saved in QuickPay

Station Access Report, September edition, 48.00

Configured methods and availability

Card only, available

Entitlement tied to the offer

September PDF, one buyer organization

Entry copied from Portal

Individual product link for human use. Agent entry supplied separately. URLs omitted.

Purchase tie-back after verification

Illustrative Portal order QP-214 tied to release record FILE-214 for that edition

Use the product record for price and availability, then record the Portal order ID and the delivery decision on your own release record. A reusable product link alone cannot distinguish two purchases of the same edition. The Portal record gives staff the purchase identity. If you add Crypto to the offer later, check the saved quote for each enabled method. QuickPay uses the same numeric product price when both methods are enabled, with Card quoted in USD and Crypto quoted in units of the selected token.

Cart to session to payment order

Merchant evidence field

Example value

Internal cart order and quote

CART-681, two district exports at 32.00 USD each, total 64.00 USD

clientReferenceId

CART-681-A1

Stored session

checkoutId represented in this example by SESSION-A1. Save the actual ID, session URL and returned expiresAt in restricted order storage.

Bound payment order

Illustrative ID FLOW-398, associated when the buyer initializes Card payment

Release check

Matched payment order at INVOICED or matched session at COMPLETED, expected 64.00 USD and correct sale

Delivery record

EXPORT-681 so a second completion signal can find the existing entitlement

Use the backend's cart snapshot to create the session. Keep the session URL and handle out of support exports and analytics. After the buyer has started Card payment, the session status can report its bound order_id. Use the bound order ID for the server's order status check. Preserve the difference between the earlier session and the charge it eventually represents, since a session can exist before the buyer has initialized any payment.

Check the Card state even after the buyer has seen a bank approval. A GOAT Flow order at PAYMENT_CONFIRMED can still have a fulfillment hold. For the Checkout example, the release rule uses the associated INVOICED order or COMPLETED session and a match to the sale. Escalate a hold on the original record. Operations should be able to tell whether they are resolving payment or preparing the files for the buyer.

Decide what to do if the cart changes. Keep the original order snapshot and do not apply an eventual payment to the buyer's edited basket. Have the store show which export list is awaiting payment. If the buyer removes a district or changes the license, follow the store's policy for reconciling the old attempt before offering checkout for revised terms. Store the revised terms and their own reference so delivery can still identify the right license.

API request and confirmation record

Merchant evidence field

Example value

Authenticated account alias and client request ID

BUYER-TEST-A plus REQ-770

Saved request and quote

Station ST-041, weekday access snapshot, 0.80 USDC. Keep the selected chain ID and configured token contract in the real record.

Merchant job and payment associations

LOOKUP-770 and dappOrderId lookup-770-a1 linked to payment.order_id FLOW-611 from order creation

Illustrative backend confirmation

FLOW-611 at INVOICED, with matching payer, recipient, chain, token and amount checked against saved terms

Merchant result

RESULT-770, returned or retrieved under the saved purchase

Reserve the combination of authenticated account and request ID once. Generate an order from the saved quote, preserve the payment requirements and link the returned payment order ID to the request. A retry with the same ID and different lookup inputs should fail the merchant's purchase check. A retry for the original lookup should find its saved requirements, payment status or result. The API Payments guide uses a successful status check of PAYMENT_CONFIRMED or INVOICED for its documented Custom Crypto example. Use that example's rail-specific logic with the order and term match. The Card release rule above applies to the Card checkout example.

When the API request carries a receipt

Use GOAT Flow's MPP path when the client's protected resource request must include payment proof. The documented Crypto path starts with a challenge for a registered merchant route. GOAT Flow verifies the authorized transfer and issues a signed Payment-Receipt. The client supplies that receipt to the protected resource. The merchant verifies it with the trusted key for its deployment, checks audience, route and expiry, and applies its own access rules before serving the data. Confirm that the deployment and merchant have MPP enabled and that the route is registered and enabled before planning that integration.

The Machine Payments Protocol is a broader protocol. GOAT Flow documents a specific profile with /mpp/v1/challenge, /mpp/v1/verify and a signed receipt that the buyer presents on the request. Scope compatibility to a client and verifier matched to that GOAT Flow deployment. Support for standard MPP or an arbitrary x402 client leaves that compatibility unverified. Seeing HTTP 402 tells the client that a payment is required and it still needs the correct contract to proceed.

Route verification covers the station route. The application must still check that the buyer has access to the requested station parameters. Bind the receipt to the saved purchase if customer identity or request details affect the result. Keep a shared receipt-consumption record when enforcing single use across API instances. Keep the delivery record too. If a handler has consumed the receipt and the client loses the response, route the client to authenticated result recovery. Clearing a consumption record would discard the evidence that the payment proof has already been used.

Run the interruption check before launch

Give support the three worksheet entries without the buyer's final screen and ask them to explain what they would do next. The following are acceptance criteria for an authorized test. The outcomes are expectations, not observed results.

Simulate this interruption

Recover this record

Expected decision

Report buyer closes the Card page during or after authentication.

Original QuickPay order and payment in the Merchant Portal.

Reopen a valid, payable checkout when appropriate. If the payment is already recorded, wait through any hold or reconcile it. Release only against a completed, matched order.

Export buyer loses the Hosted Checkout page, or the server times out creating the session.

Store order, saved clientReferenceId and checkoutId if captured, then the bound order when present.

Recover the existing payable session or inspect its confirmed payment. Put creation with an unknown outcome into reconciliation before issuing a replacement.

Lookup client times out during payment or result delivery.

Original authenticated request, payment order and any saved transaction evidence, or the original receipt and result record.

Resolve the original payment or return its existing result. An MPP pending verification response calls for retrying verification of the original evidence, honoring Retry-After when supplied.

The session creation case is worth exercising independently of the closed tab. You may have a store order and the reference your server sent, with no session handle saved. Repeating a retained clientReferenceId can return HTTP 409. That response will not return the original handle. Keep the attempted reference, time and order details, and use the merchant's reconciliation or integration support process. Open a replacement with its own reference only after accounting for the prior payment and confirming that the earlier attempt can no longer be paid.

A Custom API payment creation timeout can leave a remote order even when the response never reached the job store. Keep the original request claimed until the outcome is known. If you have the GOAT Flow order ID, read status for that order. If the ID was lost, keep the merchant reference and payment context available for operations or support. If the buyer had already submitted a transfer, use that original transaction evidence for reconciliation. The same logic protects buyers when a confirmation poll times out. A polling deadline and a transaction's actual state can diverge.

Stage a second API case where a buyer retries with the original request ID and a changed station code. The expected result is a rejected change and an intact first purchase. If you are testing the receipt variant, stage a lost response after receipt consumption and see whether the authenticated retrieval route can return the original station result. Mark which payment and ownership checks the retrieval route uses. Keep receipt secrets and buyer data out of the test report.

For any row you exercise, save the environment label, merchant purchase ID or product reference, status source and decision. A reviewer should be able to see why a purchase was waiting for payment, blocked for review, or cleared to release. Give the support team non-sensitive record identifiers so they can find the checkout internally. The public link, session handle and signed receipt should stay out of shared tickets. If a row is still untested, identify the exact merchant setting or buyer behavior that needs verification.

Finally, test the case where staff and the backend both see completion. Give the merchant's release action a durable key at the level of the actual product purchase, store order or API job. Opening the queue twice should surface the same recorded delivery. If the first export or API result already exists, recover access under the purchase's original terms. Assign an owner for unresolved payment and an owner for delivery. A path is ready for sign-off when those owners can recover the purchase and account for one release from the records they will have during an interruption.

FAQ

Can one merchant use all three payment surfaces?

Yes. Choose by offer and verify the required merchant capabilities for each surface. The same seller can keep separate purchase records and fulfillment rules for a fixed report and a server-priced cart.

Does a transaction hash tell support which API result to return?

Use the hash to locate the original transfer and reconcile the payment order or receipt. The saved purchase establishes which authorized buyer and request can receive the result.

Can I retry a Hosted Checkout creation after a conflict response?

Reconcile the original attempt first. A duplicate clientReferenceId can return HTTP 409 without recovering the session details. Keep the original reference on the store order and wait for reconciliation before creating another payable session.

[01]

AI Knowledge base

More Articles

More Articles

More Articles