Skip to main content

Save payment to a stay

Saves a payment to a stay by the pmsRoomStayId identifier.

Request:

POST /api/pms/reservations/20240921-5431-16521710/room-stays/4503599628319617/process-payment HTTP/1.1
Host: connect.hopenapi.com
Authorization: Bearer {{ access_token }}

Request body fields:

ParameterTypeRequiredDescription
actionDateTimestringYesPayment date and time in ISO-8601 YYYY-MM-DDThh:mm format, local time
pmsPaymentSystemIdstringYesPayment system identifier in Exely PMS
totalobjectYesPayment amount with currency
commentstringNoChild ages

Request body

{
"actionDateTime": "2024-07-11T14:00",
"pmsPaymentSystemId": "Mn3SlC3FKSNAonFsGRfzHw==",
"total": {
"value": "20",
"currencyCode": "EUR"
},
"comment": "aaaaaaaaaaaa"
}

Response:

HTTP 204 No-Content