Skip to main content

Templates and passes

Two objects shape the whole eldo wallet API:

  • The template: the model. It holds the branding and the information shared by every holder. You create it once.
  • The pass: one customer’s card. It holds their personal data: name, seat, barcode, balance. You issue one per customer.

Example​

A concert is one event template: name, venue, date, official strip, colours. Each attendee gets their own pass: gate, row, seat, barcode.

What lives where​

InformationTemplatePass
Colours, strip✅
Barcode format✅
Security options (sharing, one-time use…)✅
Terms, contact✅
Holder name and email✅
Barcode value✅
Seat, trip, dates, balance for this customer✅

Templates by pass type​

TypeCreate the templateIssue a passIssue in bulk
CouponPOST/couponsPOST/coupons/{id}/passes/send(same endpoint, async)
EventPOST/eventsPOST/events/{id}/passesPOST/events/{id}/passes/bulk
TransitPOST/transitsPOST/transits/{transitId}/passesPOST/transits/{transitId}/passes/bulk
HotelPOST/hotelsPOST/hotels/{id}/passesPOST/hotels/{id}/passes/bulk
Content-Type

Template creation accepts an image (the strip), so it is sent as multipart/form-data. Nested objects (colors, security, locations…) go in as a JSON string in the form field, booleans as "true" / "false". Issuing passes uses application/json. See Common API errors.

What about the loyalty card?​

The loyalty card is a special case: one per wallet. Its template is the store card.

  • Set its design with PATCH/store-cards: cardType (STORE_CARD or MEMBER_CARD), programme name, colours, strip, earning unit, displayed fields.
  • Every customer created with POST/clients gets the card (with sendCard, eldo wallet sends them the link).
  • Customer types sort the card's holders into segments.

Changing a template later​

A template change flows to the passes already issued: new strip, and every card changes its look. Do it for a real campaign, not every day.

Go further​

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