v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Retrieve the saved credit/debit cards of a guest

get/v1/guests/{guest_id}/accounts?center_id={center_id}

Path parameters

guest_idstring required

Unique 32-character identifier of the guest for whom you want to retrieve the saved credit or debit cards.

Query parameters

center_idstring required

Unique 32-character identifier of the center in which you want to retrieve the guest's saved credit or debit cards.

Response

200

account_idstring
card_logostring
last_fourstring
expiry_onstring

Example response

[
  {
    "account_id": "11ADA4D4-5FC9-46D4-8CB6-B1C532DB4CC4",
    "card_logo": "visa",
    "last_four": "1234",
    "expiry_on": "12/25"
  }
]