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

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

refreshPaymentUrls

Обновлено

POST /api/v1/orders/{id}/refresh-payment-urls

refreshPaymentUrls

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

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

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

ПолеЗначение
0.description"Required for nonempty POST bodies; optional for an empty refresh body."
0.in"header"
0.name"Idempotency-Key"
0.requiredfalse
0.schema0.schema
1.in"path"
1.name"id"
1.requiredtrue
1.schema1.schema

Тело запроса

ПолеЗначение
content.application/json.schemaRefreshPaymentUrlsRequest
requiredtrue

Ответы

ПолеЗначение
201.content.application/json.schemaRefreshPaymentUrlsResponse
201.description"Refresh order payment URLs"

Ошибки

ПолеЗначение
400.content.application/problem+json.schemaProblemDetails
400.description"Malformed request or a missing Idempotency-Key header"
401.content.application/problem+json.schemaProblemDetails
401.description"Missing or invalid authentication"
403.content.application/problem+json.schemaProblemDetails
403.description"The caller lacks the orders scope or tenant access"
404.content.application/problem+json.schemaProblemDetails
404.description"Order was not found for this tenant"
409.content.application/problem+json.schemaProblemDetails
409.description"A request with this Idempotency-Key is already in progress"
422.content.application/problem+json.schemaProblemDetails
422.description"Requested payment provider is unavailable for this order"

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

ПолеЗначение
operationId"refreshPaymentUrls"
tags["orders"]
x-idempotency"http-cache"