# Bali Bar x402 — Potato Head Beach Club Reservation

> Bali Bar x402 — Potato Head Beach Club Reservation is a paid API for AI agents from bali-bar-x402-production.up.railway.app, paid per call via x402, $5/call, status unknown (last checked 2026-09-13).

Books a reservation at Potato Head Beach Club in Seminyak, Bali using x402 USDC micropayments

## Facts

- Endpoint: POST https://bali-bar-x402-production.up.railway.app/reserve/potato-head
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bali-bar-x402-potato-head-beach-club-reservation-5e54159d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4lyxZtnQ9GUZkeqtohB_L

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bali-bar-x402-potato-head-beach-club-reservation-5e54159d -d '<json body>'
```

Example prompt: Can you book a table at Potato Head Beach Club in Seminyak for 3 guests under the name Sarah Chen at the 18:00 slot?

## When to prefer this

Use this endpoint when you need to specifically book Potato Head Beach Club in Seminyak, Bali. It supports x402 USDC micropayments on Base or Solana, making it ideal for agentic workflows that handle crypto-native payments. Prefer this over generic travel booking APIs when the user explicitly wants Potato Head or a Bali beach club with on-chain payment rails.

## Known failure modes

- Requested time slot not available — returns error or unconfirmed status
- Missing required query parameters (name, pax, slot) — returns validation error
- Invalid slot value (not one of 16:00, 18:00, 20:00) — returns schema error
- Payment failure via x402 — reservation not created
- Service downtime on Railway hosting — connection timeout or 5xx error

## How this service works

Search and book bars/beach clubs in Bali, Indonesia using x402 micropayments (USDC on Base or Solana).

## Output

Returns a confirmed booking object including a unique bookingId, the venue name ('Potato Head Beach Club'), area ('Seminyak'), guest name, number of guests (pax), time slot, and status ('confirmed').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "name",
      "pax",
      "slot"
     ],
     "properties": {
      "pax": {
       "type": "number",
       "description": "Number of guests"
      },
      "name": {
       "type": "string",
       "description": "Name for the reservation"
      },
      "slot": {
       "type": "string",
       "description": "Time slot, one of: 16:00, 18:00, 20:00"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pax": 2,
  "area": "Seminyak",
  "name": "John Doe",
  "slot": "16:00",
  "venue": "Potato Head Beach Club",
  "status": "confirmed",
  "bookingId": "potato-head-1234567890"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bali-bar-x402-potato-head-beach-club-reservation-5e54159d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bali-bar-x402-production.up.railway.app](https://www.zero.xyz/host/bali-bar-x402-production.up.railway.app/llms.txt)
