In addition to the API endpoints, EasyPark also offers a webhook for real time parking transactions. To set this up as a customer, please contact us for details.
The following example illustrates the payload that will be sent with the webhook
{
"parkingId": 12345,
"licenseNumber": "AAA123",
"startDate": "2020-03-24T14:16:00Z",
"endDate": "2020-03-24T16:10:00Z",
"price": 24.45,
"priceVatAmount": 4.89,
"priceExclusiveVatAmount": 19.56,
"currency":"EUR",
"parkingAreaId": 4567,
"parkingAreaName": "area name",
"parkingOperatorId": 123,
"parkingOperatorName": "operator name",
"transactionFee": 2.75
"transactionFeeVatAmount": 0.50
"transactionFeeExclusiveVatAmount":2.25
}
Parameters description:
Parameter | Type | Description |
---|---|---|
parkingId | long | Parking transaction identifier for EasyPark |
licenseNumber | String | Car license number |
startDate | String | Start time of the parking. ISO 8601 date&time |
endDate | String | End time of the parking. ISO 8601 date&time |
price | Number | Price of parking |
priceVatAmount | Number | Vat amount of the price |
priceExclusiveVatAmount | Number | Exclusive vat amount of the price |
currency | String | Currency of parking price |
parkingAreaId | long | Parking area identifier for EasyPark |
parkingAreaName | String | Parking area name |
parkingOperatorId | long | Parking area operator identifier for Easypark |
parkingOperatorName | String | Parking operator name |
transactionFee | Number | Transaction fee for parking |
transactionFeeVatAmount | Number | Vat amount of the transaction fee |
transactionFeeExclusiveVatAmount | Number | Exclusive vat amount of the price |
In case of client side (HTTP4XX) or server side (HTTP5XX) error when posting parking transaction to partner, it will be retried hourly until it is accepted by the partner.