Skip to main content
The S2S (server-to-server) integration lets your courier company’s backend talk directly to the Yonne platform. You can update driver availability, pull delivery metrics, and retrieve financial summaries entirely through API calls.
This is a separate integration from the Merchant API. S2S credentials, base paths, and authentication flow are all different. Do not mix them.

How it works

There are two actors in this system:
  • Yonne admin — manages your credentials (generate, rotate, revoke, enable).
  • Your system — exchanges credentials for a short-lived JWT, then calls S2S endpoints with that token.

Before your first call

The Yonne admin must complete these steps before your system can authenticate: Once both steps are done, your system can authenticate and start calling endpoints. See Admin Operations for the full admin workflow.

Base URL

All S2S endpoints share the same host as the rest of the platform:
Courier S2S paths are under /api/courier/s2s/. Admin management paths are under /admin/couriers/{courier_id}/s2s/.