FoyerDevelopers

Generated · Live registry

deposit_settings tools

2 tools in this domain, generated from the running registry.

All tool domains

deposit_settings.get

read-only

Get the current tenant's pre-arrival deposit (Kaution) setting: whether a deposit is requested from guests (`enabled`) and the amount in cents. Read-only.

Input parameters

Returns object.

Output fields

FieldTypeRequiredNotes
enabledbooleanyes
amountCentsintegeryes

deposit_settings.update

writes

Enable or disable the pre-arrival deposit (Kaution) for the current tenant and set its amount in cents. When enabling, amountCents must be > 0. When disabling, the amount is preserved. Owner-only.

Input parameters

FieldTypeRequiredNotes
enabledbooleanyes
amountCentsintegerno

Output fields

FieldTypeRequiredNotes
okliteralyesOne of: true