0

We have a webshop for shoes, and if shoes, which are in the sale, are send back we want to charge the customer with extra shipping costs. (5 euro)

Now I use the POST V1/invoice/:invoiceId/refund

Can somebody tell me how to do this?

Gr, Peter

1 Answer 1

0

Change the JSON format of the API request.

Have a look at this example,

{
  "invoiceId": "12345",  
  "refundAmount": 45,  // Original purchase amount
  "shippingCost": 5    // Additional shipping cost for returned shoes on sale
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.