Refund
Create a refund
Creates a refund for the specified order. The order can be specified either by Ivy's internal orderId or by the referenceId provided by the merchant during checkout creation. If the refund should only be partial, you can specifiy this with the amount parameter.
post/api/service/refund/create
Headers
Idempotency-Keystring
Idempotency key for safe retries. Reusing a key with an identical request body returns the cached response. Reusing a key with a different body returns 409.
Request body
Response
Creates a refund and returns the details of created refund