Skip to main content

GET /v1.1/guest_charge/:id

Returns a single per-guest charge breakdown by its ID, containing individual pricing details for one guest in a booking.

Request

GET /v1.1/guest_charge/:id

URL Parameters

ParameterTypeRequiredDescription
idstringYesThe guest charge ID

Example Request

curl -X GET "https://api.rccl.ro/v1.1/guest_charge/580d1bbc-00df-31f8-bce5-d6f92e37e325" \
-H "X-WorldTravel-ApiKey: YOUR_API_KEY"

Response

200 OK

Returns a single guest charge resource.

Response body:

{
"data": {
"type": "guest_charge",
"id": "580d1bbc-00df-31f8-bce5-d6f92e37e325",
"attributes": {
"subtotal_amount": 1157.5,
"tax_amount": 130,
"total_amount": 1287.5,
"total_savings_amount": 681.5,
"gratuities_amount": 116.6,
"payment_amount": 1404.1,
"child": false
},
"links": {
"self": "/v1.1/guest_charge/580d1bbc-00df-31f8-bce5-d6f92e37e325"
}
},
"links": {
"self": "/v1.1/guest_charge/580d1bbc-00df-31f8-bce5-d6f92e37e325"
},
"jsonapi": {
"version": "1.0"
}
}

Guest Charge Attributes

FieldTypeDescription
subtotal_amountnumberGuest subtotal
tax_amountnumberGuest taxes
total_amountnumberGuest total
total_savings_amountnumberGuest total savings
gratuities_amountnumberGuest gratuities
payment_amountnumberGuest payment amount
childbooleanWhether this is a child guest

Error Responses

StatusDescription
401Unauthorized — missing or invalid API key
500Internal Server Error — guest charge not found or upstream query failure