Guests

List a guest's payment methods

Changed on

Retrieve payment method list by guest id

get/guests/{id}/payment-methods

Request

  • Base URL
    https://open-api.guesty.com/v1
  • URL
    https://open-api.guesty.com/v1/guests/{id}/payment-methods
  • Auth
    API key in header authorization

Path parameters

idstring required

Guest ID

Query parameters

reuseboolean

Retrieve methods allowed for reusage in other guest's reservations

reservationIdstring
Example:68d41d46a357ad5a95e79fe2

Specify the reservation linked with the payment method. May be required to retrieve the payment method when the booking has a payment method, but the system returns an empty array.

Response

List of payment methods

_idstring
accountIdstring
guestIdstring
paymentProviderIdstring
methodstring
payloadobject

Provider-specific payload

saveForFutureUseboolean
reuseboolean
createdAtstring date-time
last4string
brandstring
statusstring
typestring
confirmationCodestring
updatedAtstring date-time
__vinteger

Changes