DepositPayment

Structure

FieldTypeRequiredDescription
productPaymentProducttrueProduct used to describe and complete the payment
amountBigDecimaltrueNumeric Amount to pay of the deposit.
currencyCurrencyfalseCurrency used for the payment. If it is null will get the Currency set on the property by default.

JSON representation

{
    "amount": 100,
    "productPayment": {
        "id": 51,
        "chainProductId": 5,
        "code": "CASH",
        "name": "Cash",
        "nameI18n": "Cash",
        "productType": {
            "id": 3,
            "code": "PAY",
            "name": "Payment",
            "nameI18n": "Payment"
        }
    },
	"currency": null
}