CHANGELOG

Discover the latest features, enhancements, and bug fixes that we've implemented to improve your Onepay experience.

All Changelog

APRIL 22, 2026

Payment Link API

APIINTEGRATIONSERPWORKFLOWS
Payment Link API

Merchants and developers can now generate unique, shareable payment URLs programmatically through the OnePay Payment Link API. This is ideal for invoicing platforms, ERP systems, accounting software, and any B2B or B2C workflow where a trackable payment link needs to be created, sent to a customer, and paid independently, without redirecting them through a live checkout session.


WHAT'S NEW

  • POST /v3/payment-link/: Create a new payment link with full customer and amount specifications. Links are immediately active upon creation.
  • GET /v3/payment-link/{link_id}/: Retrieve full link details. Poll is_complete to detect payment and trigger downstream actions in your ERP or accounting system.
  • PUT /v3/payment-link/{link_id}/: Update the description of an existing link. Amount, currency, reference, and expiry are immutable after creation to protect payment integrity.
  • DELETE /v3/payment-link/{link_id}/: Soft-delete an inactive link. Links with completed transactions cannot be deleted and are preserved for audit purposes.

KEY CAPABILITIES

  • Expiration Dates: Set an expiration_date to enforce payment deadlines and prevent late or duplicate payments.
  • Partial Payments: Enable allow_partial_payment for large-value collections over LKR 100,000 or USD 100, allowing customers to pay in instalments with a configurable minimum.
  • Modern Authentication: Authenticate via Company API Key in the Authorization header — separate from the hash-based signing used by the Payment API.

Best for: Accounting Softwares, QuickBooks, SAP, ERP payment collection, field sales teams, and any B2B or B2C workflow where links are sent via email or SMS.

RESOURCES