Skip to main content
POST
/
bookings
/
{bookingId}
/
cancel-pending-payment
cURL
curl --request POST \
  --url https://api.plec-it.com/bookings/{bookingId}/cancel-pending-payment \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": true
}

Path Parameters

bookingId
string
required

Query Parameters

dryRun
enum<string>
default:true
required

When true, validates/simulates but performs no writes. Required for docs playground.

Available options:
true

Body

application/json

The body is of type object.

Response

201 - application/json
success
boolean
Example:

true