Theme switcher

Pay a booking

Header Parameters

Api-Keystring

Path Parameters

external_idstring Required

Booking identifier in the external service (as sent to POST /reserves).

Max length
64
Pattern
^[A-Za-z0-9_-]+$

Body Parameters

methodstring Required
Enum values:
cardticketdepositexternal
codestring

ticket / deposit: confirmation code sent to the client.

success_urlstring

card: where the payment page returns the client after a successful payment.

failure_urlstring

card: where the payment page returns the client after a failed or cancelled payment.

amountnumber

external: paid amount in the club's currency; must equal payment.to_pay.

Response

200
Object

Booking (crud envelope) or a reserves error.

Response Attributes

oneOfoneof

Choose one of the following oneOf options

One Of:

successboolean
errorstring
error_codenumber | string
totalnumber
summaryobject
dataarray
401
Object

Session not established / invalid key.

Response Attributes

successboolean
dataarray
errorstring
session_expiredboolean
totalinteger
Was this section helpful?

POST

/

Select
1

Response

Was this section helpful?