Skip to main content

Refund requests

Customers can request a refund for a paid order from your app. These requests show up on the Refund Requests tab of the Orders section, where an administrator approves or rejects them.

Request list​

Open the Orders section and go to the Refund Requests tab (next to All Orders and Order Storages). The list shows only requests waiting for a decision, newest first. You see requests for the order storages you have access to.

Table columns: Id, Order Storage, User, Order ID, Amount, and Date and Time.

Reviewing a request​

Click the info icon in the request row. The Refund Request dialog opens:

  • Order Information: the order details. Go to Order opens the order page.
  • Refund Information: the refund amount and what the customer wants refunded, either products with quantities or stages of a split order.

Then choose an action:

  • Approve: confirm the refund with Confirm in the next dialog. The money goes back through the payment system the customer used, the same way as a refund from the order page. The refund is added to the order's refund history, and the payment status updates.
  • Reject: the request is rejected right away, with no confirmation. No money is returned.

Once you decide, the request leaves the list. Approving and rejecting require the Refund funds permission in the payments permissions.

For which payment systems support refunds, see Refund on the order page.

Requests from your app​

Your app creates and cancels requests through the Content API on behalf of a signed-in user. A user can request a refund only for their own paid order.

RequestWhat it does
GET /api/content/orders/{id}/refundLists the user's requests for the order
POST /api/content/orders/{id}/refundCreates a request
DELETE /api/content/orders/{id}/refundCancels a request that's waiting for a decision

The create body lists products and a comment: {"products": {"146": {"quantity": 1}}, "note": "The item arrived damaged"}, where 146 is the product ID. For a split order, pass stage markers instead of a quantity: {"146": {"stages": ["stage_1"]}}. The server calculates the refund amount.

An order can have only one request waiting for a decision. To request a different refund, cancel the current request first.

Request statuses: pending (waiting for a decision), approved, rejected, and cancelled (canceled by the user).