v1
latestOpenAPI 3.1.02026-07-2422707.0 MBList 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.
get/v1/guests/{guest_id}/prepaidcards
Path parameters
guest_idstring required
Unique identifier of the guest.
Response
200
Example response
{
"guest_prepaid_cards": [
{
"prepaid_card_user_id": "8e05f2e9-10d1-42bf-92fa-7fe2ac7cbb12",
"prepaid_card_number": "7777",
"invoice": {
"id": "8fbffe91-a576-4019-bc91-2ef2f10c42f4",
"status": 4,
"invoice_number": "257"
},
"center": {
"id": "03ff6a3b-0bf9-48b7-b01d-cc1a02cfa97c",
"name": "Inventory"
},
"purchase_details": {
"date": "2019-11-11T00:00:00",
"price": {
"sales": 77,
"final": 77
}
},
"expiration_date": "2200-12-31T00:00:00",
"value": 77,
"balance": 77
}
]
}