Modern HTTP RPC Style
Every operation in AKE Parking International v1 uses a predictablePOST /v1/<domain>/<action> endpoint with a JSON request body and a JSON response body formatted in camelCase.
- Successful responses return HTTP
200 OKdirectly with the business JSON object (no nested JSON strings or redundant outer wrappers). - Errors return standard HTTP
4xxor5xxstatus codes with a unifiederrorpayload.
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 byfacilityId, 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-Keywith the same payload returns the cached original200 OKresponse without re-executing the operation. - Reusing an
Idempotency-Keywith a different payload returns HTTP409 Conflict(IDEMPOTENCY_CONFLICT). - Idempotency keys are retained for 24 hours.
Money & Currencies
All monetary amounts use a structuredMoney 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 orZ UTC suffix:
startDate and endDate) use ISO YYYY-MM-DD dates interpreted in the facility’s configured timezone.
Cursor Pagination
Alllist* endpoints use cursor pagination instead of deep offsets:
- Request: pass
limit(1–100, default 20) and optionalcursor. - Response: returns
items,nextCursor(nullif no further pages), and booleanhasMore.