Skip to content
campaiDeveloper
campai.com

Booking · Events · Attendees

POST/{organizationId}/{mandateId}/booking/events/{eventId}/attendees/{attendeeId}/acceptWaitlistSeat

Accept attendee waitlist seat

Accepts a waitlist seat for a specific attendee for a specific event for a given mandate

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • mandate.read
  • event.read
  • attendee.edit

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • eventIdidrequired
  • attendeeIdidrequired

Body

Content-Type: application/json

  • paymentobject
    3 properties
    • paymentMethodstringrequired
      sepaCreditTransfer sepaDirectDebit cash online
    • sepaDirectDebitobjectrequirednullable
      2 properties
      • ibanstring · ibanrequired
      • bicstringrequirednullable
    • onlineobjectrequirednullable
      4 properties
      • paymentIntentidrequirednullable
      • providerstringnullable
        stripe paypal
      • paymentModestringnullable
        manual automatic
      • onlineDebitCollectionidnullable
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/booking/events/YOUR_EVENT_ID/attendees/YOUR_ATTENDEE_ID/acceptWaitlistSeat' \
  --header 'X-API-Key: YOUR_API_KEY'

No request that worked has been recorded yet, so the body is not shown.

Response

200 Successful response

Content-Type: application/json

  • paymentIntentobject
    4 properties
    • idstring
    • providerstring
      stripe paypal
    • statusstring
      succeeded pending authorized requiresAction failed canceled
    • tokenstringnullable
Response200
{
  "paymentIntent": {
    "id": "string",
    "provider": "stripe",
    "status": "succeeded",
    "token": "string"
  }
}

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.