Retrieve the saved credit/debit cards of a guest

Use this API to retrieve the saved credit or debit cards of a guest.

Supply guest_id and center_id to this api and it fetches the active payment accounts of the guest.

Response Details

NameTypeDescription
account_idstringUnique identifier of the payment account.
card_logostringBrand of the payment account.
last_fourstringLast four digits of the payment account.
expiry_onstringExpiry date of the payment account.
errorobjectObject that contains error message and error code details. For more information, refer to the error Object table.

error Object

codemessage
502Guest Id not found.
438cannot access.
502Center Id not found.
438UserNotAuthorized, The request does not have authenticated user.
Language
Credentials
Header
Click Try It! to start a request and see the response here!