К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/api-payments-config.mdиндекс документации — /llms.txt

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":[]}].

Параметры, ответы и права

configurePaymentCredentials

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

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

Параметры, ответы и права

disablePaymentProvider

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

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

Параметры, ответы и права

enablePaymentProvider

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

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

Параметры, ответы и права