Guides
Rider code (PIN)
A trip starts only when your driver enters the rider's 4-digit code.
- The rider sees a 4-digit code in the PerfectRide app and tells the driver.
- The driver enters it in your app.
- You send it as
pinintrip.started. We check it.
trip.started
{
"event": "trip.started",
"event_id": "ev_0001",
"partner_trip_id": "t_9931",
"pr_trip_id": "pr_55a9",
"occurred_at": "2026-12-03T10:06:02Z",
"pin": "4821"
}Wrong codes
- A wrong code gets 422
wrong_pin. Ask the driver to check it with the rider and sendtrip.startedagain with a newevent_id. - After 5 wrong codes we answer 422
pin_locked. The trip cannot start and the rider contacts PerfectRide support. - The right code does not use up a try.
Warning: Never show the code to the driver before the rider says it, and never guess. Repeated guesses lock the trip.
Tip: In the sandbox, certification checks both: send
0000 first (refused), then the PIN the portal shows.