Skip to main content
POST
Grant a parking validation to a vehicle

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"

merchantCode
string
required
templateId
string
required
credential
object
required

Generalized vehicle or user credential scoped to the target facility.

inventoryBatchId
string | null

Required when granting from a PREPAID voucher batch.

sessionId
string
quantity
integer
default:1
Required range: x >= 1
customDiscountValue
integer | null

Custom minutes or minor currency value when allowCustomValue is true.

Required range: x >= 1
externalReceiptNo
string
note
string
metadata
object

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

Response

Coupon issued to vehicle.

validation
object
required
remainingQuota
integer | null
required