1. Checkout
Eticksystem
  • eticksystem Sell API
    • Config
      • Bootstrap the checkout
      • The checkout palettes
      • Which sites may frame this key's checkout
    • Catalog
      • List the events this key sells
      • One event, as something you can sell
    • Pricing
      • What a basket costs
    • Checkout
      • Start a purchase
        POST
      • Where a checkout got to
        GET
    • Orders
      • The sales for this key's events
      • One order
    • Schemas
      • Error
      • Config
      • ThemePreset
      • PaymentProvider
      • PaymentMethod
      • EventStatus
      • Seating
      • EventSummary
      • Tier
      • Question
      • EventDetail
      • BasketItem
      • QuoteRequest
      • QuoteLine
      • QuoteResponse
      • Customer
      • CheckoutRequest
      • CheckoutResponse
      • OrderTicket
      • Order
      • WebhookEvent
  1. Checkout

Start a purchase

Prod Env
Prod Env
POST
/api/v1/sell/checkout
Two outcomes:
requires_payment — send the buyer to paymentUrl, then poll
GET /checkout/{id} or wait for the order.paid webhook.
completed — a free ticket. The order exists and the e-mail is already
on its way.
Send an Idempotency-Key. Really.

Callbacks

orderPaid

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
API Key
Add parameter in header
X-Etick-Key
Example:
X-Etick-Key: ********************
or
Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Created
Headers

Bodyapplication/json

🟠400BadRequest
🟠401Unauthorized
🟠403Forbidden
🟠404NotFound
🟠409Conflict
🟠429RateLimited
🔴503Unavailable
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location '/api/v1/sell/checkout' \
--header 'Idempotency-Key: 9f2c1c3e-6c2a-4a7e-9f0b-2a1d5e8c7b31' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "event": "summer-gala",
    "items": [
        {
            "tier": "vip",
            "quantity": 2
        }
    ],
    "promoCode": "EARLYBIRD",
    "customer": {
        "name": "Aysel Məmmədova",
        "email": "aysel@example.com",
        "phone": "+994501234567"
    },
    "answers": {
        "q1": "Acme LLC"
    },
    "returnUrl": "https://example.com/thanks",
    "lang": "az"
}'
Response Response Example
200 - Paid — send the buyer to paymentUrl
{
    "id": "cs_9KxR2tPmH4vLbYcQ8sZaW3nD",
    "status": "requires_payment",
    "paymentMethod": "card",
    "paymentUrl": "https://pay.yigim.az/p/ETS1751371245123",
    "eventId": "66f0a1c2d3e4f5a6b7c8d9e0",
    "currency": "AZN",
    "amount": 80,
    "quantity": 2,
    "returnUrl": "https://example.com/thanks",
    "livemode": true
}
Modified at 2026-09-02 12:00:03
Previous
What a basket costs
Next
Where a checkout got to
Built with