Skip to main content

Refund order amount

Use this request to cancel an order before it has been shipped so the entire amount is refunded to the customer

Use case​

The customer contacts you, regrets the order and wants the money to be refunded or any invoices to be voided.

When the order is cancelled, the...

  • state of the order will be Cancelled in Walley's system.
  • the order value will be refunded to the customer if the order was paid with Swish, card, Trustly or another direct payment method like Vipps or Mobile Pay.
Note that...

the refund will reach the customer within a few hours up to a few days depending on the payment method and the customer's bank.

Endpoints used​

Cancel order

Example​

The following request will cancel the order with id abcdef-12345-1234-5555-6666.

POST /manage/orders/abcdef-12345-1234-5555-6666/cancel HTTP/1.1
Host: api.uat.walleydev.com // (Please note! Different hostname in production)
Authorization: Bearer bXlVc2VybmFtZTpmN2E1ODA4MGQzZTk0M2VmNWYyMTZlMDE...