Skip to main content
Use a checkout link when you want a Buy now link without an API key, a script on your site, or a pre-created session. A link is reusable. Opening it does not create a payment or reserve stock.
Replace your-store and PRODUCT_ID. Use the address of your live store, including its custom domain if it has one. Copy the product ID from the product’s Embed checkout code in the dashboard.

Build the cart

Repeat item once per line. Each value uses PRODUCT_ID:QUANTITY:VARIANT_ID. Quantity defaults to 1 when you omit both quantity and variant. Use quantities from 1 to 99 and up to 20 lines per link. All products must belong to the store in the URL. For carts with multiple lines, include a variant ID for each product that requires a variant. You can omit it when the base option is available.

Attribution and pricing

  • Use ref for a store referral code. You can also pass utm_source, utm_medium, utm_campaign, utm_term, and utm_content. Checkout uses the store’s existing attribution rules.
  • PaySum reads prices and options from the store. The link cannot set prices or override the store currency.
  • Do not put buyer details or secrets in the link. Use the Checkout API to prefill buyer details on a specific session.
  • Use an embed if you want checkout to open inside your site.