ReservationDeposit
Structure
Field | Type | Required | Description |
---|---|---|---|
productPayment | Product | true | Product used to describe the payment |
amount | BigDecimal | true | Numeric Amount of the deposit in the propertyPreferences Currency. |
productDeposit | Product | true | Product used to describe the deposit used in the transaction. |
chargeId | String | false | Id of the deposit charge for operations. |
paymentIntentId | String | false | Id 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" }