callback.centra.globalCustom-channel gateway callback
Existing public gateway compatibility route. New integrations must arrange an approved protected configuration with the Centra team; this route is not recommended for self-service onboarding.
Public gateway endpoint #
/v1/reservations/custom/{hotel_id}Data direction: Local Travel Agency / channel → callback.centra.global → Centra Bridge
Authentication #
The underlying Bridge callback does not validate a token. The property identifier is routing information, not authentication. Do not treat a token query field as protection.
Required and optional fields #
| Field | Requirement | Meaning |
|---|---|---|
hotel_id | Required · path | Integration property lookup identifier. |
data | Required · form | JSON string holding a complete reservation or reservations[] wrapper. See decoded synthetic sample. |
Synthetic request #
All identifiers, tokens and guest details below are invented. These samples are reference text; the docs never send API requests.
POST https://callback.centra.global/v1/reservations/custom/SYNTHETIC-CRH-ID
Content-Type: application/x-www-form-urlencoded
data=%7B%22reservations%22%3A%5B%7B%22hr_number%22%3A%22SYNTHETIC-RES-001%22%2C%22provider_number%22%3Anull%2C%22channel%22%3A%22online%22%2C%22channel_display%22%3A%22Online%22%2C%22state%22%3A%22reserved%22%2C%22modified%22%3Afalse%2C%22guest%22%3A%22Example+Guest%22%2C%22cancel_reason%22%3Anull%2C%22completed_at%22%3A%222026-11-01T10%3A00%3A00Z%22%2C%22updated_at%22%3A%222026-11-01T10%3A00%3A00Z%22%2C%22sub_total%22%3A120%2C%22extras_total%22%3A0%2C%22adjustments_total%22%3A0%2C%22tax_total%22%3A0%2C%22total%22%3A120%2C%22currency%22%3A%22EUR%22%2C%22checkin_date%22%3A%222026-11-10%22%2C%22checkout_date%22%3A%222026-11-11%22%2C%22note%22%3Anull%2C%22payment%22%3A%22cash%22%2C%22paid_amount%22%3A0%2C%22requires_response%22%3Atrue%2C%22address%22%3A%7B%22city%22%3A%22Example+City%22%2C%22state%22%3A%22%22%2C%22country%22%3A%22Morocco%22%2C%22country_code%22%3A%22MA%22%2C%22phone%22%3A%22%22%2C%22email%22%3A%22guest%40example.invalid%22%2C%22street%22%3A%22%22%2C%22street_2%22%3Anull%7D%2C%22rooms%22%3A%5B%7B%22state%22%3A%22reserved%22%2C%22rate_code%22%3A%22HR%3ASYNTHETIC-RATE%22%2C%22inv_code%22%3A%22HR%3ASYNTHETIC-ROOM%22%2C%22non_refundable%22%3Afalse%2C%22price%22%3A120%2C%22nights%22%3A1%2C%22total_guest%22%3A2%2C%22total_adult%22%3A2%2C%22child_ages%22%3A%5B%5D%2C%22name%22%3A%22Example+Double%22%2C%22checkin_date%22%3A%222026-11-10%22%2C%22checkout_date%22%3A%222026-11-11%22%2C%22extra_info%22%3A%22%22%2C%22daily_prices%22%3A%5B%7B%22date%22%3A%222026-11-10%22%2C%22price%22%3A%22120.0%22%7D%5D%2C%22extras%22%3A%5B%5D%7D%5D%2C%22message_uid%22%3A%22SYNTHETIC-MESSAGE-001%22%7D%5D%2C%22count%22%3A1%2C%22current_page%22%3A1%2C%22pages%22%3A1%7D{
"reservations": [
{
"hr_number": "SYNTHETIC-RES-001",
"provider_number": null,
"channel": "online",
"channel_display": "Online",
"state": "reserved",
"modified": false,
"guest": "Example Guest",
"cancel_reason": null,
"completed_at": "2026-11-01T10:00:00Z",
"updated_at": "2026-11-01T10:00:00Z",
"sub_total": 120,
"extras_total": 0,
"adjustments_total": 0,
"tax_total": 0,
"total": 120,
"currency": "EUR",
"checkin_date": "2026-11-10",
"checkout_date": "2026-11-11",
"note": null,
"payment": "cash",
"paid_amount": 0,
"requires_response": true,
"address": {
"city": "Example City",
"state": "",
"country": "Morocco",
"country_code": "MA",
"phone": "",
"email": "guest@example.invalid",
"street": "",
"street_2": null
},
"rooms": [
{
"state": "reserved",
"rate_code": "HR:SYNTHETIC-RATE",
"inv_code": "HR:SYNTHETIC-ROOM",
"non_refundable": false,
"price": 120,
"nights": 1,
"total_guest": 2,
"total_adult": 2,
"child_ages": [],
"name": "Example Double",
"checkin_date": "2026-11-10",
"checkout_date": "2026-11-11",
"extra_info": "",
"daily_prices": [
{
"date": "2026-11-10",
"price": "120.0"
}
],
"extras": []
}
],
"message_uid": "SYNTHETIC-MESSAGE-001"
}
],
"count": 1,
"current_page": 1,
"pages": 1
}Success response #
{
"status": "ok"
}Errors and acknowledgement #
Underlying service: 400 invalid input; 404 integration not found; 500 processing failure; 429 rate limit. Gateway transport errors are distinct from service errors. Public routing was inspected read-only, not exercised with live reservation writes.
{
"status": "error",
"message": "Invalid callback data"
}