cURL
curl --request POST \ --url https://b2b-api.markoub.dev/bookings/{code}/paid \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "additionalInfo": "<string>", "referenceNumber": "<string>", "paidPrice": "$ 100.00" } '
{ "success": true, "code": "<string>" }
Marks a booking as paid.
Default authentication mechanism
Any additional info for the payment.
1 - 500
Reference number for the payment, example: Transaction ID
1 - 255
The price paid by the customer with the currency.
"$ 100.00"
A boolean indicating if the booking was marked as paid successfully and the booking code