---
title: "Trigger a payment for all unpaid invoices"
method: POST
path: "/1.0/kb/accounts/{accountId}/invoicePayments"
tags: ["Account"]
---

# Trigger a payment for all unpaid invoices

`POST /1.0/kb/accounts/{accountId}/invoicePayments`

## Request

- The document declares no server URL.
- Auth: one of:
  - HTTP basic
  - API key in header `X-Killbill-ApiKey`
  - API key in header `X-Killbill-ApiSecret`
- TypeScript: <https://skmtc.dev/killbill/apis/kill-bill/docs/1.0/kb/accounts/:accountId/invoicePayments/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `accountId` string, uuid, required

## Query parameters

- `paymentMethodId` string, uuid
- `externalPayment` boolean
- `paymentAmount` number
- `targetDate` string, date
- `pluginProperty` string[]

## Headers

- `X-Killbill-CreatedBy` string, required
- `X-Killbill-Reason` string
- `X-Killbill-Comment` string

## Response `204`

Successful operation

## Other responses

- `404`: Invalid account id supplied

---

[API](https://skmtc.dev/killbill/apis/kill-bill.md) - [All operations](https://skmtc.dev/killbill/apis/kill-bill/llms.txt) - [OpenAPI document](https://skmtc.dev/killbill/apis/kill-bill/revisions/0fb95d23caf5?raw)
