Add a ReservationGuaranteeCard and/or a Deposit to the current Reservation. Also, optionally, delete the situation of the ReservationRoomStay's under this Reservation.
Only accessible with permission of pms.integration.reservation |
table { width: 100%; } body.page-gadget { padding-top: 20px; } .separator{ margin: 5px 0; } |
PUT |
https://{environment}.ulysescloud.com/public/api/v1/con/chain/{chainId}/property/{propertyId}/reservation/{reservationId}/depositAndGuarantee |
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | int | true | path parameter | Unique identificator of the chain. | |
propertyId | int | true | path parameter | Unique identificator of the property. | |
reservationId | int | true | path parameter | Unique identificator of the reservation. | |
removeSituation | Boolean | true | request parameter | Removes situation of all ReservationRoomStays contained in this Reservation. |
POST https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/reservation/4/depositAndGuarantee |
The example that will be sent in the operation
{ "reservationGuaranteeCard": { "holderName": "JOAQUIN LORCA GARCIA", "expireDate": "2029-12-01", "effectiveDate": "2029-12-01", "number": "444433KIFOXD1111", "seriesCode": "xmiUKYQbRmqe94axruT1UneR", "cardType": { "id": 1, "code": "1", "name": "Credit" }, "creditCardIssuerType": { "id": 15, "code": "VI", "name": "Visa" }, "cardProviderSource": { "id": 3, "code": "STRIPE", "name": "Stripe" } }, "reservationDeposit": { "productPayment": { "code": "PAYM" }, "amount": 100, "productDeposit": { "code": "PAGO" }, "chargeId": "ch_3MA9wDGjGBQ6ROtO0Rm9mtudss", "paymentIntentId": "pi_3MW0J6GjGBQ6ROtO1KI3NKTQ" } } |
Property | Type | Required | Description |
---|---|---|---|
ResponseApiMessage | ResponseApiMessage | true | Description of the response of the success operation |
{ "httpStatus": "201", "userMessage": "Success", "technicalMessage": "Success Reservation Deposit and Guarantee added ", "errorCode": "0", "moreInfo": "0", "id": 8410, "entity": null, "responseApiErrorList": null } |