commerce

GET /v1/refund-requests/{refundRequestId}

Get a refund request.

ចំណុចបញ្ចប់ commerce ទាំងអស់

ការផ្ទៀងផ្ទាត់ភាពត្រឹមត្រូវ

បញ្ជូនសោ API ជា bearer token។ សោនេះត្រូវតែមានសិទ្ធិ billing.view។ សោដែលគ្មានសិទ្ធិនេះនឹងត្រូវបដិសេធដោយកូដ 403 មិនមែន 404 ទេ។

ចំនុចបញ្ចប់នេះមិនត្រូវការលេខសម្គាល់ស្ថាប័នទេ។ ពស័្ដកូនរបស់អ្នករួចហើយកំណត់អត្តសញ្ញាណស្ថាប័នដែលវាជាកម្មសិទ្ធិ ហើយការឆ្លើយតបគឺត្រូវបានកំណត់វិសាលភាពទៅតាមនោះ។

សាកល្បង

ជំនួសអ្វីមួយនៅក្នុងសញ្ញាពងក្រពើ < > ដោយប្រើតម្លៃផ្ទាល់ខ្លួនរបស់អ្នក ហើយជំនួសកន្លែងរក្សាទុកសោដោយប្រើសោចេញពីផ្ទាំងគ្រប់គ្រងរបស់អ្នក។

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