Payments
Update Payment Invoice Assignment
PATCH
Updates the invoice assignment for a transferrable payment. When an invoice is assigned, the payment's customerId is automatically set from the invoice. Passing invoiceId null unassigns the payment. Payments that belong to a payment group cannot be changed here. With force: true, super admins may reassign non-transferrable Mollie payments.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
paymentId*stringapplication/json- body
invoiceId*string|nullforce?booleanUpdated payment reflecting the new invoice (or unassigned) and derived fields.
application/json- response
curl -X PATCH 'https://api.tillor.eu/orgs/string/payments/string/invoice' \ -H 'Content-Type: application/json' \ -d '{ "invoiceId": "string"}'null