Create a new payment

Creates a new payment with the given details.

Request

This endpoint expects an object.
payment_datestringRequiredformat: "date"
The date of the payment.
document_idstringRequired
The ID of the document associated with the payment.
payment_type_idstringRequired
The ID of the payment type.
payment_amountdoubleRequired
The amount of the payment.
cash_account_idstringRequired
The ID of the cash account associated with the payment.
payment_detailsstringOptional
Additional details about the payment.

Response

Payment created successfully

Errors