commerce

GET /v1/refund-requests/{refundRequestId}

Get a refund request.

ሁሉም የ commerce ማጠናቀቂያ ነጥቦች

ማረጋገጫ

የAPI ቁልፉን እንደ bearer token ይላኩ። ቁልፉ የbilling.view ፈቃድ ሊኖረው ይገባል፤ ይህ ፈቃድ የሌለው ቁልፍ በ404 ሳይሆን በ403 ውድቅ ይደረጋል።

ይህ ኤንድፖይ መክፈቻ (endpoint) የድርጅት መታወቂያ (organisation id) አይወስድም። የእርስዎ ቁልፍ (key) እሱ የሚመለከተውን ድርጅት አስቀድሞ ይለያል፣ እና ምላሹም ለዚሁ የተወሰነ ነው።

ሞክሩት

በቅንፍ ውስጥ ያለውን ማንኛውንም ነገር በራስዎ እሴቶች ይተኩ፣ እና ቁልፍ ቦታ ያዢውን ከዳሽቦርድዎ በመጣ ቁልፍ ይተኩ።

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

ገብተዋል? የመቆጣጠሪያ ማዕከልዎ ውስጥ ያለው የኤፒአይ ኮንሶል ትክክለኛውን የድርጅት መታወቂያዎን እና የራስዎን ቁልፍ ይሞላል፣ እና ትክክለኛውን ምላሽ ማየት እንዲችሉ ጥያቄውን በቀጥታ ከሚሰራው ኤፒአይ ጋር ያካሂደዋል። ይህን ኤንድፖይንት በ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