Skip to main content
Each product can have one or more payment links. Customers only need the public Anyway URL returned as paymentLinkUrl. To set the purchase amount, customer, and business reference from your backend, create a Checkout Session directly. Payment Links remain reusable purchase entry points.
1

Create or open a product

Go to Business → Products and enter the product name, description, price, and currency.
Create Product — name, description, and one-time or subscription pricing
2

Select the payment method

Choose the payment method and complete the requested setup. You can add more payment links to the same product later — each link inherits the product and only sets its own pricing.
Create Payment Link — pricing inherited from the product
3

Create and copy the Anyway URL

Select Create Product. The app creates the product as published and opens a success dialog. Select Copy payment link from that dialog. There is no separate publish step.
Selected payment-link response fields
Use the returned paymentLinkUrl as the checkout base URL. Do not parse or reconstruct its path. You may append URL-encoded query parameters when you need to carry correlation data through checkout.

Attach correlation data

Append string-valued query parameters to the payment link you send to a buyer:
Anyway preserves the first string value for each query parameter in the order’s merchantMetadata. The merchant_reference parameter has an additional role: Anyway also promotes it to the top-level merchantReference field, while retaining it in merchantMetadata.
A checkout URL may contain at most 20 distinct query parameter names, and its complete raw query string may be at most 4,096 bytes. merchantReference may be at most 255 UTF-8 bytes. If a parameter name is repeated, Anyway keeps only its first value. Checkout rejects a URL that exceeds these limits.
For the example above, order payloads contain:
Use a URL builder so names and values are encoded correctly. Do not put secrets or raw personal data in these parameters: they are visible to the buyer and may appear in browser history and request logs.

What happens at checkout

The hosted checkout shows only methods available for the buyer’s device, country, currency, and provider eligibility. It may offer cards, Apple Pay or Google Pay, Link, Klarna, Cash App Pay, and bank payment. The page follows the buyer’s own language. See supported payment methods for details.
Anyway hosted checkout with card and wallet payment options
1

The buyer opens the link

The buyer opens the Anyway payment link.
2

Anyway starts checkout

Anyway creates a Checkout Session and keeps your order reference and metadata attached.
3

The buyer pays

The buyer completes the selected payment flow.
4

Anyway confirms the order

Anyway confirms the payment and creates or updates the corresponding order.
5

The sales record appears in Finance

For platform-collected Card / USD payments, the sale is added to your Finance ledger asynchronously.
If you configure the optional success URL, it must be a valid HTTPS URL. Anyway returns the buyer to it after confirmation and echoes the custom query parameters together with anyway_order_id, status, and the signed callback proof when available. The same correlation fields are available in order webhooks and Merchant API order responses. Verify the order status on your server before delivering high-value goods.
Query parameters and merchantMetadata are buyer-visible input. Use them for correlation and context, not as the sole authorization or pricing decision.
The Products list can filter PUBLISHED, DRAFT, and ARCHIVED items. Open a published product to archive it or an archived product to republish it. From the product overview, you can also edit its name or description, review existing payment links, create another link for a supported payment method, and copy a public URL. After creating a product, the app opens a success dialog with Copy payment link, Preview checkout, and Done. Done returns to Products. Adding a link to an existing product opens the same dialog; closing it returns to the product overview. You can also copy a link from the overview.

Safe sharing checklist

  • Share paymentLinkUrl or a derived URL that changes only its encoded query parameters.
  • Keep merchantReference stable and unique in your system.
  • Use webhooks as the server-side payment signal.
  • Make fulfillment idempotent so the same paid event cannot deliver twice.
  • Compare the order amount and currency with your own product record.