List all prepaid cards of a guest

Provide unique identifier of the guest as guest_id and this api will retrieve the prepaid cards history of the respective guest.

Response Details

NameTypeDescription
guest_prepaid_cardsListList of prepaid cards that a guest has
errorObjectError object if any

Guest Prepaid Cards

NameTypeDescription
Descriptionguidunique identifier of the prepaid card
prepaid_card_numberstringunique number given to the prepaid card
invoiceobjectInvoice object containing id, status and invoice numer
centerobjectCenter object containing center id and name
purchase_detailsobjectObject containing purchase date and price
expiration_datedatetimedate on which the prepaid card would expire
valuedecimal?Price value of the prepaid card
Price value of the prepaid carddecimalLeft over amount to be used in the prepaid card
is_closedbooleanRepresents whether the prepaid is closed
is_one_time_usebooleanRepresents whether the prepaid card can be used only once
has_open_invoicesbooleanRepresents whether the prepaid card is redeemed and the invoice is open
sale_invoiceguid?Unique Identifier of the original invoice in which prepaid card was sold
notesstringNotes on prepaid card usage if any

Error

NameTypeDescription
statusCodeintError code
messagestringError Message
internalmessagestringError Message with further details
Language
Authorization
Header
Click Try It! to start a request and see the response here!