List booking event types
curl --request GET \
--url https://api.simplepay.mx/v1/bookable-payments/event_types \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.simplepay.mx/v1/bookable-payments/event_types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/bookable-payments/event_types"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"active": true,
"bookingFormFields": [
{}
],
"bookingWindowDays": 2,
"bufferAfterMinutes": 1,
"bufferBeforeMinutes": 1,
"cancellationPolicy": {},
"capacity": 2,
"defaultPrice": {
"amount": 1,
"currency": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"defaultPriceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"durationChoicesMinutes": [
2
],
"durationMinutes": 2,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"maximumQuantity": 2,
"metadata": {},
"minimumNoticeMinutes": 1,
"minimumQuantity": 2,
"object": "<unknown>",
"paymentConfig": {},
"product": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reschedulePolicy": {},
"slug": "<string>",
"slotIntervalMinutes": 2,
"timeZone": "<string>",
"title": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"object": "<unknown>"
}List booking event types
Referencia detallada para GET /v1/bookable-payments/event_types.
GET
https://api.simplepay.mx
/
v1
/
bookable-payments
/
event_types
List booking event types
curl --request GET \
--url https://api.simplepay.mx/v1/bookable-payments/event_types \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.simplepay.mx/v1/bookable-payments/event_types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/bookable-payments/event_types"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"active": true,
"bookingFormFields": [
{}
],
"bookingWindowDays": 2,
"bufferAfterMinutes": 1,
"bufferBeforeMinutes": 1,
"cancellationPolicy": {},
"capacity": 2,
"defaultPrice": {
"amount": 1,
"currency": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"defaultPriceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"durationChoicesMinutes": [
2
],
"durationMinutes": 2,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"maximumQuantity": 2,
"metadata": {},
"minimumNoticeMinutes": 1,
"minimumQuantity": 2,
"object": "<unknown>",
"paymentConfig": {},
"product": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"productId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reschedulePolicy": {},
"slug": "<string>",
"slotIntervalMinutes": 2,
"timeZone": "<string>",
"title": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"object": "<unknown>"
}Uso
Usalo dentro de Bookable Payments para modelar inventario reservado, calcular disponibilidad, crear holds, convertirlos en checkout y confirmar bookings.Antes de llamar
| Tema | Detalle |
|---|---|
| Metodo | GET |
| Ruta | /v1/bookable-payments/event_types |
| Auth | Bearer API key del ambiente correcto. |
| Scope | availability:read |
| Idempotencia | No aplica para lecturas. |
| Guia relacionada | Bookable Payments |
Patron recomendado
- Ejecuta esta lectura desde backend cuando incluya datos privados del tenant.
- Confirma inventario final con
booking.confirmedo una lectura de booking, no solo con una URL de retorno. - Consulta el bloque OpenAPI de esta pagina para el shape exacto de parametros, body y respuestas.
Ejemplo minimo
terminal
curl -sS "https://api.simplepay.mx/v1/bookable-payments/event_types" \
-H "Authorization: Bearer $SIMPLEPAY_API_KEY"
Errores a manejar
400indica payload, parametros o estado invalido.401o403indican API key, ambiente o scopes incorrectos.429y5xxse pueden reintentar con backoff; en writes conserva la misma idempotency key.
Contrato OpenAPI
El playground, parametros, body y respuestas de abajo salen de/openapi.json. Si el contrato cambia, actualiza la spec y regenera esta pagina.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
200 - application/json
Booking event types
Hide child attributes
Hide child attributes
Required range:
x >= 1Required range:
x >= 0Required range:
x >= 0Required range:
x >= 1Available options:
automatic, manual, payment_required Required range:
x >= 1Required range:
x >= 1Available options:
capacity_pool, date_range, instant, seated, unit_assignment Available options:
appointment, class, scheduled_offer, experience, rental, service, date_range Required range:
x >= 1Required range:
x >= 0Required range:
x >= 1Available options:
deposit, none, optional, required Required range:
x >= 1Last modified on June 21, 2026
⌘I