commerce

GET /v1/refund-requests/{refundRequestId}

Get a refund request.

Све commerce крајње тачке

Сва документација за програмере →

Аутентификација

Пошаљите API кључ као bearer токен. Кључ мора имати дозволу billing.view; кључ без ње се одбија уз 403, а не 404.

Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.

Испробајте

Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.

curl -X GET https://api.zinndigital.com/v1/refund-requests/{refundRequestId} \
  -H "Authorization: Bearer zdk_live_…"

Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли

Детаљи

Returns one refund request in scope, with its policy class, amount and outcome. Requires billing.view.

Параметри

НазивТипОбавезноШта је ово
refundRequestId (path)UuidДаThe refund request's id.

Одговор

НазивТипОбавезноШта је ово
idUuidДаUUIDv7 identifier — sortable by creation time (docs/02 §8).
org_idUuidДаUUIDv7 identifier — sortable by creation time (docs/02 §8).
order_idUuidДаUUIDv7 identifier — sortable by creation time (docs/02 §8).
statusRefundRequestStatusДаA refund request's lifecycle state (docs/05 §4.13).
policy_classRefundPolicyClassДаHow the refund policy classified a request (captured at request time).
amountMoneyAmountДаA money value — integer minor units + an ISO 4217 code (CLAUDE.md §2.8).
to_walletbooleanДаRefund destination, frozen at request time — false (the default) reverses the original payment, true credits the account wallet. Any part of the order that was settled from…
reasonstringДа—
decided_bystringДа—
decision_notestringДа—
decided_atobjectДа—
refund_referencestringДаSet once the refund has been issued (its idempotency key).
created_atstringДа—
updated_atstringДа—

Грешке које ова крајња тачка може вратити

401 · 403 · 404 · 429