Skip to main content

Update the wallet

PATCH

https://api-v2.test.eldowallet.fr/wallets

Updates the wallet of the token used: name, contact details, social networks, logos, time zone, webhooks or terms and conditions. Only the fields you send are changed; accepts multipart/form-data (for images) or application/json.

Good to know
  • Body is multipart/form-data: nested objects (colors, security, locations…) are sent as a JSON string, booleans as "true"/"false". Images: PNG or JPEG, 1 KB to 5 MB.
  • termsAndConditions.customUrl is required when type is URL.
  • Any real change updates the installed passes in the background: loyalty cards every time, the other pass types when a field they display changes (name, logos, phones…). Loyalty card holders are notified according to the UPDATE_LOYALTY rule, which uses credits; credit is checked before anything is saved (INSUFFICIENT_CREDIT, or 409 INSUFFICIENT_CREDIT_PARTIAL, which you can override with acceptPartialDelivery: true). A request that changes nothing triggers nothing.

Request​

header parameters
  • x-lang string
    Language for responses
    enum: en, frdefault: "en"
Body multipart/form-data required
  • webHookUrl string
    Comma-separated webhook URLs. Optional per-URL auth via fragment: https://host/hook#headers=Authorization:Bearer%20token
  • icon string <binary>
  • logo string <binary>
  • androidLogo string <binary>
  • name string
  • identifier string
  • identifierQr string
  • address string
  • website string
  • servicePhone string
  • businessPhone string
  • socialMedia object
    • linkedin string
    • tiktok string
    • twitter string
    • facebook string
    • instagram string
    • youtube string
    • snapchat string
    • pinterest string
    • reddit string
    • whatsapp string
    • telegram string
  • additionalContacts object[]
    • title string required
    • value string required
    • kind string requiredenum: URL, PHONE, EMAIL
  • termsAndConditions object
    • type string
      Type of terms and conditions
      enum: PDF, URL, NONEexample: PDF
    • customUrl string <uri>
      Custom URL for terms and conditions (maps to generalRoleUrl)
      example: https://example.com/terms
    • pdfFile string <binary>
  • rootDomain string
  • timezone string
  • allowedPasses string[]enum: ALL, EVENT_TICKET, TRANSIT, CINEMA, BOARDING_PASS, COUPON, GENERIC, STORE_CARD, OFFER, HOTEL
  • expiredCleanupEnabled boolean
Body application/json required
  • webHookUrl string
    Comma-separated webhook URLs. Optional per-URL auth via fragment: https://host/hook#headers=Authorization:Bearer%20token
  • icon string <binary>
  • logo string <binary>
  • androidLogo string <binary>
  • name string
  • identifier string
  • identifierQr string
  • address string
  • website string
  • servicePhone string
  • businessPhone string
  • socialMedia object
    • linkedin string
    • tiktok string
    • twitter string
    • facebook string
    • instagram string
    • youtube string
    • snapchat string
    • pinterest string
    • reddit string
    • whatsapp string
    • telegram string
  • additionalContacts object[]
    • title string required
    • value string required
    • kind string requiredenum: URL, PHONE, EMAIL
  • termsAndConditions object
    • type string
      Type of terms and conditions
      enum: PDF, URL, NONEexample: PDF
    • customUrl string <uri>
      Custom URL for terms and conditions (maps to generalRoleUrl)
      example: https://example.com/terms
    • pdfFile string <binary>
  • rootDomain string
  • timezone string
  • allowedPasses string[]enum: ALL, EVENT_TICKET, TRANSIT, CINEMA, BOARDING_PASS, COUPON, GENERIC, STORE_CARD, OFFER, HOTEL
  • expiredCleanupEnabled boolean

Responses​

Schema application/json
  • name string required
  • logo string required
  • icon string required
  • androidLogo string
  • displayIdentifiant boolean required
  • passBuilderPassTemplateId string
  • passBuilderBusinessId string
  • passBuilderToken string
  • identifier string required
  • identifierQr string required
  • address string
  • website string required
  • servicePhone string required
  • businessPhone string required
  • socialMedia object required
    • linkedin string
    • facebook string
    • instagram string
    • tiktok string
    • twitter string
    • youtube string
    • snapchat string
    • pinterest string
    • reddit string
    • whatsapp string
    • telegram string
  • additionalContacts object[] required
    • title string required
    • value string required
    • kind string requiredenum: URL, PHONE, EMAIL
  • termsAndConditions object required
    • type string requiredenum: PDF, URL, NONE
    • customUrl string
    • pdfUrl string
  • webHookUrl string required
  • rootDomain string required
  • timezone string
  • allowedPasses string[] requiredenum: ALL, EVENT_TICKET, TRANSIT, CINEMA, BOARDING_PASS, COUPON, GENERIC, STORE_CARD, OFFER, HOTEL
  • expiredCleanupEnabled boolean required
  • _id string required
  • createdAt string <date-time> required
  • updatedAt string <date-time> required

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