Data

API returns JSON-encoded responses.

API works with UTC dates.

DateTime in format yyyy-MM-dd HH:mm:ss.

Date in format yyyy-MM-dd.

Charset is UTF-8.

Language

Language is controlled by url. Danish language is default when you need English, Swedish or German, you need to add en/ for English etc.

LanguageBase URL
Danishhttps://api.lifepeaks.dk/
Englishhttps://api.lifepeaks.dk/en/
Swedishhttps://api.lifepeaks.dk/se/
Germanhttps://api.lifepeaks.dk/de/

Guid

You will receive X-Request-Guid in header in every request. It is recomended to use this value in future requests to avoid duplicate requests. Use it in critical requests like claim, refund, cancel, create gift card etc.

Example for claiming:

Each response from our server includes an X-Request-Guid header. You can retrieve this when sending the initial API call (e.g., detail action) prior to making the claim request. Once saved, this GUID should be included in the subsequent claim request. If the same GUID is detected again, the server will recognize the duplicate and return the already-processed response without executing the action again.