PaymentListRequest

public struct PaymentListRequest : Codable
  • If you are providing our Payment service to your own business clients (merchants), then you should set the Id of your merchant.

    Declaration

    Swift

    public let merchantID: String?
  • The Id of the end-user. If you are providing this service directly to the end-users, then you can assign that Id to this parameter. If you are providing this service to businesses, then you should assign the Id of that merchant’s user.

    Declaration

    Swift

    public let merchantUserID: String?
  • Filter results that has been created after the startDate in ISO 8601 format.

    Declaration

    Swift

    public let startDate: Date?
  • Filter results that has been created before the endDate in ISO 8601 format.

    Declaration

    Swift

    public let endDate: Date?
  • Filter results by paymentType.

    Note

    Enum: “Auto” “Domestic” “DomesticScheduled” “International” “InternationalScheduled”

    Declaration

    Swift

    public let paymentType: PaymentType?
  • Paging number for query results exceeding result count limit for a single response.

    Note

    Default: 1

    Declaration

    Swift

    public let page: Int?
  • Declaration

    Swift

    public init(merchantID: String?,
                merchantUserID: String?,
                startDate: Date?,
                endDate: Date?,
                paymentType: PaymentType?,
                page: Int?)