Programmatically create short-lived, tokenized checkout URLs via API or dashboard. Distribute via SMS, email, WhatsApp, or invoice — and track every click, authorisation, and expiry in real time via webhook notifications.
Send a POST request to the PayServ Pay by Link endpoint with the transaction amount, currency, merchant reference, and expiry window. The API returns a secure, short-lived checkout URL that resolves to a hosted PayServ payment page — fully tokenized, PCI-DSS SAQ A compliant, and tracked end-to-end.
The checkout URL can be embedded in any communication channel — SMS, email body, WhatsApp, invoice PDF, or chat widget — without any additional frontend development.
POST https://api.payserv.com/v1/payment-links
Authorization: Bearer sk_live_••••••••••••••••
Content-Type: application/json
{
"amount": 24900,
"currency": "USD",
"description": "Invoice INV-2026-0412",
"merchant_ref": "ord_98765",
"expires_in_seconds": 172800,
"single_use": true,
"notify_url": "https://yourapp.com/webhooks/payserv"
}{
"id": "plink_01JVQ3M8ZKFDRR7G9XS4TB2CEA",
"url": "https://pay.payserv.com/c/plink_01JVQ3M8Z",
"status": "active",
"amount": 24900,
"currency": "USD",
"expires_at": "2026-06-20T14:32:00Z",
"single_use": true,
"created_at": "2026-06-18T14:32:00Z"
}Each Pay by Link URL is more than a redirect — it's a full payment orchestration workflow with tokenization, lifecycle management, and event notification built in.
Each link resolves to a PayServ-hosted checkout page where card data is captured via PSP Hosted Fields (iFrame-isolated SDKs). The cardholder's PAN is tokenized at the PSP layer and never transits PayServ infrastructure. The resulting payment token is used to execute the charge immediately.
Every Pay by Link has a configurable Time-To-Live (TTL). On expiry, the checkout URL resolves to a branded expiry page and a link.expired webhook event is dispatched to the merchant's notify endpoint. Expired links cannot be reactivated — a new link must be generated.
link.expired webhook on lapse PayServ dispatches normalised webhook events at every stage of the link lifecycle. Merchants receive structured JSON payloads to their notify_url for every state transition — regardless of which downstream PSP processed the payment.
link.clicked — cardholder opened the URLlink.authorized — payment approvedlink.declined — payment declinedlink.expired — TTL elapsedEvery state transition fires a webhook to your endpoint. Track your entire link portfolio in real time via the PayServ dashboard or API.
link.createdlink.clickedlink.authorizedlink.declinedlink.expiredSend payment requests directly to a customer's mobile number. Ideal for field service businesses and mobile-first markets where customers don't have email access.
Embed a "Pay Now" link directly in your invoice PDF or email. Customers click once and complete payment — no portal login, no manual bank transfer required.
Drop a payment link into any WhatsApp, Messenger, or live chat conversation. Complete the sale without routing the customer to a separate checkout flow.
Generate and dispatch links automatically when a subscription renewal fails or a cart is abandoned. Pair with expiry logic to create urgency-driven recovery flows.
Register for early access and receive your sandbox credentials, API key, and a Postman collection to start generating and tracking payment links immediately.