curl --request POST \
--url https://api-alpha.fourvenues.com/integrations/bookings/walk-in \
--header 'Content-Type: application/json' \
--header 'integration_id: <api-key>' \
--header 'secret: <api-key>' \
--header 'x-api-key: <api-key>' \
--data '
{
"created_at": "2024-06-01T18:30:00.000Z",
"event_id": "nl830t4mw0001cwrxbbg0226j4MgmEUG",
"space_names": "1, 2, 3",
"for": 5,
"price": 20,
"discount_code": "BOOKDESC"
}
'import requests
url = "https://api-alpha.fourvenues.com/integrations/bookings/walk-in"
payload = {
"created_at": "2024-06-01T18:30:00.000Z",
"event_id": "nl830t4mw0001cwrxbbg0226j4MgmEUG",
"space_names": "1, 2, 3",
"for": 5,
"price": 20,
"discount_code": "BOOKDESC"
}
headers = {
"integration_id": "<api-key>",
"secret": "<api-key>",
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
integration_id: '<api-key>',
secret: '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
created_at: '2024-06-01T18:30:00.000Z',
event_id: 'nl830t4mw0001cwrxbbg0226j4MgmEUG',
space_names: '1, 2, 3',
for: 5,
price: 20,
discount_code: 'BOOKDESC'
})
};
fetch('https://api-alpha.fourvenues.com/integrations/bookings/walk-in', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-alpha.fourvenues.com/integrations/bookings/walk-in",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'created_at' => '2024-06-01T18:30:00.000Z',
'event_id' => 'nl830t4mw0001cwrxbbg0226j4MgmEUG',
'space_names' => '1, 2, 3',
'for' => 5,
'price' => 20,
'discount_code' => 'BOOKDESC'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"integration_id: <api-key>",
"secret: <api-key>",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-alpha.fourvenues.com/integrations/bookings/walk-in"
payload := strings.NewReader("{\n \"created_at\": \"2024-06-01T18:30:00.000Z\",\n \"event_id\": \"nl830t4mw0001cwrxbbg0226j4MgmEUG\",\n \"space_names\": \"1, 2, 3\",\n \"for\": 5,\n \"price\": 20,\n \"discount_code\": \"BOOKDESC\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("integration_id", "<api-key>")
req.Header.Add("secret", "<api-key>")
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-alpha.fourvenues.com/integrations/bookings/walk-in")
.header("integration_id", "<api-key>")
.header("secret", "<api-key>")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"created_at\": \"2024-06-01T18:30:00.000Z\",\n \"event_id\": \"nl830t4mw0001cwrxbbg0226j4MgmEUG\",\n \"space_names\": \"1, 2, 3\",\n \"for\": 5,\n \"price\": 20,\n \"discount_code\": \"BOOKDESC\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-alpha.fourvenues.com/integrations/bookings/walk-in")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["integration_id"] = '<api-key>'
request["secret"] = '<api-key>'
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"created_at\": \"2024-06-01T18:30:00.000Z\",\n \"event_id\": \"nl830t4mw0001cwrxbbg0226j4MgmEUG\",\n \"space_names\": \"1, 2, 3\",\n \"for\": 5,\n \"price\": 20,\n \"discount_code\": \"BOOKDESC\"\n}"
response = http.request(request)
puts response.read_body{
"_id": "jl830v6km000pcwrxge2757vyrfpqEsq",
"channel_id": "ajifs2hke000dwemmurwd3kuqN3Kopcx",
"code": "XLLF3W73D",
"commentary_client": "I want the biggest VIP table.",
"commentary_reserve": "Preferred table for that client is 10.",
"date": "2022-09-15T23:00:00.000Z",
"deposit": 0,
"deposit_method": "online",
"deposit_paid": 0,
"discount_code_name": "BOOKDESC",
"discount_code_id": "dc4gr63f00xkq01i1d8jh5ohuzaZhvoE",
"discount_quantity_subtract": 0,
"duration": 7200,
"enter": 0,
"event_id": "nl830t4mw0001cwrxbbg0226j4MgmEUG",
"event_name": "Saturday Night",
"for": 5,
"gender_group": "boys",
"hour": "2:00",
"name": "Sergio Centeno Pérez",
"phone": "+34666666666",
"price": 0,
"rate_slug": "",
"referral_id": "ñeifupjvx000rwe2m2zuba1z9FqyR2dSL",
"refunded": 0,
"space_id": "",
"space_name": "S1",
"status": "accepted",
"walkin": true,
"zone_name": "Terraza",
"zone_slug": "1658138633506",
"normalized_zone_name": "terraza",
"email": "example@example.com",
"invoice_reference": "EV24T-TOX2-0000215",
"corrective_invoice_references": [
"EV24T-COR-H58Z-0000002",
"EV24T-COR-H58Z-0000003"
],
"created_at": "2024-11-19T09:59:53.763Z",
"currency": "EUR",
"state": "accepted",
"updated_at": "2024-11-19T09:59:53.763Z",
"local_date": "2025-05-19 10:59:53",
"client_id": "kfnwkjbjkwb1jbr4bkhb5334",
"billing_info": {
"customer_type": "individual",
"customer_name": "John Doe",
"document_type": "dni",
"document_number": "1234567890",
"address": "123 Main St, City, Country",
"city": "City",
"postal_code": "12345",
"country": "Spain"
},
"external_payments": [
{
"_id": "im4r8ntp6000c4ko6d3yt8ui0To87UQp",
"amount": 50,
"currency": "EUR",
"description": "123456abc",
"method": "card",
"payment_method_slug": "visa",
"created_at": "2024-12-16T16:17:54.714Z",
"created_by": "plnlp1s0t005301am9ehq3y8iSllAXqD"
}
],
"refunds": [
{
"_id": "el7yuiyep0006msyw2pri1tem1LpJwSc",
"amount": 10,
"currency": "EUR",
"payment_id": "Cl7yuiyhy0007msyw4vfl5ai6YF4WZRn",
"payment_method": "amex",
"created_at": "2022-09-15T23:00:00.000Z",
"created_by": "gwrgkwinbgwnbwip23iongw"
}
],
"payments": [
{
"_id": "el7yuiyep0006msyw2pri1tem1LpJwSc",
"amount": 10,
"currency": "EUR",
"payment_method": "amex",
"method_last4": "1234",
"card_type": "CREDIT",
"co_branded_with": "visa",
"issuer_name": "Banco Santander",
"card_bin": "411111",
"issuer_country": "GB",
"shopper_country": "ES",
"created_at": "2022-09-15T23:00:00.000Z",
"created_by": "gwrgkwinbgwnbwip23iongw",
"fees": 1.5,
"customer_custom_fee_amount": 0.5,
"tips": 2
}
],
"pos_payments": [
{
"amount": 100,
"type": "cash"
}
],
"source": "web",
"pos_total_service_charge": 200,
"pos_total_tips": 50,
"pos_ticket_total": 400,
"pos_products": [
{
"_id": "1675456037",
"name": "Water bottle",
"amount": 2,
"unit_price": 50,
"total_price": 100
}
]
}Post bookings walk in
Create a walk-in booking
curl --request POST \
--url https://api-alpha.fourvenues.com/integrations/bookings/walk-in \
--header 'Content-Type: application/json' \
--header 'integration_id: <api-key>' \
--header 'secret: <api-key>' \
--header 'x-api-key: <api-key>' \
--data '
{
"created_at": "2024-06-01T18:30:00.000Z",
"event_id": "nl830t4mw0001cwrxbbg0226j4MgmEUG",
"space_names": "1, 2, 3",
"for": 5,
"price": 20,
"discount_code": "BOOKDESC"
}
'import requests
url = "https://api-alpha.fourvenues.com/integrations/bookings/walk-in"
payload = {
"created_at": "2024-06-01T18:30:00.000Z",
"event_id": "nl830t4mw0001cwrxbbg0226j4MgmEUG",
"space_names": "1, 2, 3",
"for": 5,
"price": 20,
"discount_code": "BOOKDESC"
}
headers = {
"integration_id": "<api-key>",
"secret": "<api-key>",
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
integration_id: '<api-key>',
secret: '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
created_at: '2024-06-01T18:30:00.000Z',
event_id: 'nl830t4mw0001cwrxbbg0226j4MgmEUG',
space_names: '1, 2, 3',
for: 5,
price: 20,
discount_code: 'BOOKDESC'
})
};
fetch('https://api-alpha.fourvenues.com/integrations/bookings/walk-in', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-alpha.fourvenues.com/integrations/bookings/walk-in",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'created_at' => '2024-06-01T18:30:00.000Z',
'event_id' => 'nl830t4mw0001cwrxbbg0226j4MgmEUG',
'space_names' => '1, 2, 3',
'for' => 5,
'price' => 20,
'discount_code' => 'BOOKDESC'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"integration_id: <api-key>",
"secret: <api-key>",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-alpha.fourvenues.com/integrations/bookings/walk-in"
payload := strings.NewReader("{\n \"created_at\": \"2024-06-01T18:30:00.000Z\",\n \"event_id\": \"nl830t4mw0001cwrxbbg0226j4MgmEUG\",\n \"space_names\": \"1, 2, 3\",\n \"for\": 5,\n \"price\": 20,\n \"discount_code\": \"BOOKDESC\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("integration_id", "<api-key>")
req.Header.Add("secret", "<api-key>")
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-alpha.fourvenues.com/integrations/bookings/walk-in")
.header("integration_id", "<api-key>")
.header("secret", "<api-key>")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"created_at\": \"2024-06-01T18:30:00.000Z\",\n \"event_id\": \"nl830t4mw0001cwrxbbg0226j4MgmEUG\",\n \"space_names\": \"1, 2, 3\",\n \"for\": 5,\n \"price\": 20,\n \"discount_code\": \"BOOKDESC\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-alpha.fourvenues.com/integrations/bookings/walk-in")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["integration_id"] = '<api-key>'
request["secret"] = '<api-key>'
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"created_at\": \"2024-06-01T18:30:00.000Z\",\n \"event_id\": \"nl830t4mw0001cwrxbbg0226j4MgmEUG\",\n \"space_names\": \"1, 2, 3\",\n \"for\": 5,\n \"price\": 20,\n \"discount_code\": \"BOOKDESC\"\n}"
response = http.request(request)
puts response.read_body{
"_id": "jl830v6km000pcwrxge2757vyrfpqEsq",
"channel_id": "ajifs2hke000dwemmurwd3kuqN3Kopcx",
"code": "XLLF3W73D",
"commentary_client": "I want the biggest VIP table.",
"commentary_reserve": "Preferred table for that client is 10.",
"date": "2022-09-15T23:00:00.000Z",
"deposit": 0,
"deposit_method": "online",
"deposit_paid": 0,
"discount_code_name": "BOOKDESC",
"discount_code_id": "dc4gr63f00xkq01i1d8jh5ohuzaZhvoE",
"discount_quantity_subtract": 0,
"duration": 7200,
"enter": 0,
"event_id": "nl830t4mw0001cwrxbbg0226j4MgmEUG",
"event_name": "Saturday Night",
"for": 5,
"gender_group": "boys",
"hour": "2:00",
"name": "Sergio Centeno Pérez",
"phone": "+34666666666",
"price": 0,
"rate_slug": "",
"referral_id": "ñeifupjvx000rwe2m2zuba1z9FqyR2dSL",
"refunded": 0,
"space_id": "",
"space_name": "S1",
"status": "accepted",
"walkin": true,
"zone_name": "Terraza",
"zone_slug": "1658138633506",
"normalized_zone_name": "terraza",
"email": "example@example.com",
"invoice_reference": "EV24T-TOX2-0000215",
"corrective_invoice_references": [
"EV24T-COR-H58Z-0000002",
"EV24T-COR-H58Z-0000003"
],
"created_at": "2024-11-19T09:59:53.763Z",
"currency": "EUR",
"state": "accepted",
"updated_at": "2024-11-19T09:59:53.763Z",
"local_date": "2025-05-19 10:59:53",
"client_id": "kfnwkjbjkwb1jbr4bkhb5334",
"billing_info": {
"customer_type": "individual",
"customer_name": "John Doe",
"document_type": "dni",
"document_number": "1234567890",
"address": "123 Main St, City, Country",
"city": "City",
"postal_code": "12345",
"country": "Spain"
},
"external_payments": [
{
"_id": "im4r8ntp6000c4ko6d3yt8ui0To87UQp",
"amount": 50,
"currency": "EUR",
"description": "123456abc",
"method": "card",
"payment_method_slug": "visa",
"created_at": "2024-12-16T16:17:54.714Z",
"created_by": "plnlp1s0t005301am9ehq3y8iSllAXqD"
}
],
"refunds": [
{
"_id": "el7yuiyep0006msyw2pri1tem1LpJwSc",
"amount": 10,
"currency": "EUR",
"payment_id": "Cl7yuiyhy0007msyw4vfl5ai6YF4WZRn",
"payment_method": "amex",
"created_at": "2022-09-15T23:00:00.000Z",
"created_by": "gwrgkwinbgwnbwip23iongw"
}
],
"payments": [
{
"_id": "el7yuiyep0006msyw2pri1tem1LpJwSc",
"amount": 10,
"currency": "EUR",
"payment_method": "amex",
"method_last4": "1234",
"card_type": "CREDIT",
"co_branded_with": "visa",
"issuer_name": "Banco Santander",
"card_bin": "411111",
"issuer_country": "GB",
"shopper_country": "ES",
"created_at": "2022-09-15T23:00:00.000Z",
"created_by": "gwrgkwinbgwnbwip23iongw",
"fees": 1.5,
"customer_custom_fee_amount": 0.5,
"tips": 2
}
],
"pos_payments": [
{
"amount": 100,
"type": "cash"
}
],
"source": "web",
"pos_total_service_charge": 200,
"pos_total_tips": 50,
"pos_ticket_total": 400,
"pos_products": [
{
"_id": "1675456037",
"name": "Water bottle",
"amount": 2,
"unit_price": 50,
"total_price": 100
}
]
}Authorizations
Body
Body of the request
Response
HTTP OK
Reservation status:
- Pending: If a reservation is in pending status, a verification is necessary in order to be accepted. This verification can be done manually for the users of Fourvenues Pro. In case of an automatic verification, the reservation must have an advance included.
- Accepted: A reservation is considered as accepted when there is no additional action by the organizer. This reservation is prepared to be attended on the event day.
- Rejected: In order to classify the reservation as rejected, a manual action is necessary from Fourvenues Pro. When a reservation is in this status, it will not record the whole amount nor the advance paid by cash. In case of a confirmed advance paid by card and no reimbursement, it will be recorded on event dashboard.
- Arrival: The arrival status can be used when the clients arrive at the venue. It is possible to use this status in case that the clients don’t get a seat and they are waiting to be seated.
- Sitting: With the sitting status, the clients have an assigned place.
- Released: The last status of a reservation is when the clients leave the venue. This status leaves the place vacant and it is possible to sell the place again.
pending, accepted, rejected, arrival, sitting, released "accepted"