Wallet
Your eldo wallet workspace and its access tokens.
Create a wallet
Creates a new wallet with its contact details, logos and terms and conditions. Restricted to administrator accounts; integrations use `GET /wallets` and `PATCH /wallets` on their own wallet.
Update the wallet
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`.
Get the wallet
Returns the wallet linked to the token used: name, contact details, social networks, logos, time zone, allowed pass types and terms and conditions. Use it to check your token and the wallet configuration.
Create a wallet token
Creates an access token for the wallet, to use instead of a JWT for server-to-server integrations. The token is returned in the `token` field; `expiresAt` is optional.
List wallet tokens
Lists, page by page, the access tokens created for the wallet, with their expiry date if any.
Delete a wallet token
Deletes (revokes) a wallet access token. Returns no content on success.
Update the pass builder configuration
Resynchronises the wallet with the pass generator: completes its configuration if needed, then restarts the update of all its installed passes. No request body; returns the wallet.
Update the 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.