Checkout Links
Shareable payment URLs for accepting payments without writing code
Checkout Links (also called Payment Links) are shareable URLs that let you accept payments without writing any code. Share them via email, social media, QR codes, or embed them on your website.
What is a Checkout Link?
A Checkout Link is a pre-configured URL that opens a hosted checkout page. When a customer clicks the link, they see your product details, enter their payment information, and complete the purchase.
Example checkout link:
https://checkout.revkeen.com/l/pl_abc123xyzUse Cases
Email campaigns
Include payment links in marketing emails for direct conversion
Social media
Share links on Twitter, LinkedIn, or Instagram bio
QR codes
Generate QR codes for in-person events or printed materials
Invoices
Include payment links in custom invoices or proposals
Creating Checkout Links
Via Dashboard
- Navigate to Product → Checkout Links
- Click + New Link
- Select one or more products/prices to include
- Configure options (quantity, discounts, custom fields)
- Customize the checkout appearance (optional)
- Save and copy the link URL
Via API
const link = await client.paymentLinks.create({
priceId: 'price_xxxxxxxx',
// Optional: Allow quantity selection
allowQuantity: true,
// Optional: Allow discount codes
allowDiscountCodes: true,
// Optional: Collect billing address
collectBillingAddress: true,
// Optional: Success/cancel URLs
successUrl: 'https://yoursite.com/thank-you',
cancelUrl: 'https://yoursite.com/checkout-cancelled',
// Optional: Custom metadata
metadata: {
campaign: 'summer-sale',
source: 'email'
}
});
console.log(link.data.url); // https://checkout.revkeen.com/l/pl_xxxConfiguration Options
| Option | Description | Default |
|---|---|---|
allow_quantity | Let customers choose quantity | false |
allow_discount_codes | Show discount code input field | false |
collect_billing_address | Require full billing address | false |
is_business_purchase | Collect business information | false |
success_url | Redirect after successful payment | RevKeen success page |
cancel_url | Redirect if customer cancels | None |
What Happens After Checkout
When a customer completes checkout through a link:
- Customer record created (if new) or matched (if existing)
- Order or Subscription created depending on price type
- Invoice generated for the purchase
- Payment processed via your payment gateway
- Confirmation email sent to customer
- Webhooks fired for your integrations
- Customer redirected to success page
Checkout Customization
Customize how your checkout looks to match your brand:
- Colors - Primary color, background, text
- Logo - Your company logo
- Panel Image - Side panel background image (AI-generated options available)
- Custom Fields - Collect additional information
Tracking & Analytics
RevKeen tracks performance metrics for each checkout link:
| Metric | Description |
|---|---|
| Views | Number of times the checkout page was loaded |
| Sessions Started | Number of checkout sessions initiated |
| Completions | Number of successful purchases |
| Conversion Rate | Completions / Views percentage |
| Revenue | Total revenue from the link |
| Abandonment Rate | Sessions started but not completed |
Best Practices
Use separate links for different marketing channels to track performance
Add campaign, source, or medium to link metadata for detailed analytics
Redirect to your own thank-you page for upsells or next steps
Allow customers to apply discounts during checkout for special offers