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:
cardticketdepositexternalcodestring
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
Show child attributes
successboolean
errorstring
error_codenumber | string
totalnumber
summaryobject
Show child attributes
dataarray
Show child attributes
401
Object
Session not established / invalid key.
Response Attributes
successboolean
dataarray
errorstring
session_expiredboolean
totalinteger
Was this section helpful?
Response
Was this section helpful?