Payments

Payment Links

Create shareable checkout links your customers can pay without a custom UI.

Get Payment Templates

GET
API Key

Returns available payment link templates that can be used to customize the payment page appearance.

Success Response

200
json
{
  "success": true,
  "data": {
    "templates": [
      {
        "id": "template-1",
        "name": "Default",
        "description": "Default payment template",
        "previewUrl": "https://pay.lancpay.com/templates/default"
      },
      {
        "id": "template-2",
        "name": "Minimal",
        "description": "Minimal payment template",
        "previewUrl": "https://pay.lancpay.com/templates/minimal"
      }
    ]
  }
}