# Split sales invoice payment **PUT /api-v1/sales-invoice/{invoiceId}/payment/{paymentId}/split** ## Servers - https://wyzio.app: https://wyzio.app () ## Parameters #### Headers - **TARGET-ORGANIZATION-ID** (integer(int32)) ID of organization, for which the operation must be performed - **WEAL-TOKEN** (string) API token (can be retrieved from account settings) #### Path parameters - **invoiceId** (integer) invoiceId - **paymentId** (integer) paymentId ## Body parameters Content-type: application/json payment - **bankCharges** (string) - **lossOnDebtors** (string) - **paidAmount** (string) - **receivableByAccountId** (integer) - **requestedAmount** (string) - **valueDate** (string) ## Responses ### 200: OK #### Body Parameters: */* (object) - **data** (object) - **error** (object) - **valid** (boolean) ### 400: 400 Bad Request ### 401: 401 Unauthorized ### 403: 403 Access Denied ### 404: 404 Not Found ### 500: 500 Internal Server Error [Powered by Bump.sh](https://bump.sh)