Документация / Как начать / Работа с MCP / Идентификаторы и страницы результатов / REST: payment / listPayments Для AI-агентов: markdown этой страницы — /docs/api-op-listpayments.md · индекс документации — /llms.txt
listPayments Обновлено 4 октября 2026 г.
GET /api/v1/payments
List tenant payments using safe related sequences
# Авторизация и права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 ["pull:payments"]
# Параметры запросаПоле Значение 0.in "query" 0.name "cursor" 0.required false 0.schema 0.schema 1.in "query" 1.name "limit" 1.required false 1.schema 1.schema 2.in "query" 2.name "sort" 2.required false 2.schema 2.schema 3.description "user,order (one level, comma-separated); absent means no list expansions." 3.in "query" 3.name "include" 3.required false 3.schema 3.schema 4.description "pending,succeeded,failed,canceled,refunded,unknown,expired; scalar or comma-separated list. unknown/expired project to failed." 4.in "query" 4.name "status" 4.required false 4.schema 4.schema 5.description "Related User tenant-local positive int4, resolved with client_id. Scalar, comma list (max 100), or bracket operators gte/lte/gt/lt/eq/neq." 5.in "query" 5.name "user_seq_num" 5.required false 5.schema 5.schema 6.description "Related Order tenant-local positive int4, resolved with client_id. Scalar, comma list (max 100), or bracket operators gte/lte/gt/lt/eq/neq." 6.in "query" 6.name "order_seq_num" 6.required false 6.schema 6.schema 7.description "Provider or comma list (max 100); bracket operators are unsupported." 7.in "query" 7.name "provider" 7.required false 7.schema 7.schema 8.description "Finite numeric amount_gross or bracket operators gte/lte/gt/lt/eq/neq. Comma lists are unsupported." 8.in "query" 8.name "amount" 8.required false 8.schema 8.schema 9.description "Date or bracket operators gte/lte/gt/lt/eq/neq. Comma lists are unsupported." 9.in "query" 9.name "created_at" 9.required false 9.schema 9.schema
# Тело запросаПоле Значение Тело запроса null
# ОтветыПоле Значение 200.content.application/json.schema PaymentListEnvelope 200.description "Payment page; decimal amounts remain strings and nested expansions omit private row keys" 200.headers.X-Bot-Username.description "Active bot public username, when API-key metadata contains it." 200.headers.X-Bot-Username.schema 200.headers.X-Bot-Username.schema 200.headers.X-Client-Slug.description "Active tenant public slug, when API-key metadata contains it." 200.headers.X-Client-Slug.schema 200.headers.X-Client-Slug.schema 200.headers.X-RateLimit-Limit.description "Effective rate budget; fallback 120 without a per-key or request decision." 200.headers.X-RateLimit-Limit.schema 200.headers.X-RateLimit-Limit.schema 200.headers.X-RateLimit-Remaining.description "Nonnegative remaining count or unknown when no rate-limit decision is attached." 200.headers.X-RateLimit-Remaining.schema 200.headers.X-RateLimit-Remaining.schema 200.headers.X-RateLimit-Reset.description "Rate window reset as a Unix timestamp in seconds." 200.headers.X-RateLimit-Reset.schema 200.headers.X-RateLimit-Reset.schema
# ОшибкиПоле Значение 400.content.application/problem+json.schema ProblemDetails 400.description "Invalid limit, include, sequence filter, other filter or cursor; user_id/order_id are rejected" 400.x-error-codes ["INVALID_REQUEST","INVALID_FILTER","INVALID_CURSOR"] 401.content.application/problem+json.schema ProblemDetails 401.description "Missing, invalid, revoked or expired API credential" 401.x-error-codes ["INVALID_API_KEY"] 403.content.application/problem+json.schema ProblemDetails 403.description "Missing scope, paid plan window, unsupported publishable key or no active business" 403.x-error-codes ["INSUFFICIENT_SCOPE","PLAN_UPGRADE_REQUIRED","PUBLISHABLE_KEY_NOT_ALLOWED","NO_ACTIVE_BOT"] 413.content.application/problem+json.schema ProblemDetails 413.description "Per-tool request size or item count cap exceeded" 413.x-error-codes ["PAYLOAD_TOO_LARGE","ITEM_COUNT_EXCEEDED"] 429.content.application/problem+json.schema ProblemDetails 429.description "Resource policy rate limit exceeded or subsystem unavailable" 429.headers.Retry-After.description "Retry delay in seconds when provided by the resource policy decision" 429.headers.Retry-After.schema 429.headers.Retry-After.schema 429.x-error-codes ["RATE_LIMIT_EXCEEDED","RATE_LIMIT_UNAVAILABLE"]
# Дополнительные условияПоле Значение description "X-Api-Key or Bearer tgf_* only; a surface JWT is not accepted. Requires every declared scope. User/Order filters and expansions are tenant-scoped. limit defaults to 50 (1..200). Encrypted keyset cursor expires after 900 seconds, bound to tenant/resource/effective filters. sort is accepted but ordering remains created_at desc/id desc. No ETag conditional response or Idempotency-Key requirement." operationId "listPayments" summary "List tenant payments using safe related sequences" tags ["payments"]