Payment Links API
The Payment Links API lets you create and manage hosted checkout URLs programmatically. The following operations are available:
- Create Payment Link (
POST /api/v1/payment-links): generate a new checkout URL. - Get Payment Link by ID (
GET /api/v1/payment-links/{paymentLinkId}): look up the current status and order details. - Disable Payment Link by ID (
PATCH /api/v1/payment-links/{paymentLinkId}/disable): prevent anACTIVElink from being paid.
Payment links can also be created from your merchant account in Lighthouse . Once created, a payment link cannot be deleted or modified. Disable is the only mutation.
For the concepts behind these endpoints, see Payment Links: the payment methods you can offer, the payment link flow, the lifecycle and statuses, and the optional features. For request and response shapes, see the Payment Links API Specification. For a walkthrough of a full integration, see the Integration Guide.
Last updated on