Documentation
Difficulty level:
API - Booking - POST booking/payment
POST booking/payment
Used for
Create payment for reservation. This can be done on the basis of a payment provider or on the basis of the PIN or CASH method.
No payment is created at the payment provider. This API is to register the external payment in i-Reserve.
Authentication
Admin access
Parameters
| Parameter | Description | Mandatory | Example |
|---|---|---|---|
| method | Payment method, payment provider or PIN, CASH | Yes* | INGENICO |
| booking_id | Reservation ID | Yes* | 1234 |
| amount | Amount in cents (integer) | Yes | 1095 (=10.95) |
| currency | Currency | Yes | EUR |
Example
Check whether a reservation can be made for 4 people on a slot that has already been booked.
POST api/rest/booking/check
request:
{
"method": "INGENICO",
"invoice_number": 1721,
"amount": 1095,
"currency": "EUR"
}
Response:
{
"20093108"
}





