Authorizations
API key for authentication
Body
The internal Ivy id of the order. Must be present in request body if referenceId is not provided
The external id set by the merchant during checkout creation. Required if orderId is not passed.
An optional custom text that will be shown on the customer's payment reference. Input has to be maximum 16 alpha-numeric characters. If not provided, a default Ivy refund referenceId will be shown.
Response
Creates a refund and returns the details of created refund
The unique Refund id
The amount of the refund in decimals.
x > 0
Refund's currency.
EUR
, GBP
, PLN
, SEK
, DKK
The current status of this refund.
initiated
, pending
, succeeded
, failed
The id of the refunded order
The id of the transaction