GET /v1.1/refundability/:id
Returns a single refundability policy by its ID.
Request
GET /v1.1/refundability/:id
URL Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The 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
| Field | Type | Description |
|---|---|---|
code | string | Refundability code |
description | string | Refundability policy description |
Error Responses
| Status | Description |
|---|---|
401 | Unauthorized — missing or invalid API key |
500 | Internal Server Error — refundability not found or upstream query failure |