Skip to main content

Response language

The API responds in English by default, or in French. The language applies to error messages and to content generated by eldo wallet.

The language is read in this order:

  1. the ?lang=en query parameter
  2. the x-lang: en header
  3. the Accept-Language header
Error in English with ?lang=en
GET/clients/{id}Try it
curl -L 'https://api-v2.test.eldowallet.fr/clients/unknown?lang=en' \
-H 'Accept: application/json' \
-H 'x-lang: en' \
-H 'Authorization: Bearer <token>'
{"message": "Model not found!", "errorCode": "404:MODEL_NOT_FOUND", "path": "/clients/unknown?lang=en", "date": "…"}
note

A few validation messages are always in English, even when you request French (for example departureDate must be a valid ISO date). Always test errorCode, never message.

Your pass content​

The API language doesn't translate your passes: the text you send (details, terms, event name…) is displayed as is. For a multilingual audience, create one template per language, or adapt the pass fields for each customer.

API news, once a month

New endpoints, upcoming changes, guides and use cases. No spam, one-click unsubscribe.

Report a technical problem

An API error, a pass that does not update, an email that does not arrive? Describe the problem: our technical team will answer.

For a fast answer, include:

  • The method and endpoint (e.g. POST /clients)
  • The error code returned (errorCode) and the body sent
  • The date and time of the call
  • The identifiers involved (customer, template, pass)

Never include an API token or a password.

AI assistant

Beta

Loading…

AI-generated answers (Claude): double-check important details.

Sign in to use the assistant