Документация / Как начать / Работа с MCP / Идентификаторы и страницы результатов / REST: payments-config / enablePaymentProvider Для AI-агентов: markdown этой страницы — /docs/api-op-enablepaymentprovider.md · индекс документации — /llms.txt
enablePaymentProvider Обновлено 4 октября 2026 г.
POST /api/v1/tools/payments/enable
Enable a provider without resending credentials
# Авторизация и праваScopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.
Поле Значение security.0.hubApiKey [] security.1.hubBearer [] securitySchemes.hubApiKey.in "header" securitySchemes.hubApiKey.name "X-Api-Key" securitySchemes.hubApiKey.type "apiKey" securitySchemes.hubBearer.scheme "bearer" securitySchemes.hubBearer.type "http" x-required-scopes ["payments:config"]
# Параметры запросаПоле Значение 0.in "header" 0.name "Idempotency-Key" 0.required true 0.schema 0.schema
# Тело запроса# Ответы# ОшибкиПоле Значение 400.content.application/problem+json.schema ProblemDetails 400.description "Strict body validation failed, or a POST body has no Idempotency-Key" 401.content.application/problem+json.schema ProblemDetails 401.description "Missing, invalid or conflicting API-key transports; a surface-session JWT is not an alternative" 403.content.application/problem+json.schema ProblemDetails 403.description "Owner-only payments:config scope or effective credential access refused" 409.content.application/problem+json.schema ProblemDetails 409.description "The idempotent command is already processing" 413.content.application/problem+json.schema ProblemDetails 413.description "Per-tool payload or item-count cap exceeded" 422.content.application/problem+json.schema ProblemDetails 422.description "Idempotency-Key reused with a different body, or provider enablement rejected by fiscal/credential prerequisites" 429.content.application/problem+json.schema ProblemDetails 429.description "Per-tool rate limit exceeded or unavailable; fail closed" 429.headers.Retry-After.description "Seconds before retry when supplied by the limiter" 429.headers.Retry-After.schema 429.headers.Retry-After.schema
# Дополнительные условияПоле Значение description "Owner-only strict provider wire ID. Stars needs no tenant credentials; other providers must pass stored tenant-credential and applicable fiscal-profile prerequisites before any write. Idempotency-Key is required; same-key retry replays status/body and changed body returns 422." operationId "enablePaymentProvider" summary "Enable a provider without resending credentials" tags ["payments-config"]