> ## Documentation Index
> Fetch the complete documentation index at: https://openapi-docs.yidianting.cc/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Subscriptions & Access Lists

> Synchronize corporate parking subscriptions, multi-car bay allocations, VIP allowlists, and blocklists from property ERP platforms.

Property management systems (PMS) and corporate tenant portals can automate parking subscription provisioning across multiple settlement models as well as allowlists and blocklists.

## Subscription Lifecycle

1. **Fetch available plans**: Call `POST /v1/subscriptions/plans/list` to inspect `planId`, `settlementType` (`PERIOD`, `STORED_VALUE`, `VISIT_PACK`, or `DURATION_PACK`), billing cycle, `allocatedBays`, and `maxVehicles`.
2. **Issue new pass**: Call `POST /v1/subscriptions/create` with tenant `holder` details, `credentials` (`Credential[]`), `allocatedBays`, optional `assignedBayNumbers`, `startDate`, and `endDate`. Multiple plates bound under one `allocatedBays` quota automatically enforce shared carpool capacity (overflow entries bill under `OVER_QUOTA_AS_CASUAL`).
3. **Renew or top up**: Call `POST /v1/subscriptions/renew` with `newEndDate` for period passes, or `topUpAmount` / `topUpUnits` for stored-value, visit-pack, and duration-pack passes. Call `POST /v1/subscriptions/update` when swapping bound `credentials` or bay assignments.
4. **Freeze or cancel**: Call `POST /v1/subscriptions/setStatus` with `action: "FREEZE"`, `"UNFREEZE"`, or `"CANCEL"`.

## Allowlists vs. Blocklists

Allowlists and blocklists are exposed as separate, permission-isolated endpoints for fleet and security operations independent of paid subscription plans:

* **Allowlists (`POST /v1/allowlists/upsert` / `delete` / `list`, scope `allowlists:*`)**: Complimentary or priority fleet vehicles (`accessPolicy: "FREE_ACCESS"` or `"PRIORITY_ACCESS"`), with optional `validAreaCodes` and `validUntil: null` for permanent rules.
* **Blocklists (`POST /v1/blocklists/upsert` / `delete` / `list`, scope `blocklists:*`)**: Barred vehicles or security alerts (`enforcementAction: "DENY_ENTRY"` to hold barrier entry, or `"ALERT_ONLY"` to notify facility attendants), requiring an audit `reason` and `operator`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.