Skip to main content

Update the terms and conditions

PATCH

https://api-v2.test.eldowallet.fr/wallets/terms-and-conditions

Sets the wallet's terms and conditions: none (type: NONE), a link (type: URL with customUrl) or a PDF file of up to 5 MB (type: PDF with pdfFile, as multipart). Returns the updated wallet.

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.
  • customUrl is required when type is URL.

Request​

header parameters
  • x-lang string
    Language for responses
    enum: en, frdefault: "en"
Body multipart/form-data required
  • 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>
Body application/json required
  • 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>

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