---
title: "Create or fetch the public pay-online link for an invoice"
method: POST
path: "/invoices/{id}/payment-link"
tags: ["Invoicing"]
---

# Create or fetch the public pay-online link for an invoice

`POST /invoices/{id}/payment-link`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/invoices/{id}/payment-link`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

## Path parameters

- `id` string, uuid, required

## Response `200`

Public payment URL for the invoice

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
