Creating a Payment Link
Payment links are created in the dashboard under Payment Links → New Link, or via the API.Via API
Response
{NEXT_PUBLIC_DIGITAL_URL}/checkout/{slug}.
Link Settings
URL-safe string used as the link path. Must be unique. Accepts lowercase letters, numbers, and hyphens (
a-z0-9-). Max 64 characters.Display title for the checkout page. Can be different from the product name.
Comma-separated list of accepted methods. Options:
mobile_money, card, or mobile_money,card. Defaults to all methods.Maximum number of paid orders allowed on this link.
0 means unlimited.ISO 8601 timestamp after which the link becomes inactive. Omit for no expiry.
Checkout Page Experience
The link renders a mobile-optimized checkout page with:- Product name, description, and preview image
- Price display
- Payment method selector (if both mobile + card enabled)
- Mobile: phone number input + operator auto-detection
- Card: card number, expiry, CVV fields with brand detection (Visa/MC)
- Submit button with loading states
Managing Links
List All Links
Get a Single Link
Update a Link
Delete a Link
Link Revenue
Get aggregate revenue stats for a specific link:Embedding in a Website
Add a payment button to your existing website that opens the checkout page:shop.yourdomain.com with your digital products app URL (NEXT_PUBLIC_DIGITAL_URL).
Managing Links from the Dashboard
From your dashboard sidebar:- Go to Payment Links (under Payments group)
- Click New Link or use an existing product link
- Configure slug, title, price, and accepted payment methods
- Share the generated link via WhatsApp, email, social media, or embed on your site
Best Practices
Use descriptive slugs
Use descriptive slugs
Good:
advanced-react-course, ugandan-tax-guide-2024. Bad: link1, abc123. Descriptive slugs improve trust and SEO.Set max_uses for limited offers
Set max_uses for limited offers
For early-bird pricing or limited editions, set
max_uses to automatically deactivate the link when the quota is reached.Test before sharing
Test before sharing
Open your link URL in an incognito window and complete a test payment to verify the full buyer experience before sharing publicly.