Payment groups
Assign Payment Group to Invoice
POST
Bulk-assigns all member payments to a BOOKED invoice in one operation. Each payment receives the invoice's customerId and a description derived from the invoice displayId; PaymentUpdatedEvent is emitted per payment so existing handlers (Mollie metadata sync, invoice payment recalc, payment report sync) run as usual. The group is marked ASSIGNED.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/json- body
invoiceId*stringPayment group marked ASSIGNED; member payments linked to the invoice.
application/json- response
curl -X POST 'https://api.tillor.eu/orgs/string/payment-groups/string/assign-to-invoice' \ -H 'Content-Type: application/json' \ -d '{ "invoiceId": "string"}'null