Skip to main content
POST
Create a parking subscription

Authorizations

Authorization
string
header
required

Partner API Key passed in the Authorization header: Authorization: Bearer ak_live_... (or ak_test_... for Cloud Sandbox, ak_local_... for Local Direct).

Headers

Idempotency-Key
string<uuid>

Unique UUID recommended on all mutating calls to safely retry after network timeouts.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
facilityId
string
required

Unique external facility identifier within your partner scope.

Example:

"MY-KL-001"

planId
string
required
credentials
object[]
required
Minimum array length: 1
holder
object
required
startDate
string<date>
required
endDate
string<date>
required
allocatedBays
integer
default:1

Number of concurrent vehicles permitted inside the facility under this pass.

Required range: x >= 1
assignedBayNumbers
string[]
paidAmount
object
paymentMethod
enum<string>

Normalized payment instrument used to settle the transaction; use paymentProvider to specify the concrete processor or wallet brand (e.g. stripe, apple_pay, tng).

Available options:
CARD,
DIGITAL_WALLET,
BANK_TRANSFER,
CASH,
STORED_VALUE,
OTHER
externalOrderId
string
metadata
object

Flat key-value partner correlation metadata (maximum 10 keys, string values only).

Response

Parking subscription created.

subscription
object
required