When Your.Rentals is merchant of record, payment is required in order to have confirmed booking. Your.Rentals only accepts credit card payment via API.

Example 1
Payment is successful, booking is in confirmed or pendingConfirm status (depending on bookingType of the property, instant or onRequest).

{
"bookingId": "C42NCA",
"status": "confirmed",
"paymentStatus": "success",
"guestPaymentInstallments": [
{
"name": "Installment 1",
"amount": 230,
"dueDate": "2020-04-13"
},
{
"name": "Installment 2",
"amount": 230,
"dueDate": "2020-07-27"
}
]
}

Example 2
Payment is not successful, booking is in pendingPayment status, and its paymentStatus is pending. 
Guest will have to pay in a timeframe in order to keep booking.

  • At expiresAt, the booking will be expired, dates are free for another booking.
  • paymentUrl is the page where guest can pay for the booking.
{
"bookingId": "CBUZOP",
"status": "pendingPayment",
"paymentStatus": "pending",
"paymentUrl": "https://goto.your.rentals/en/payment/BOCM/9ZzmnlNkeOLroad4GEvg",
"expiresAt": "2020-04-14 04:12:43",
"guestPaymentInstallments": [
{
"name": "Installment 1",
"amount": 230,
"dueDate": "2020-04-14"
},
{
"name": "Installment 2",
"amount": 230,
"dueDate": "2020-08-02"
}
]
}