Record or process a reservation payment
Changed onUse this request to create an immediate or future payment, and to add a record to payment history.
An immediate or future payment is charged using a credit card, where a recorded payment indicates the funds were collected in other methods such as bank transfer, cash, e-check etc
Note: This endpoint will be deprecated as part of the move to the Reservations Open API [Beta] (v3). See the Reservations V3 Booking Flow guide for what's available today.
Request
- Base URLhttps://open-api.guesty.com/v1
- URLhttps://open-api.guesty.com/v1/reservations/{id}/payments
- AuthAPI key in header authorization
Path parameters
Reservation ID
Request body
Example request
{
"paymentMethod": {
"method": "CASH",
"id": "5fa02fa358d2db673e17bc2d"
},
"amount": 10,
"shouldBePaidAt": "2023-05-30T12:00:00.000Z",
"paidAt": "2023-05-30T12:00:00.000Z"
}Response
Retrieve the created payment for reservation
Changes
- breaking
the request property
/became required - breaking
the request property
/became required - breaking
the
request property format changed from no format tofloat - breaking
the
/response's property format changed fromdatetodate-timefor status - breaking
the
/response's property format changed fromdatetodate-timefor status - breaking
the
/response's property format changed fromdatetodate-timefor status - info
api operation id
reservationsV2PaymentCreatewas added - info
endpoint deprecated
- info
the
request property format was generalized fromdatetodate-time - info
the
request property format was generalized fromdatetodate-time
- breaking