Checkout Links
Reusable hosted checkout URLs for products, campaigns, and no-code payment flows
Checkout links are reusable hosted payment URLs. They are the simplest way to publish a purchase flow without building your own checkout page.
Best For
- Product sales from landing pages
- Email and SMS campaigns
- QR codes for in-person sales or printed materials
- No-code payment collection from the dashboard
How Checkout Links Work
- You create a payment link in RevKeen.
- RevKeen generates a public checkout URL for that link.
- The customer opens the hosted checkout page and pays.
- RevKeen creates or updates the downstream billing objects for the purchase.
The exact public URL format can vary by environment and branded domain. Copy the link RevKeen generates instead of constructing the URL yourself.
Create a Checkout Link in the Dashboard
- Go to Dashboard > Payment Links.
- Click Create.
- Add one or more products or line items.
- Choose the checkout presentation you want RevKeen to use for the hosted flow.
- Configure optional behavior such as success URL, cancel URL, shipping collection, discounts, or expiry.
- Save the link and copy the generated public URL.
What You Can Configure
| Capability | Supported |
|---|---|
| One or more linked products | Yes |
| Ad hoc line items | Yes |
| Success redirect | Yes |
| Cancel redirect | Yes |
| Shipping collection | Yes |
| Promotion codes | Yes |
| Tax behavior | Yes |
| Expiry timestamp | Yes |
| Metadata | Yes |
| Link status management | Yes |
| Hosted display mode selection | Yes |
Link Modes
Payment links support different billing use cases:
| Mode | Use when |
|---|---|
custom | You want a general hosted payment link |
invoice | You want the link tied to a specific invoice |
subscription | You want the link tied to a subscription flow |
API Example
If you want to create links programmatically, use the payment-links API.
curl -X POST "https://api.revkeen.com/v2/payment-links" \
-H "x-api-key: $REVKEEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Starter plan",
"mode": "custom",
"line_items": [
{
"price": "00000000-0000-0000-0000-000000000000",
"quantity": 1
}
],
"success_url": "https://example.com/success",
"cancel_url": "https://example.com/cancel",
"allow_promotion_codes": true
}'Status Lifecycle
Payment links can move through the following states:
| Status | Meaning |
|---|---|
draft | Created but not yet active for customers |
active | Live and usable |
expired | No longer usable because the link expired |
completed | Used for a completed one-time flow |
For operational management, RevKeen also supports active, inactive, and archived status transitions on the management endpoints.
Important Notes
- Checkout links are designed to be reused. If you need a single checkout created per user action, use a checkout session instead.
- Hosted payment-link checkout is currently card-focused.
- If you need per-session method control such as card versus in-store, use the checkout-session API.
Related
- Checkout Sessions -- One-off API-created checkout flows
- Embed -- Current display mode and embed limitations