OBJECT

RefundRequest

Refund requests associated with an invoice

link GraphQL Schema definition

  • type RefundRequest implements Node {
  • # The amount of cash refunded (could also include credit card or afterpay).
  • # Denominated in cents.
  • cashAmountCents: Int
  • # The amount of cash refunded (could also include credit card or afterpay). In
  • # string with currency symbol.
  • #
  • # Arguments
  • # currency: Currency in which to display money fields. Defaults
  • # to the currency of the marketplace's home country.
  • cashAmountFormatted(currency: String): String
  • # The timestamp at which this refund request was created.
  • createdAt: ISO8601DateTime!
  • externalIds: [ExternalID!]!
  • # The amount to be refunded to gift cards. Denominated in cents.
  • giftCardAmountCents: Int
  • # The amount to be refunded to gift cards. In string with currency symbol.
  • #
  • # Arguments
  • # currency: Currency in which to display money fields. Defaults
  • # to the currency of the marketplace's home country.
  • giftCardAmountFormatted(currency: String): String
  • id: ID!
  • # The initiator of this refund request.
  • initiatedBy: RefundRequestInitiatorEnum
  • # The invoice to which this refund request refers.
  • invoice: Invoice!
  • # The id used to identify the refund request.
  • legacyId: Int!
  • # Line items for which this refund is being requested.
  • lineItems: [RefundRequestLineItem!]!
  • # Metadata key/values
  • metadata: [Metadatum!]!
  • # Notes associated with this refund request.
  • notes: [RefundRequestNote!]!
  • # Receipts for the refund (e.g. screenshots from payment provider portal, etc.)
  • receipts: [Image!]! @deprecated( reason: "Attachments should be added via RefundRequestNote.attachments. This field will be removed on 2022-12-15." )
  • # The amount that will be recovered from the retailer. Denominated in cents.
  • recoveredAmountCents: Int
  • # The amount that will be recovered from the retailer. In string with currency
  • # symbol.
  • #
  • # Arguments
  • # currency: Currency in which to display money fields. Defaults
  • # to the currency of the marketplace's home country.
  • recoveredAmountFormatted(currency: String): String
  • # The total amount to be refunded to the customer. Denominated in cents.
  • refundAmountCents: Int
  • # The total amount to be refunded to the customer. In string with currency symbol.
  • #
  • # Arguments
  • # currency: Currency in which to display money fields. Defaults
  • # to the currency of the marketplace's home country.
  • refundAmountFormatted(currency: String): String
  • # The timestamp at which this refund request was refunded to the customer (can be
  • # nil).
  • refundedAt: ISO8601DateTime
  • # The value of the purchased items that are being refunded. Denominated in cents.
  • requestValueCents: Int
  • # The value of the purchased items that are being refunded. In string with
  • # currency symbol.
  • #
  • # Arguments
  • # currency: Currency in which to display money fields. Defaults
  • # to the currency of the marketplace's home country.
  • requestValueFormatted(currency: String): String
  • # Documentation or photos related to the package received.
  • returnedConsignments: [Image!]! @deprecated( reason: "Attachments should be added via RefundRequestNote.attachments. This field will be removed on 2022-12-15." )
  • # Shipments associated with this refund request.
  • shipments: [ReturnShipment!]!
  • # The status of this refund request.
  • status: RefundRequestStatusEnum!
  • # Total amount to be refunded. Denominated in cents.
  • totalCents: Int
  • # Total amount to be refunded. In string with currency symbol.
  • #
  • # Arguments
  • # currency: Currency in which to display money fields. Defaults
  • # to the currency of the marketplace's home country.
  • totalFormatted(currency: String): String
  • # The timestamp at which this refund request was updated.
  • updatedAt: ISO8601DateTime!
  • }