Skip to main content

Reservation payment details

Description#

The price specifications of the reservation choosen using the API Server control panel could be sent to API receiver that can use it for the price count. This json section is available if the service is active

Request format#

Body format: JSON

KeyTypeDescription
noticeIntegerThe time choosen for the reservation
amountFloatThe amount of the payment reservation based on time unit (hourly).

Request schema:

{
"$schema": "http://json-schema.org/draft-07/schema",
"id": "http://example.com/example.json",
"type": "object",
"title": "The root schema",
"description": "The root schema comprises the entire JSON document.",
"default": {},
"examples": {
"notice": 60,
"amount": 0.5
},
"required": [],
"properties": {
"notice": {
"$id": "http://example.com/properties/reservation/notice",
"type": "number",
"title": "The notice schema",
"description": "Specifies the time choosen for the reservation.",
"default": "",
"examples": [
60
]
},
"amount": {
"$id": "http://example.com/properties/reservation/amount",
"type": "number",
"title": "The notice schema",
"description": "Specifies the amount to be payed every hour.",
"default": "",
"examples": [
0.5
]
},
}
}