Skip to main content

Modern HTTP RPC Style

Every operation in AKE Parking International v1 uses a predictable POST /v1/<domain>/<action> endpoint with a JSON request body and a JSON response body formatted in camelCase.
  • Successful responses return HTTP 200 OK directly with the business JSON object (no nested JSON strings or redundant outer wrappers).
  • Errors return standard HTTP 4xx or 5xx status codes with a unified error payload.

Generalized Credential Identification

Global parking facilities identify vehicles via LPR cameras, access/RFID cards, printed paper tickets, or QR codes. Because facilities are already isolated by facilityId, credential stays country-agnostic and requires only type and value:

Shared Domain Enums

Idempotency (Idempotency-Key)

To safely retry mutating requests (payments/notify, validations/grant, subscriptions/create, gates/control, and similar endpoints) after network timeouts, pass a unique UUID in the Idempotency-Key header:
  • Replaying the same Idempotency-Key with the same payload returns the cached original 200 OK response without re-executing the operation.
  • Reusing an Idempotency-Key with a different payload returns HTTP 409 Conflict (IDEMPOTENCY_CONFLICT).
  • Idempotency keys are retained for 24 hours.

Money & Currencies

All monetary amounts use a structured Money object storing integer minor currency units alongside an uppercase ISO 4217 currency code—never floating-point numbers:
Fee quotes and payment records also return a structured taxBreakdown (included, optional taxName such as SST/GST/VAT, ratePercent, optional netAmount, and taxAmount) plus optional receiptUrl on settled payment records for compliant local tax receipts.

Partner Correlation metadata

Write operations for payments, validations, subscriptions, visitors, and access lists accept an optional flat metadata map (Record<string, string>, maximum 10 keys) so you can store external booking IDs, POS store codes, or CRM references directly on facility records.

Timestamps & Timezones

All timestamps strictly follow ISO 8601 with explicit timezone offset or Z UTC suffix:
Calendar-only fields (such as subscription startDate and endDate) use ISO YYYY-MM-DD dates interpreted in the facility’s configured timezone.

Cursor Pagination

All list* endpoints use cursor pagination instead of deep offsets:
  • Request: pass limit (1–100, default 20) and optional cursor.
  • Response: returns items, nextCursor (null if no further pages), and boolean hasMore.