Finance connector sync

Привязать внешний счёт к счёту Akeda или изменить импорт

Привязывает внешний банковский счёт к счёту Akeda или изменяет настройки его импорта.

patch/api/v1/finance/connectors/accounts/{accountId}

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/finance/connectors/accounts/{accountId}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)
    • HTTP bearer

Path parameters

accountIdstring uuid required

Headers

X-Tenantstring required

Slug выбранного кабинета; кабинет не является юрлицом

Request body

accountstring uuid nullable
is_enabledboolean
ignoredboolean

Игнорировать счёт: импорт выключается, синхронизация его не предлагает

Response

Обновлённая привязка

idstring uuid required
connectorstring uuid required
external_account_idstring required
numberstring required
bicstring required
bank_namestring required
titlestring required
currencystring required
external_customer_idstring required
owner_innstring required
owner_namestring required
companystring uuid nullable required
company_namestring required
accountstring uuid nullable required
account_namestring required
company_is_activeboolean required
is_enabledboolean required
ignoredboolean

Человек решил счёт не подключать; синхронизация его не заводит

last_synced_atstring date-time nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.