Documentation Index
Fetch the complete documentation index at: https://docs.riyadhparking.sa/llms.txt
Use this file to discover all available pages before exploring further.
Ticketing Webhook
Riyadh Parking provides real-time ticketing and invoicing updates to operators when a ticket is generated via the mobile app or website. This allows operators to track transactions and automate processing without polling the API.To receive ticket and invoice data, operators must provide a valid endpoint.
1️⃣ Ticket & Invoice Data Structure
Each time a parking transaction occurs, Riyadh Parking sends a POST request to the operator’s webhook endpoint with the following payload.Invoice Schema
Ticket Schema
2️⃣ How to Handle Incoming Requests
-
Expose an HTTPS endpoint that accepts
POSTrequests. - Verify the request payload to ensure data integrity.
-
Acknowledge receipt by responding with a
200 OKstatus.
Example Endpoint Implementation (Node.js/Express)
3️⃣ Expected Responses
Your system must respond to each request with the appropriate HTTP status code.| Status Code | Description |
|---|---|
200 OK | Request received successfully. |
400 Bad Request | Invalid payload structure. |
500 Internal Server Error | Unexpected processing error. |