---
title: "Create links for outstanding invoices"
method: POST
path: "/v1/account/invoices/pay-links-outstanding"
tags: ["account"]
---

# Create links for outstanding invoices

`POST /v1/account/invoices/pay-links-outstanding`

## Request

- Base URL: `https://api.brixsignage.com`
- URL: `https://api.brixsignage.com/v1/account/invoices/pay-links-outstanding`
- Auth: HTTP bearer

Creates a separate hosted payment link for every invoice currently outstanding on the workspace.

**Notes.**
- Covers the card subscription's invoices only, not invoices Brix issued.

## Request body

- object
  - `ttlDays` number: Link lifetime in days, 1–180 (clamped). Default 30.

## Response `200`

Success.

- object
  - `data` object, required
    - `links` object[], required
      - `invoiceId` string, required
      - `number` string, required
      - `amountDue` number, required
      - `currencyCode` string, required
      - `url` string, required
    - `ttlDays` integer, required

## Other responses

- `401`: Missing, expired or revoked bearer token.
- `403`: You do not hold the permission for the whole workspace (a grant at one location is not enough).
- `409`: `billing_not_configured`.
- `502`: The billing provider did not answer; nothing changed.
- `5XX`: Server error. The body carries a `requestId` to quote to support.

---

[API](https://skmtc.dev/brixsignage/apis/brix-api.md) · [All operations](https://skmtc.dev/brixsignage/apis/brix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/brixsignage/apis/brix-api/revisions/02fd3665dc7d?raw)
