Checkout Link
Create direct checkout links to SellAuth with zero JavaScript or SDK integration.
Example
Click on "Buy Now" to see the checkout link in action:
Buy NowIntegration Overview
Checkout Links allow you to create a URL that instantly creates a SellAuth checkout session when opened.
This is the simplest possible integration: No JavaScript, No SDK, No embeds, No custom logic
You can use these links behind buttons, anchors, images, emails, or ads, and they will open the SellAuth checkout automatically.
When a customer opens a Checkout Link:
- A checkout session is created server-side
- A short loading screen is shown
- A background CAPTCHA is solved automatically
- The customer is redirected to the SellAuth checkout page
The loading spinner is intentional and required for bot protection.
HTML Integration
All you need to do is create a link or button that points to the Checkout Link URL:
<a
href="https://<your shop>.mysellauth.com/checkout-link?cart[0][productId]=<product id>&cart[0][variantId]=<variant id>&cart[0][quantity]=<quantity>"
target="_blank"
>
<span>Buy Now</span>
</a>Parameters
cart (required)
An array of cart items.
| Field | Type | Required | Description |
|---|---|---|---|
cart[index].productId | number | ✅ | Product ID |
cart[index].variantId | number | ✅ | Variant ID |
cart[index].quantity | number | ✅ | Quantity (1–100000) |
cart[index].parentVariantId | number | null | ❌ | ID of the variant this addon product belongs to |
Other Parameters (optional)
| Parameter | Type | Required | Description |
|---|---|---|---|
currency | string | null | ❌ | 3-letter currency code |
email | string |null | ❌ | Customer email |
affiliate | string | null | ❌ | Affiliate / referral code |
Example with all parameters and multiple cart items
https://<your shop>.mysellauth.com/checkout-link?cart[0][productId]=1&cart[0][variantId]=1&cart[0][quantity]=1&cart[1][productId]=3&cart[1][variantId]=3&cart[1][quantity]=2&cart[1][parentVariantId]=1¤cy=USD&email=john.doe@email.com&affiliate=CREATOR123