Skip to main content

Set refund approval

Approve or deny a pending refund.

Path Parameters
orderId int32 REQUIRED

The Order ID.

refundId uuid REQUIRED

The Refund ID.

Request Body REQUIRED

Contains information about the approval.

Approved boolean

The approval decision. Refund will be approved if true and denied if false.

ApprovalDecidedBy string

The name of the user that made the approval decision. Optional.

ApprovalDecidedOn date-time

The date the approval decision was made. Defaults to now. Optional.

Responses
200

The id of the refund.

Schema OPTIONAL
Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.

400

Bad request.

Schema OPTIONAL
Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.

404

Not found.

Schema OPTIONAL
Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.