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
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The 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
| Field | Type | Description |
|---|---|---|
subtotal_amount | number | Guest subtotal |
tax_amount | number | Guest taxes |
total_amount | number | Guest total |
total_savings_amount | number | Guest total savings |
gratuities_amount | number | Guest gratuities |
payment_amount | number | Guest payment amount |
child | boolean | Whether this is a child guest |
Error Responses
| Status | Description |
|---|---|
401 | Unauthorized — missing or invalid API key |
500 | Internal Server Error — guest charge not found or upstream query failure |