Guests
Add a payment method for a guest
Changed onAttach a payment method to a guest. Card details are never sent to this endpoint — tokenize the card first, then pass the resulting token: stripeCardToken when the payment provider is Stripe, or the _id returned by Guesty's tokenization process for Guesty Pay.
post/guests/{id}/payment-methods
Request
- Base URLhttps://open-api.guesty.com/v1
- URLhttps://open-api.guesty.com/v1/guests/{id}/payment-methods
- AuthAPI key in header authorization
Path parameters
idstring required
Guest ID
Request body
Example request
{
"stripeCardToken": "pm_...",
"paymentProviderId": "5fe4b21675087f01a3c5ab5b",
"reservationId": "563e0b6a08a2710e00057b82"
}Response
Payment method created
Changes
- info
api operation id
guestsPaymentMethodCreatewas added
- info