# REST: payments-config

Source: <https://telegafirst.com/docs/api-payments-config>
Locale: ru
releaseGitSha: 0bb11ef116e17ec64c802d5476eaff442e53d252
sourceContentDigest: e2c3c77a740dcff809fc43f31e80733e4af0644759b4a3d30ec6712bbe5284ee
Version: 9

# REST: payments-config

Выберите операцию: полный контракт доступен по ссылке. Scopes: ALL; auth alternatives: OR.

## getPaymentConfig

`GET /api/v1/tools/payments` — Read tenant payment-provider configuration without secrets

Scopes (ALL): \["payments:config"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-getpaymentconfig)

## configurePaymentCredentials

`POST /api/v1/tools/payments` — Configure one credentialed payment provider

Scopes (ALL): \["payments:config"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-configurepaymentcredentials)

## disablePaymentProvider

`POST /api/v1/tools/payments/disable` — Disable a provider while retaining its credentials

Scopes (ALL): \["payments:config"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-disablepaymentprovider)

## enablePaymentProvider

`POST /api/v1/tools/payments/enable` — Enable a provider without resending credentials

Scopes (ALL): \["payments:config"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-enablepaymentprovider)
