Make a bank account the main one
Changed onExactly one account is the company's main account, so this moves the designation rather than adding it: whichever account held it loses it in the same operation. Setting the account that already holds it changes nothing and still succeeds.
Allowed on a connected account, unlike PUT and DELETE. Being the main account is Altoviz's own designation, not something the provider owns. <b>400</b> when the account's type cannot be the main one: only an account kept by hand and a Linxo-synchronized account qualify. A Stripe, GoCardless, PayPal or SumUp account is a payment balance rather than a bank account, and is refused. The main account is what the application offers first when a settlement needs a bank account. It is unrelated to defaultPaymentMethod, which is per-account.
Request
- Base URLhttps://api.altoviz.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Bank account ID
Response
OK
Changes
- info
endpoint added
- info