v1
latestOpenAPI 3.0.22026-07-223907721.1 MBReservations
Set the reservation for a specific voucher
This call temporary reserves an amount on a specific voucher, that can later be charged. A reservation expires after 30 minutes or in case a new one is requested for this voucher.
post/reservations
Request body
Example request
{
"amount": "10.53",
"currency": "EUR",
"code": "test",
"pin": "test"
}Response
OK
Example response
{
"id": "da39a3ee5eb28b7392ef5",
"voucher_id": "da39a3ee4528b7392ef5",
"client_id": "cff8784e5eb28b9b04860",
"amount": "10.53",
"valid_until": "2017-07-21T17:32:28+00:00",
"created_at": "2017-07-21T17:32:28+00:00",
"updated_at": "2017-07-21T17:32:28+00:00"
}