Skip to main content
POST
Reply to a refund request

Authorizations

Authorization
string
header
required

Server-side scoped Ignyt API key.

Headers

authorization
string | null
x-ignite-app-id
string | null

Path Parameters

request_id
string
required

Body

application/json
expected_revision
integer
required

The request's current revision; a stale value returns 409.

Required range: x >= 1
note
string
required

Information requested by the reviewer.

Required string length: 10 - 500

Response

Successful Response

amount_minor
integer
required

Requested refund in integer minor units of currency (2500 = AED 25.00).

Example:

2500

app_id
string
required
bank_credit_status
string
required
read-only

Always not_confirmed: a successful refund does not prove the shopper's bank posted it.

Allowed value: "not_confirmed"
child_order_id
string
required
created_at
string
required
created_by
string
required
currency
string
required

ISO 4217 currency of the merchant order.

Example:

"AED"

environment
string
required

sandbox or live.

Example:

"sandbox"

executed_by
string | null
required
execution_status
string
required
read-only

Refund execution: not_started, executing, reserved, pending, unknown, succeeded or failed. unknown is being confirmed with the payment provider; do not request again.

id
string
required

Refund request ID.

Example:

"rrq_123"

items
RefundRequestItem · object[]
required
purchase_id
string
required
reason
string
required
refund_id
string | null
required

Refund created once execution starts, otherwise null.

request_status
string
required
read-only

Review outcome: submitted, needs_information, approved, rejected or blocked.

reviewed_by
string | null
required
revision
integer
required

Increments on every change; send it as expected_revision when replying.

Example:

1

status
string
required

Lifecycle state: submitted, needs_information, approved, rejected, executing, reserved, pending, unknown, succeeded, failed or blocked.

Example:

"submitted"

tenant_id
string
required
updated_at
string
required