Skip to main content
POST
/
bookings
/
{code}
/
paid
Mark a Booking as Paid.
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>"
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Body

application/json
additionalInfo
string
required

Any additional info for the payment.

Required string length: 1 - 500
referenceNumber
string
required

Reference number for the payment, example: Transaction ID

Required string length: 1 - 255
paidPrice
string
required

The price paid by the customer with the currency.

Example:

"$ 100.00"

Response

A boolean indicating if the booking was marked as paid successfully and the booking code

success
boolean
required
code
string
required