Developers
v1 Developer API is live. Read the docs

Ticketing infrastructure for the products you build.

One API for events, live inventory, hosted checkout and signed webhooks. Sell Ayatickets events inside your app, site or marketplace, for Ghana and beyond.

curl developers.ayatickets.com/api/v1/events -H "X-API-Key: ayt_test_..."
Full sandbox Same API, simulated payments.
Idempotent checkout Retry safely, never double-charge.
Signed webhooks HMAC-SHA256 on every event.
OpenAPI 3.1 Generate clients in any language.

The platform

Everything you need to sell tickets, nothing you don't.

Read the catalog, take payment on hosted checkout and know the moment an order is paid. We handle pricing, stock and payments.

Events and live inventory

List published events, dates and ticket types with real-time quantity_available.

Catalog endpoints

Hosted checkout

Create a session with one call and redirect the buyer. Payment details never touch your servers.

Checkout sessions

Orders and webhooks

Signed order.paid, order.completed (live free checkout), order.failed and order.expired events, retried with backoff.

Webhooks

Built for developers

A small, predictable API you can learn in an afternoon.

Six endpoints, one auth header and consistent JSON errors. Start with test keys, then swap to live without changing code.

  • Test and live keys with fully separate data
  • Idempotency-Key on every checkout
  • Redirect allowlist per app
  • Rate limits made for real traffic
curl -X POST 'https://developers.ayatickets.com/api/v1/checkout-sessions' \
  -H 'X-API-Key: ayt_test_...' \
  -H 'Idempotency-Key: order-1042' \
  -H 'Content-Type: application/json' \
  -d '{
    "event_id": 1933,
    "eventdate_id": 5085,
    "items": [{ "ticket_id": 508065, "quantity": 2 }],
    "customer": { "name": "Ama Owusu", "email": "ama@example.com", "phone": "233200000000" },
    "success_url": "https://yourapp.com/thanks",
    "cancel_url": "https://yourapp.com/cart"
  }'

How it works

From sign-up to first sale in three steps.

  1. 01

    Create your account

    Sign up free. Our team reviews new accounts before live keys are issued.

  2. 02

    Build in the sandbox

    Use ayt_test_ keys to list events and run checkouts. No real money, no tickets held.

  3. 03

    Go live

    Add a webhook URL, switch to ayt_live_ keys and start selling.

Ready to start selling?

Get sandbox keys in minutes. Talk to us when you're ready for production.