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_abc123xyz

Use 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

  1. Navigate to Product → Checkout Links
  2. Click + New Link
  3. Select one or more products/prices to include
  4. Configure options (quantity, discounts, custom fields)
  5. Customize the checkout appearance (optional)
  6. 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_xxx

Configuration Options

OptionDescriptionDefault
allow_quantityLet customers choose quantityfalse
allow_discount_codesShow discount code input fieldfalse
collect_billing_addressRequire full billing addressfalse
is_business_purchaseCollect business informationfalse
success_urlRedirect after successful paymentRevKeen success page
cancel_urlRedirect if customer cancelsNone

What Happens After Checkout

When a customer completes checkout through a link:

  1. Customer record created (if new) or matched (if existing)
  2. Order or Subscription created depending on price type
  3. Invoice generated for the purchase
  4. Payment processed via your payment gateway
  5. Confirmation email sent to customer
  6. Webhooks fired for your integrations
  7. 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
Checkout appearance is configured at Settings → Checkout Appearance and applies to all checkout links by default.

Tracking & Analytics

RevKeen tracks performance metrics for each checkout link:

MetricDescription
ViewsNumber of times the checkout page was loaded
Sessions StartedNumber of checkout sessions initiated
CompletionsNumber of successful purchases
Conversion RateCompletions / Views percentage
RevenueTotal revenue from the link
Abandonment RateSessions started but not completed

Best Practices

1.
Create dedicated links for campaigns

Use separate links for different marketing channels to track performance

2.
Use metadata for attribution

Add campaign, source, or medium to link metadata for detailed analytics

3.
Set custom success URLs

Redirect to your own thank-you page for upsells or next steps

4.
Enable discount codes for promotions

Allow customers to apply discounts during checkout for special offers

Related