# AKE Parking International API ## Guides ### Get Started - [AKE Parking International API](https://openapi-docs.yidianting.cc/docs/index.md): Integrate payments, merchant validations, parking subscriptions, visitor access, and lane control into global parking facilities using one unified OpenAPI 3.1 contract. - [Environments & Base URLs](https://openapi-docs.yidianting.cc/docs/guides/environments.md): Connect through Cloud API (Production and Sandbox) or Local Direct LAN servers using the same endpoint paths. - [Quickstart](https://openapi-docs.yidianting.cc/docs/guides/quickstart.md): Discover your authorized facilities, fetch a real-time parking fee quote, and submit your first payment confirmation in under 5 minutes. ### Core Concepts - [Authentication & Authorization](https://openapi-docs.yidianting.cc/docs/guides/authentication.md): Authenticate with Partner API Keys, bind multiple facilities to one application key, and enforce least-privilege scopes. - [Protocol & Conventions](https://openapi-docs.yidianting.cc/docs/guides/conventions.md): Understand modern HTTP RPC routing, generalized credential matching, domain enums, idempotency, cursor pagination, money formatting, and metadata. - [Errors & Status Codes](https://openapi-docs.yidianting.cc/docs/guides/errors.md): Standardized HTTP status codes, unified JSON error structure, and actionable business error codes. ### Integration Recipes - [Scan-to-Pay Checkout](https://openapi-docs.yidianting.cc/docs/guides/recipes/scan-to-pay.md): End-to-end flow for shopping mall mobile apps, H5 QR checkouts, and third-party payment aggregators. - [Merchant Validations](https://openapi-docs.yidianting.cc/docs/guides/recipes/merchant-validations.md): Issue retail dining waivers from POS terminals, validate QR codes, and reconcile merchant grants. - [Hotel & Office Visitors](https://openapi-docs.yidianting.cc/docs/guides/recipes/hotel-visitors.md): Automate guest parking privileges from hotel PMS check-in/check-out events and corporate visitor kiosks. - [Frictionless Autopay](https://openapi-docs.yidianting.cc/docs/guides/recipes/autopay.md): Enable barrier-free automated wallet charging when enrolled vehicles reach an exit lane. - [Subscriptions & Access Lists](https://openapi-docs.yidianting.cc/docs/guides/recipes/subscriptions-access.md): Synchronize corporate parking subscriptions, multi-car bay allocations, VIP allowlists, and blocklists from property ERP platforms. - [Remote Gate & Lane Control](https://openapi-docs.yidianting.cc/docs/guides/recipes/gate-control.md): Monitor hardware health, execute audited remote gate controls, switch lane modes, and send signage prompts. ## API Reference ### Overview - [API Reference Overview](https://openapi-docs.yidianting.cc/docs/api-reference/overview.md): Navigate all 42 HTTP RPC endpoints across 7 parking business domains and test requests directly in the interactive playground. ### Facilities & Occupancy - [List authorized facilities](https://openapi-docs.yidianting.cc/docs/api-reference/facilities-&-occupancy/list-authorized-facilities.md): Returns all parking facilities bound to your Partner API Key, including ISO country, IANA timezone, ISO 4217 currency, geographic coordinates, exit grace period, total/available spaces, and current reachability status. Call this endpoint first after onboarding to discover the `facilityId` values acc… - [Get facility details and lane topology](https://openapi-docs.yidianting.cc/docs/api-reference/facilities-&-occupancy/get-facility-details-and-lane-topology.md): Retrieves full operational metadata for a single authorized park, including supported vehicle credentials, configured vehicle classes, grace windows, zones with tagged bay availability, and lane topology with hardware capabilities. - [Get facility tariff rules](https://openapi-docs.yidianting.cc/docs/api-reference/facilities-&-occupancy/get-facility-tariff-rules.md): Returns published parking tariff schedules, tax configuration, entry/exit grace windows, and daily maximum caps configured for a park or specific zone. - [Get real-time space availability](https://openapi-docs.yidianting.cc/docs/api-reference/facilities-&-occupancy/get-real-time-space-availability.md): Fetches current total, occupied, and available parking spaces for an entire facility or a specific zone, broken down by bay tags such as `PUBLIC`, `EV`, `VIP`, and `ACCESSIBLE`. - [Adjust available space count](https://openapi-docs.yidianting.cc/docs/api-reference/facilities-&-occupancy/adjust-available-space-count.md): Recalibrates the available parking space count for a facility, zone, or bay tag (e.g. `EV` or `VIP`). Requires an `operator` for compliance audit trails. ### Sessions & Vehicles - [List active parked vehicles](https://openapi-docs.yidianting.cc/docs/api-reference/sessions-&-vehicles/list-active-parked-vehicles.md): Searches vehicles currently parked inside a facility. Supports fuzzy plate lookup or exact ticket/QR/card lookup alongside zone, pass-category, and entry-time filters. - [Get single parking session details](https://openapi-docs.yidianting.cc/docs/api-reference/sessions-&-vehicles/get-single-parking-session-details.md): Fetches full lifecycle details of an active or completed parking session by `sessionId` or vehicle `credential` (returns the latest active session if matched by credential). - [Query historical parking sessions](https://openapi-docs.yidianting.cc/docs/api-reference/sessions-&-vehicles/query-historical-parking-sessions.md): Returns completed parking sessions within a bounded time range (`fromTime`..`toTime`), optionally filtered by `timeField`, vehicle `credential`, `passCategory`, or exit `releaseType`. - [Correct misrecognized plate number](https://openapi-docs.yidianting.cc/docs/api-reference/sessions-&-vehicles/correct-misrecognized-plate-number.md): Updates the license plate, jurisdiction region, or vehicle class on an active parking session (via `sessionId`) or on a vehicle currently queued at a lane barrier (via `laneId`). - [Record manual vehicle entry](https://openapi-docs.yidianting.cc/docs/api-reference/sessions-&-vehicles/record-manual-vehicle-entry.md): Creates an active parking session manually when a vehicle entered without an automatic lane trigger (such as unplated dealer vehicles or escorted VIP arrivals). ### Fees & Payments - [Quote real-time parking fee](https://openapi-docs.yidianting.cc/docs/api-reference/fees-&-payments/quote-real-time-parking-fee.md): Calculates the real-time parking fee due for an active vehicle by `sessionId` or `credential`. Automatically evaluates valid digital vouchers bound to the vehicle (and optional `previewValidationCodes`), breaks down multi-zone/tariff segments and taxes, and returns a time-bound `quoteId`. - [Estimate parking fee for a duration](https://openapi-docs.yidianting.cc/docs/api-reference/fees-&-payments/estimate-parking-fee-for-a-duration.md): Simulates expected parking charges for a hypothetical entry and exit window without requiring an active parked vehicle session. Returns estimated tax breakdown and the matched tariff rule. - [Notify payment completion and authorize exit](https://openapi-docs.yidianting.cc/docs/api-reference/fees-&-payments/notify-payment-completion-and-authorize-exit.md): Submits a confirmed external payment from your app checkout, wallet, or kiosk to settle a parking quote and authorize exit gate release or begin the post-payment exit grace period. Always supply a unique `Idempotency-Key` header. - [Query payment transactions](https://openapi-docs.yidianting.cc/docs/api-reference/fees-&-payments/query-payment-transactions.md): Retrieves paginated payment transactions across online partner apps, autopay wallets, kiosks, and exit terminals for ERP reconciliation. - [Sync refund for a parking payment](https://openapi-docs.yidianting.cc/docs/api-reference/fees-&-payments/sync-refund-for-a-parking-payment.md): Records a full or partial refund against an existing parking payment for financial reconciliation and audit traceability. ### Validations & Merchants - [List authorized merchants for a park](https://openapi-docs.yidianting.cc/docs/api-reference/validations-&-merchants/list-authorized-merchants-for-a-park.md): Returns participating tenants, restaurants, and retail merchants configured for a park, including category, contact info, status, and whether an active parking session is required before granting vouchers. - [List validation templates](https://openapi-docs.yidianting.cc/docs/api-reference/validations-&-merchants/list-validation-templates.md): Lists available digital parking voucher templates configured for merchants under a park, covering prepaid inventory batches (`PREPAID`) and pay-as-you-go templates (`POSTPAID`) with stacking, custom-value, and multi-park eligibility metadata. - [Grant a parking validation to a vehicle](https://openapi-docs.yidianting.cc/docs/api-reference/validations-&-merchants/grant-a-parking-validation-to-a-vehicle.md): Issues a digital parking validation voucher to a vehicle credential (`PLATE`, `TICKET`, `QR_CODE`, or `CARD`). Supports both postpaid templates and prepaid inventory batches (`inventoryBatchId`), plus optional custom discount values when enabled on the template. - [Claim validation via voucher code or QR](https://openapi-docs.yidianting.cc/docs/api-reference/validations-&-merchants/claim-validation-via-voucher-code-or-qr.md): Validates a printed or dynamic QR voucher code (`DYNAMIC_QR`, `PRINTED_QR`, `STATIC_QR`) and binds it to a vehicle credential for automatic deduction during fee quoting and exit. - [List validations bound to a vehicle](https://openapi-docs.yidianting.cc/docs/api-reference/validations-&-merchants/list-validations-bound-to-a-vehicle.md): Retrieves digital parking validations attached to a vehicle credential, optionally filtered by status. - [Revoke an unused parking validation](https://openapi-docs.yidianting.cc/docs/api-reference/validations-&-merchants/revoke-an-unused-parking-validation.md): Cancels an unredeemed voucher by `validationCode` or `grantId` (for instance when a retail transaction is refunded at POS) and returns prepaid quota where applicable. - [Query merchant validation grant logs](https://openapi-docs.yidianting.cc/docs/api-reference/validations-&-merchants/query-merchant-validation-grant-logs.md): Returns paginated validation issuance and redemption history for merchant billing settlement and promotional campaign audits. ### Subscriptions - [List subscription plans](https://openapi-docs.yidianting.cc/docs/api-reference/subscriptions/list-subscription-plans.md): Retrieves season parking plans configured for a park across period-based (`PERIOD`), stored-value (`STORED_VALUE`), visit-pack (`VISIT_PACK`), and duration-pack (`DURATION_PACK`) settlement models. - [Create a parking subscription](https://openapi-docs.yidianting.cc/docs/api-reference/subscriptions/create-a-parking-subscription.md): Provisions a new season parking pass for a driver or corporate tenant, binding one or more vehicle credentials, allocated bay count (`allocatedBays`), optional dedicated bay numbers, and holder contact details. - [Renew or top up an existing subscription](https://openapi-docs.yidianting.cc/docs/api-reference/subscriptions/renew-or-top-up-an-existing-subscription.md): Extends the validity end date of a period subscription (`newEndDate`) and/or tops up stored value (`topUpAmount`) or visit/minute pack balance (`topUpUnits`). - [Update subscription credentials, bays, or holder info](https://openapi-docs.yidianting.cc/docs/api-reference/subscriptions/update-subscription-credentials-bays-or-holder-info.md): Updates bound vehicle credentials (multi-car family or corporate carpool swap), assigned bay numbers, holder contact information, or partner metadata on a subscription. - [Freeze, resume, or cancel a subscription](https://openapi-docs.yidianting.cc/docs/api-reference/subscriptions/freeze-resume-or-cancel-a-subscription.md): Transitions a parking subscription between `FROZEN`, `ACTIVE`, and `CANCELLED` states, with optional scheduled `effectiveAt` timestamp and operator attribution. - [Query parking subscriptions](https://openapi-docs.yidianting.cc/docs/api-reference/subscriptions/query-parking-subscriptions.md): Searches active, frozen, or expiring parking subscriptions by exact credential, partial plate substring, `planId`, lifecycle `status`, or expiry cutoff date. ### Access Lists & Visitors - [Register a timed visitor pass](https://openapi-docs.yidianting.cc/docs/api-reference/access-lists-&-visitors/register-a-timed-visitor-pass.md): Grants time-boxed complimentary or pre-authorized parking privileges for hotel guests, office visitors, or scheduled contractor vehicles. Set `maxEntries: null` for unlimited re-entries during the validity window. - [Cancel a visitor pass](https://openapi-docs.yidianting.cc/docs/api-reference/access-lists-&-visitors/cancel-a-visitor-pass.md): Immediately revokes a scheduled or active visitor pass (for example upon booking cancellation or early hotel check-out). - [Query visitor passes](https://openapi-docs.yidianting.cc/docs/api-reference/access-lists-&-visitors/query-visitor-passes.md): Lists scheduled, active, expired, or cancelled visitor passes for a park, filterable by vehicle `credential`, `hostUnit`, and lifecycle `status`. - [Add or update allowlist entry](https://openapi-docs.yidianting.cc/docs/api-reference/access-lists-&-visitors/add-or-update-allowlist-entry.md): Creates or updates a complimentary or priority fleet allowlist rule for a facility. Use `validUntil: null` for permanent rules without an expiry date. - [Remove allowlist entry](https://openapi-docs.yidianting.cc/docs/api-reference/access-lists-&-visitors/remove-allowlist-entry.md): Removes an allowlist rule from a facility by `entryId` or `credential`. - [Query allowlist entries](https://openapi-docs.yidianting.cc/docs/api-reference/access-lists-&-visitors/query-allowlist-entries.md): Retrieves paginated VIP and complimentary fleet allowlist rules configured for a facility. - [Add or update blocklist entry](https://openapi-docs.yidianting.cc/docs/api-reference/access-lists-&-visitors/add-or-update-blocklist-entry.md): Creates or updates a security blocklist rule (`DENY_ENTRY` to block barrier access or `ALERT_ONLY` to trigger security notifications). Requires `operator` and `reason` for compliance auditing. - [Remove blocklist entry](https://openapi-docs.yidianting.cc/docs/api-reference/access-lists-&-visitors/remove-blocklist-entry.md): Removes a security blocklist rule from a facility by `entryId` or `credential`. - [Query blocklist entries](https://openapi-docs.yidianting.cc/docs/api-reference/access-lists-&-visitors/query-blocklist-entries.md): Retrieves paginated security blocklist rules configured for a facility. ### Gates & Devices - [List lane devices and online status](https://openapi-docs.yidianting.cc/docs/api-reference/gates-&-devices/list-lane-devices-and-online-status.md): Returns cameras, barrier gates, ticket dispensers, payment kiosks, card readers, LED displays, and intercoms registered in a park alongside their real-time online connectivity status. - [Open or close a lane barrier remotely](https://openapi-docs.yidianting.cc/docs/api-reference/gates-&-devices/open-or-close-a-lane-barrier-remotely.md): Sends an audited command to raise (`OPEN`) or lower (`CLOSE`) a physical lane barrier, with optional synchronized LED signage lines and voice prompt. Always supply `operator`, `reason`, and `Idempotency-Key`. - [Set lane operating mode](https://openapi-docs.yidianting.cc/docs/api-reference/gates-&-devices/set-lane-operating-mode.md): Transitions a lane operating mode between `NORMAL` automated control, `PEAK` high-throughput egress, `ALWAYS_OPEN` continuous barrier-up mode, and `DISABLED` maintenance lock. - [Send text to LED display and voice speaker](https://openapi-docs.yidianting.cc/docs/api-reference/gates-&-devices/send-text-to-led-display-and-voice-speaker.md): Pushes temporary multi-line messages to a lane LED display, triggers a voice announcement, and optionally renders a dynamic scan-to-pay QR code on screen (`showPaymentQrCode`). - [Trigger manual camera capture on a lane](https://openapi-docs.yidianting.cc/docs/api-reference/gates-&-devices/trigger-manual-camera-capture-on-a-lane.md): Triggers the lane recognition camera to capture an on-demand snapshot and return detected plate string, jurisdiction region, vehicle class, recognition confidence, and full-frame plus cropped plate media URLs. ## Webhooks ### Webhooks Guide - [Webhooks Overview](https://openapi-docs.yidianting.cc/docs/webhooks/overview.md): Receive real-time push notifications when vehicles enter, exit, complete payment, or when space counts change. - [Verifying Webhook Signatures](https://openapi-docs.yidianting.cc/docs/webhooks/security.md): Validate HMAC-SHA256 webhook signatures and protect your endpoint against replay attacks. - [Event Catalog](https://openapi-docs.yidianting.cc/docs/webhooks/events.md): Summary of all 7 webhook event types emitted by the AKE Parking International platform. ### Event Schemas - [Vehicle entered park](https://openapi-docs.yidianting.cc/docs/api-reference/vehicle-entered-park.md): Fired immediately when a vehicle enters through a lane and an active session begins. Verify the `X-Ake-Signature` HMAC-SHA256 header before processing. - [Vehicle exited park](https://openapi-docs.yidianting.cc/docs/api-reference/vehicle-exited-park.md): Fired when a vehicle completes checkout and clears an exit lane barrier. - [Vehicle stopped at exit lane awaiting payment or verification](https://openapi-docs.yidianting.cc/docs/api-reference/vehicle-stopped-at-exit-lane-awaiting-payment-or-verification.md): Fired when an unpaid casual vehicle or flagged session stops at an exit barrier. Ideal for triggering third-party e-wallet autopay charges or property concierge interventions. - [Vehicle plate corrected](https://openapi-docs.yidianting.cc/docs/api-reference/vehicle-plate-corrected.md): Fired when an operator or authorized integration updates the plate on an active session. - [Parking payment completed](https://openapi-docs.yidianting.cc/docs/api-reference/parking-payment-completed.md): Fired whenever a parking fee payment settles across any online, autopay, kiosk, or exit payment source. - [Facility occupancy changed](https://openapi-docs.yidianting.cc/docs/api-reference/facility-occupancy-changed.md): Fired when available parking space counts change across the facility or an individual zone/bay tag. - [Lane device online status changed](https://openapi-docs.yidianting.cc/docs/api-reference/lane-device-online-status-changed.md): Fired when a park camera, barrier controller, kiosk, or display goes offline or recovers. ## Resources ### Developer Tools & Updates - [AI & MCP Integration](https://openapi-docs.yidianting.cc/docs/resources/mcp.md): Connect Cursor, Claude Code, or Antigravity directly to AKE Parking API documentation via our hosted MCP server and llms.txt. - [OpenAPI Spec & Postman](https://openapi-docs.yidianting.cc/docs/resources/openapi-postman.md): Download the canonical OpenAPI 3.1 specification to generate typed SDKs, mocks, or Postman collections. - [Changelog](https://openapi-docs.yidianting.cc/docs/resources/changelog.md): Release history, versioning policy, and upcoming API roadmap for the AKE Parking International API. ## OpenAPI Specs - [openapi](/docs/openapi/openapi.yaml) > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [Simplified Chinese (68 pages)](https://openapi-docs.yidianting.cc/docs/_llms/zh-hans.txt): 开发指南, 接口文档, Webhook 事件, 开发者资源. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.