Accept Payments

Payment origins and service identification

InFlow can show your Service name and details when a buyer approves a payment, even when the receiving wallet is not an InFlow wallet. It identifies the Service from the payment origin separately from identifying the account that owns the receiving wallet.

If your ODP Service is published at https://api.example.com and payment challenges come from https://x402.example.com, register and verify that additional origin. Sharing a parent domain does not establish the association. If payments use only the canonical Service origin, no additional payment-origin setup is needed.

Declare the additional origin

Add "payment_origins": ["https://x402.example.com"] as a top-level field in your existing ODP Service Document at https://api.example.com/.well-known/odp. Use your actual origins. InFlow accepts up to 16 declared payment origins, each using HTTPS and sharing the canonical origin’s registrable domain. Do not include an endpoint path, query, fragment, or credentials.

In the InFlow dashboard, open Services and select your Service. If it is not registered to your account, register its canonical origin first. Select Refresh Service Document to queue a directory refresh, then return after it has completed. The Payment Origins section lists the discovered declarations. Declaring an origin alone does not verify it.

Verify the Service and payment origin

First complete the Service ownership verification on the Service details page. Publish the exact URL and body shown there, then select Verify. This establishes which InFlow account manages the Service; it does not change your payment destination.

For each declared payment origin, the Payment Origins section then shows a separate URL under https://x402.example.com/.well-known/inflow-… and its required body. Copy the values from that section, not from the Service ownership section: the two claims use different values.

Serve the payment-origin claim publicly with HTTP 200 and Content-Type: text/plain. The body must be exactly the displayed value, without quotes, HTML, spaces, or a trailing newline. Do not require authentication or payment. Redirects must remain on the same origin. Select Verify Payment Origin and confirm the verified status.

Check new approvals and transactions

The Service must be published, and the payment origin must resolve to one Service. An x402 payment is matched using the origin of its resource URL. An MPP payment uses the origin derived from its challenge’s realm. Keep those values consistent with the endpoint the buyer is using.

For a separately authorized test, create a new payment approval and check that it shows your Service. Approving a charge is not necessary just to inspect the displayed identity. Any test that spends funds needs explicit authorization. Existing approvals and transactions retain their recorded association; adding or removing an origin does not rewrite them.

An origin association does not change the receiving wallet, authenticate a buyer to your application, or automatically approve payment. It also permits server-side TAP signing for that origin when the associated Service advertises TAP, subject to the normal TAP authentication and transaction checks.

If the Service is not identified

Compare the payment’s actual origin with the canonical and additional origins shown in the dashboard. Check that the document refresh completed, the additional origin is verified, and the Service is published. A caller-supplied Service identifier that conflicts with the resolved origin is not accepted. A saved withdrawal address is not proof that an InFlow account owns the receiving wallet.

If verification fails, check the exact claim path, HTTP status, content type, body, and redirects. If the dashboard still shows no additional origins, inspect the deployed Service Document rather than only your local source. Contact InFlow support when an origin is already associated with another Service.

Administrator-managed associations

InFlow administrators can associate an additional HTTPS origin with a Service after reviewing the relationship. The dashboard labels this as Administrator-associated rather than ownership-verified. It is active for new approvals and transactions while the Service is published and has the same TAP eligibility effect described above. It does not modify your published ODP document and survives directory refreshes.

Integrators and coding agents should follow the declaration and verification workflow above. They must not assume an administrator association exists or create one themselves. Removing an administrator association does not remove an independently verified declaration for the same origin.