OpenPayRefundRequest

public protocol OpenPayRefundRequest

The JSON request structure of the Openpay Refunds endpoint.

  • A merchant application specific reference number.

    This number should uniquely identify the transaction in the merchant’s system.

    Declaration

    Swift

    var clientReference: String { get }
  • The merchant order number of the transaction.

    Declaration

    Swift

    var orderNumber: String? { get }
  • The merchants transaction date and time. The timestamp format is ISO8601.

    Declaration

    Swift

    var merchantTransactedAt: String? { get }
  • List of refunds

    Declaration

    Swift

    var refunds: [OpenPayRefund] { get }
  • Undocumented

    Declaration

    Swift

    var storeData: StoreData? { get }