POST
Refundrequests onayla

Authorizations

Authorization
string
header
required

Keycloak JWT. Format: Authorization: Bearer <token>.

Headers

Idempotency-Key
string

Path Parameters

id
string<uuid>
required

Body

application/json
id
string<uuid>
note
null | string

Response

OK

id
string<uuid>
transaction_id
string<uuid>
merchant_id
string<uuid>
requested_by
null | string
requested_at
string<date-time>
reason
null | string
reason_code
enum<string> | null
Available options:
CustomerRequest,
OutOfStock,
DuplicateCharge,
ProductDefect,
Fraud,
WrongAmount,
Other
amount
integer<int64>
currency
null | string
status
enum<string>
Available options:
Pending,
Approved,
Rejected,
Failed
reviewed_by
null | string
reviewed_at
null | string<date-time>
review_note
null | string
refund_error_code
null | string
refund_error_message
null | string
transaction
object | null