Create a payment link through APIs

Use the Payment Links API to generate a secure checkout URL, configure payment methods, set expiry, and send it to your customer automatically.

Pay by Link allows you to send payment links directly to your customers, enabling them to make payments with just a simple click. It streamlines the payment process, making it hassle-free for both you and your customers. You can create a payment link and share it via email and SMS to collect payments easily.

If you prefer a no-code approach instead APIs, create a payment link through the Dashboard.

Start Integrating

Before you begin integrating, create your free Pine Labs Online developer account to get access to UAT credentials, API keys, and the merchant dashboard.

  1. Sign Up — Visit the Pine Labs Online Dashboard and register with your business email.
  1. Verify Your Email — Confirm your email address through the verification link sent to your inbox.
  2. Find Your Credentials — Once logged in, navigate to Settings → API Keys to generate your test-mode API key and secret.
  3. Explore the Dashboard — Use the dashboard to view test payments, refunds, settlements, and webhook configurations before going live.

Once your account is ready, you can immediately start integrating hosted checkout, custom checkout, payment links, tokenization, and other Pine Labs Online payment solutions using the UAT environment — no production credentials required.

Pine Labs Dashboard

📘 Note

  • Ensure you store your Client ID and Secret in your Backend securely.
  • Integrate our APIs on your backend system.
  • We strictly recommend not to call our APIs from the frontend.
  • Failure to adhere to the above guidelines may result in legal implications. In such cases, you will be held responsible for any damage or loss arising from non-compliance.

Generate a shareable checkout URL using the Payment Links API.

The table below list the various Pay by Link APIs.

API EndpointDescription
Create Payment LinkThis API enables you to create a payment link and send it directly to the customer.
Get Payment Link by Payment Link IDUse this API to fetch a Payment Link by payment link ID.
Cancel Payment LinkUse this API to Cancel a Payment Link.
Resend Payment Link NotificationUse this API to resend a Payment Link notification.
Get Payment Link by Merchant ReferenceUse this API to fetch a Payment Link by merchant reference.
New chat
Responses are generated using AI and may contain mistakes.
Hi! I'm Pine, your AI developer assistant. Ask me anything about Pine Labs APIs, integrations, or troubleshooting.

Tip: you can create a new chat with + E