ReservationDeposit

Structure

FieldTypeRequiredDescription
productPaymentProducttrueProduct used to describe the payment
amountBigDecimaltrueNumeric Amount of the deposit in the propertyPreferences Currency.
productDepositProducttrueProduct used to describe the deposit used in the transaction.
chargeIdStringfalseId of the deposit charge for operations.
paymentIntentIdStringfalseId of the payment intent for operations.

Take in consideratiion: if you add Deposit add Save(POST) Reservation or other operations, you have to make configuration at Settings > Property > Preferences tab > BIlling Information section.

JSON representation

     "deposit": {
        "productPayment" : {
            "code" : "VI"
        },
        "amount" : 100,
        "productDeposit" : {
            "code" : "DEPRE"
        },
		"chargeId":"ch_3MA9wDGjGBQ6ROtO0Rm9mtudss",
		"paymentIntentId":"pi_3MW0J6GjGBQ6ROtO1KI3NKTQ"
    }