Skip to main content

GET /v1.1/refundability/:id

Returns a single refundability policy by its ID.

Request

GET /v1.1/refundability/:id

URL Parameters

ParameterTypeRequiredDescription
idstringYesThe refundability ID

Example Request

curl -X GET "https://api.rccl.ro/v1.1/refundability/e1e1d3d4-0573-327e-9ee0-480caf1283d6" \
-H "X-WorldTravel-ApiKey: YOUR_API_KEY"

Response

200 OK

Returns a single refundability resource.

Response body:

{
"data": {
"type": "refundability",
"id": "e1e1d3d4-0573-327e-9ee0-480caf1283d6",
"attributes": {
"code": "R",
"description": "Tarife cu depozit rambursabil"
},
"links": {
"self": "/v1.1/refundability/e1e1d3d4-0573-327e-9ee0-480caf1283d6"
}
},
"links": {
"self": "/v1.1/refundability/e1e1d3d4-0573-327e-9ee0-480caf1283d6"
},
"jsonapi": {
"version": "1.0"
}
}

Refundability Attributes

FieldTypeDescription
codestringRefundability code
descriptionstringRefundability policy description

Error Responses

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