Payment Links

Collect payments outside your checkout with a secure, Payrails-hosted payment page.

What Payment Links are

A Payment Link is a shareable URL that opens a Payrails-hosted payment page. You create the link from your backend or from the Payrails Portal, share it with your customer through any channel, and Payrails handles the payment page, the processing, and PCI compliance.

No frontend integration is required, and your customer does not need an account or an app. The link opens in any browser.

ℹ️

In the Payrails API reference, this resource is called a drop-in link, and the endpoints live under /merchant/dropInLinks.

Example of a Payrails-hosted payment page using Payrails branding. Your hosted page will use your own brand logo, colors and fonts.

When to use Payment Links

Use Payment Links when payment happens outside your main checkout flow:

  • An agent or support team member collects payment during a call or a chat
  • You request payment after an order, a booking, or a service interaction
  • You collect a deposit, an installment, or the balance of an invoice
  • Several people need to contribute towards one total
  • You want to start accepting payments without building a checkout integration first

Use Payrails SDK solutions instead when payment is embedded directly in your product's purchase flow.

Payment Links compared with Payrails SDK solutions

Payment LinksPayrails SDKs
Where payment happensPayrails-hosted page, opened from a linkEmbedded in your own checkout flow
Integration effortOne API call, or no code via the PortalSDK integration
Who initiatesYou or your agent, asynchronouslyThe customer, in session
Frontend workNoneRequired
Partial paymentsSupportedNot applicable
Best forAssisted, operational, and follow-up paymentsYour primary purchase flow

What you get

Payment pageHosted by Payrails
CreationAPI or Portal
Payment modesSingle payment, or partial payments against a total
Payment methodsAll payment methods you have enabled in your workflow
BrandingConfigured by Payrails during onboarding
LanguageEnglish
DomainPayrails-managed
NotificationsWebhooks
ExpiryRequired on every link
Editing a linkNot supported. As a workaround, you can delete a link and create a new one

Before you start

Payment Links is enabled and configured per merchant account rather than self-serve. Agree on the following with your Payrails contact before going live.

SettingWhat to provideWhy it matters
Brand assetsLogo, brand colors, fontApplied to your hosted payment page
Required payer fieldsWhich fields the payer must completeControls what the hosted page collects
Capture behaviorImmediate or delayed captureSet through your workflow configuration

What to prepare on your side

  • API credentials for the test environment
  • The workflow code used for payment acceptance
  • An HTTPS webhook endpoint that accepts POST requests and acknowledges quickly
  • A merchant reference scheme you can reconcile against, such as an invoice or order number

Test and live environments

Test and live environments are isolated:

  • Webhooks are configured separately for each environment
  • A link created in test cannot be used in production
  • Validate the full lifecycle in test, including a webhook you have actually received and processed, before enabling live

Repeat your configuration in the live environment before launch. Environment mismatch is one of the most common causes of a failed go-live.

Next steps


Did this page help you?