---
title: "Start an invoice payment collection"
method: POST
path: "/invoices/{id}/collect"
tags: ["Invoicing"]
---

# Start an invoice payment collection

`POST /invoices/{id}/collect`

## Request

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

method=manual_card creates a card PaymentIntent on the company's connected Stripe account for the mobile Stripe PaymentSheet; returns paymentIntentId, clientSecret, publishableKey, and stripeAccountId. method=checkout_link returns the public pay-online URL (same as /payment-link). method=terminal_tap is reserved and returns 501. Requires an open balance and active Stripe Connect with charges enabled.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `method` 'manual_card' | 'checkout_link' | 'terminal_tap', required: Collection method

## Response `200`

manual_card: PaymentIntent credentials for PaymentSheet. checkout_link: token + url.

## Other responses

- `400`: Not payable or zero balance
- `422`: Stripe not connected or charges disabled
- `501`: terminal_tap not implemented
- `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)
