Authentication
Authenticate requests with an API key in theX-API-Key header.
Production keys start with yonne_live_. Sandbox keys start with yonne_test_.
Recommended header
Alternate header support
The API also accepts:X-API-Key is the documented default.
Validate the key early
CallGET /api/v1/external/validate during onboarding and when debugging merchant configuration issues.
That response confirms whether the key is active and returns useful merchant context such as wallet balance and pickup configuration.
Common authentication failures
Missing key
If you do not send a key, the API returns401 Unauthorized.
Malformed or inactive key
If the key is invalid or inactive, the API also returns401 Unauthorized.
