get https://api.zenoti.com/v1/guests//prepaidcards
Provide unique identifier of the guest as guest_id and this api will retrieve the prepaid cards history of the respective guest.
| Name | Type | Description |
|---|
| guest_prepaid_cards | List | List of prepaid cards that a guest has |
| error | Object | Error object if any |
| Name | Type | Description |
|---|
| Description | guid | unique identifier of the prepaid card |
| prepaid_card_number | string | unique number given to the prepaid card |
| invoice | object | Invoice object containing id, status and invoice numer |
| center | object | Center object containing center id and name |
| purchase_details | object | Object containing purchase date and price |
| expiration_date | datetime | date on which the prepaid card would expire |
| value | decimal? | Price value of the prepaid card |
| Price value of the prepaid card | decimal | Left over amount to be used in the prepaid card |
| is_closed | boolean | Represents whether the prepaid is closed |
| is_one_time_use | boolean | Represents whether the prepaid card can be used only once |
| has_open_invoices | boolean | Represents whether the prepaid card is redeemed and the invoice is open |
| sale_invoice | guid? | Unique Identifier of the original invoice in which prepaid card was sold |
| notes | string | Notes on prepaid card usage if any |
| Name | Type | Description |
|---|
| statusCode | int | Error code |
| message | string | Error Message |
| internalmessage | string | Error Message with further details |