updatePayment
updatePaymentUpdate a payment's invoice allocations by providing a new array of payment parts with invoice IDs and amounts.
Instructions
Update a payment's invoice allocations. The API requires a non-empty request body with payment_parts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paymentId | Yes | The unique identifier (UUID) of the payment to update. | |
| payment_parts | Yes | Updated array of invoice allocations. Each element: {invoice_id: 'UUID', amount: 10000}. This field is required by the API. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |