commerce

GET /v1/refund-requests/{refundRequestId}

Get a refund request.

تمام commerce اینڈ پوائنٹس

توثيقِ شناخت

ایک بیرر ٹوکن کے طور پر ایک API کی بھیجیں۔ کی کے پاس billing.view اجازت ہونی چاہیے؛ اس کے بغیر کی کو 404 کے بجائے 403 کے ساتھ مسترد کر دیا جاتا ہے۔

یہ اینڈ پوائنٹ کوئی آرگنائزیشن آئی ڈی نہیں لیتا۔ آپ کی کلید پہلے ہی اس آرگنائزیشن کی شناخت کرتی ہے جس سے یہ تعلق رکھتی ہے، اور اس کا جواب اسی کے مطابق محدود ہوتا ہے۔

آزمائیں

کوئی بھی چیز جو زاویہ دار قوسین میں ہو اسے اپنی اقدار سے بدلیں، اور کلیدی پلیس ہولڈر کو اپنے ڈیش بورڈ کی کسی کلید سے بدلیں۔

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

لاگ ان ہیں؟ آپ کے ڈیش بورڈ میں موجود API کنسول آپ کی حقیقی تنظیم کی آئی ڈی اور آپ کی اپنی کلید خود بخود پُر کر دیتا ہے، اور لائیو 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