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.
Headers
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
Changes
Changed in 3 of the 48 revisions of this API.31
- ●
added the new
USDenum value to thecurrencyresponse property for the response status200response-property-enum-value-added
- ●
- ○
added the new optional
headerrequest parameterIdempotency-Keynew-optional-request-parameter
- ○
- ●
the
bankStatementReferencerequest property's maxLength was set to140request-property-max-length-set
- ●
the
referenceIdrequest property's maxLength was set to200request-property-max-length-set
- ●