Skip to main content

GET /v1.1/savings_category/:id

Returns a single savings category by its ID.

Request

GET /v1.1/savings_category/:id

URL Parameters

ParameterTypeRequiredDescription
idstringYesThe savings category ID

Example Request

curl -X GET "https://api.rccl.ro/v1.1/savings_category/c3d4e5f6-a7b8-3c9d-0e1f-2a3b4c5d6e7f" \
-H "X-WorldTravel-ApiKey: YOUR_API_KEY"

Response

200 OK

Returns a single savings category resource.

Response body:

{
"data": {
"type": "savings_category",
"id": "c3d4e5f6-a7b8-3c9d-0e1f-2a3b4c5d6e7f",
"attributes": {
"code": "NRD",
"description": "Non-Refundable Deposit Savings"
},
"links": {
"self": "/v1.1/savings_category/c3d4e5f6-a7b8-3c9d-0e1f-2a3b4c5d6e7f"
}
},
"links": {
"self": "/v1.1/savings_category/c3d4e5f6-a7b8-3c9d-0e1f-2a3b4c5d6e7f"
},
"jsonapi": {
"version": "1.0"
}
}

Savings Category Attributes

FieldTypeDescription
codestringUnique savings category code
descriptionstringSavings category description

Error Responses

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