RefundInput input object

Version unstable

Specifies the fields to create a refund.

Input fields

  • currency (CurrencyCode)

    The currency (in ISO format) that is used to refund the order. This must be the presentment currency (the currency used by the customer) and is a required field for orders where the currency and presentment currency differ.

  • note (String)

    An optional note attached to a refund.

  • notify (Boolean)

    Whether to send a refund notification to the customer.

  • orderId (ID!) Required

    Order ID for which the refund is created.