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

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

getPaymentConfig

Обновлено

GET /api/v1/tools/payments

Read tenant payment-provider configuration without secrets

Авторизация и права

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"]

Параметры запроса

ПолеЗначение
Параметры[]

Тело запроса

ПолеЗначение
Тело запросаnull

Ответы

ПолеЗначение
200.content.application/json.schemaPaymentConfigView
200.description"Secret-free configuration; absent credentials row yields null timestamp/currency and disabled providers"
200.headers.X-Bot-Username.description"Active tenant public bot username, when available"
200.headers.X-Bot-Username.schema200.headers.X-Bot-Username.schema
200.headers.X-Client-Slug.description"Active tenant public slug, when available"
200.headers.X-Client-Slug.schema200.headers.X-Client-Slug.schema
200.headers.X-RateLimit-Limit.description"Computed request budget"
200.headers.X-RateLimit-Limit.schema200.headers.X-RateLimit-Limit.schema
200.headers.X-RateLimit-Remaining.description"Remaining budget or unknown"
200.headers.X-RateLimit-Remaining.schema200.headers.X-RateLimit-Remaining.schema
200.headers.X-RateLimit-Reset.description"Budget reset Unix timestamp"
200.headers.X-RateLimit-Reset.schema200.headers.X-RateLimit-Reset.schema

Ошибки

ПолеЗначение
401.content.application/problem+json.schemaProblemDetails
401.description"Missing, invalid or conflicting API-key transports; a surface-session JWT is not an alternative"
403.content.application/problem+json.schemaProblemDetails
403.description"Owner-only payments:config scope or effective credential access refused"
413.content.application/problem+json.schemaProblemDetails
413.description"Per-tool payload or item-count cap exceeded"
429.content.application/problem+json.schemaProblemDetails
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.schema429.headers.Retry-After.schema

Дополнительные условия

ПолеЗначение
description"Owner-only control-plane singleton. All nine wire provider IDs are returned; Stars always hasCredentials=true because it has no tenant secrets. No pagination or conditional ETag."
operationId"getPaymentConfig"
summary"Read tenant payment-provider configuration without secrets"
tags["payments-config"]