Update booking's payment method
PATCH {{baseUrl}}/bookings/:bookingCode/payment-method
Description
This API endpoint enables users to modify the designated payment method for a particular booking by entering the bookingCode
and paymentMethodId
.
Notes
Make sure you have the necessary authentication and authorization to access that endpoint.
Please be advised that a valid
:bookingCode
is required in the URL to retrieve the invoice list for a specific booking.Please be advised that a valid
:paymentMethodId
is required in the request body to retrieve the invoice list for a specific booking.
Request Body
{"paymentMethodId"=>1}
RESPONSES
status: OK
{"updatedPaymentMethodId":363,"updatedPaymentMethodName":"visa ending in 5556","bookingCode":"24310002","isSuccess":true,"updatedAt":"2024-07-28T15:42:35.4679096Z"}