---
title: "Create pay-all link"
method: POST
path: "/v1/account/invoices/pay-all-link"
tags: ["account"]
---

# Create pay-all link

`POST /v1/account/invoices/pay-all-link`

## Request

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

Creates one shareable link that lets whoever receives it pay all of the workspace's outstanding invoices at once.

## Request body

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

## Response `200`

Success.

- object
  - `data` object, required
    - `url` string, required: One web page that lists and pays every open invoice.
    - `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`.
- `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)
