Create a venue table
curl --request POST \
--url https://api.simplepay.mx/v1/table-pay/venues/{venueId}/tables \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"display_name": "<string>"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({display_name: '<string>'})
};
fetch('https://api.simplepay.mx/v1/table-pay/venues/{venueId}/tables', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/table-pay/venues/{venueId}/tables"
payload = { "display_name": "<string>" }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)POST
/
v1
/
table-pay
/
venues
/
{venueId}
/
tables
Create a venue table
curl --request POST \
--url https://api.simplepay.mx/v1/table-pay/venues/{venueId}/tables \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"display_name": "<string>"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({display_name: '<string>'})
};
fetch('https://api.simplepay.mx/v1/table-pay/venues/{venueId}/tables', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/table-pay/venues/{venueId}/tables"
payload = { "display_name": "<string>" }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Autorizaciones
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Encabezados
Required string length:
8 - 255Parámetros de ruta
Cuerpo
application/json
Required string length:
1 - 80Respuesta
201
Created table.
Última modificación el 1 de septiembre de 2026