commerce

GET /v1/refund-requests/{refundRequestId}

Get a refund request.

Sve commerce krajnje tačke

Autentifikacija

Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu billing.view; ključ bez nje se odbija sa 403, a ne sa 404.

Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.

Isprobajte

Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.

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

Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli

Detalji

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

Parametri

NazivVrstaObaveznoŠta je ovo
refundRequestId (path)UuidDaThe refund request's id.

Odgovor

NazivVrstaObaveznoŠta je ovo
idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
org_idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
order_idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
statusRefundRequestStatusDaA refund request's lifecycle state (docs/05 §4.13).
policy_classRefundPolicyClassDaHow the refund policy classified a request (captured at request time).
amountMoneyAmountDaA money value — integer minor units + an ISO 4217 code (CLAUDE.md §2.8).
to_walletbooleanDaRefund 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…
reasonstringDa
decided_bystringDa
decision_notestringDa
decided_atobjectDa
refund_referencestringDaSet once the refund has been issued (its idempotency key).
created_atstringDa
updated_atstringDa

Greške koje ovaj krajnji tačka može da vrati

401 · 403 · 404 · 429