Payment groups
Assign Payment Group to Invoice
Toegang
Lid van de organisatie met dit recht:
payments:assign-to-invoice
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
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//payment-groups/string/assign-to-invoice' \ -H 'Content-Type: application/json' \ -d '{ "invoiceId": "string"}'Example Response
null