TicketUserServices

<back to all web services

RecurringPaymentListRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin
The following routes are available for this service:
GET/recurringPayments
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TicketUserServices.ServiceModel
Imports TicketUserServices.ServiceModel.Types.Payouts

Namespace Global

    Namespace TicketUserServices.ServiceModel

        Public Partial Class RecurringPaymentListRequest
            Public Overridable Property OwnerId As Nullable(Of Integer)
            Public Overridable Property Status As String
            Public Overridable Property PhoneVerificationNumber As String
            Public Overridable Property Limit As Nullable(Of Integer)
        End Class

        Public Partial Class RecurringPaymentListResult
            Public Sub New()
                Items = New List(Of RecurringPayment)
            End Sub

            Public Overridable Property Items As List(Of RecurringPayment)
            Public Overridable Property StatusCode As Integer
            Public Overridable Property Message As String
        End Class
    End Namespace

    Namespace TicketUserServices.ServiceModel.Types.Payouts

        Public Partial Class RecurringPayment
            Public Overridable Property Id As Integer
            Public Overridable Property Status As String
            Public Overridable Property PhoneVerificationNumber As String
            Public Overridable Property DeviceId As String
            Public Overridable Property PanLastFour As String
            Public Overridable Property ExpYear As String
            Public Overridable Property ExpMonth As String
            Public Overridable Property Token As String
            Public Overridable Property MonthlyPrice As Integer
            Public Overridable Property SubscriptionLength As Integer
            Public Overridable Property MonthsPaid As Integer
            Public Overridable Property ChargeFirstMonth As Boolean
            <References(GetType(EventOwner))>
            Public Overridable Property OwnerId As Nullable(Of Integer)

            Public Overridable Property OwnerCardTypeId As Nullable(Of Integer)
            <StringLength(Integer.MaxValue)>
            Public Overridable Property JsonResponse As String

            Public Overridable Property StartDate As Nullable(Of Date)
            Public Overridable Property LastPayment As Nullable(Of Date)
            Public Overridable Property NextPayment As Nullable(Of Date)
            Public Overridable Property PaymentTokenId As String
            Public Overridable Property DeclinedCounter As Integer
            Public Overridable Property TransactionFee As Nullable(Of Decimal)
            Public Overridable Property TermsVersion As String
            Public Overridable Property TermsAcceptedAt As Nullable(Of Date)
            Public Overridable Property Currency As String
            Public Overridable Property Mode As String
            Public Overridable Property LastDeclineReason As String
            Public Overridable Property LastDeclineDate As Nullable(Of Date)
            Public Overridable Property LastDunningStage As Byte
            Public Overridable Property LastDunningNotifiedAt As Nullable(Of Date)
        End Class
    End Namespace
End Namespace

VB.NET RecurringPaymentListRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /recurringPayments HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<RecurringPaymentListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types.Payouts">
    <d2p1:RecurringPayment>
      <d2p1:ChargeFirstMonth>false</d2p1:ChargeFirstMonth>
      <d2p1:Currency>String</d2p1:Currency>
      <d2p1:DeclinedCounter>0</d2p1:DeclinedCounter>
      <d2p1:DeviceId>String</d2p1:DeviceId>
      <d2p1:ExpMonth>String</d2p1:ExpMonth>
      <d2p1:ExpYear>String</d2p1:ExpYear>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:JsonResponse>String</d2p1:JsonResponse>
      <d2p1:LastDeclineDate>0001-01-01T00:00:00</d2p1:LastDeclineDate>
      <d2p1:LastDeclineReason>String</d2p1:LastDeclineReason>
      <d2p1:LastDunningNotifiedAt>0001-01-01T00:00:00</d2p1:LastDunningNotifiedAt>
      <d2p1:LastDunningStage>0</d2p1:LastDunningStage>
      <d2p1:LastPayment>0001-01-01T00:00:00</d2p1:LastPayment>
      <d2p1:Mode>String</d2p1:Mode>
      <d2p1:MonthlyPrice>0</d2p1:MonthlyPrice>
      <d2p1:MonthsPaid>0</d2p1:MonthsPaid>
      <d2p1:NextPayment>0001-01-01T00:00:00</d2p1:NextPayment>
      <d2p1:OwnerCardTypeId>0</d2p1:OwnerCardTypeId>
      <d2p1:OwnerId>0</d2p1:OwnerId>
      <d2p1:PanLastFour>String</d2p1:PanLastFour>
      <d2p1:PaymentTokenId>String</d2p1:PaymentTokenId>
      <d2p1:PhoneVerificationNumber>String</d2p1:PhoneVerificationNumber>
      <d2p1:StartDate>0001-01-01T00:00:00</d2p1:StartDate>
      <d2p1:Status>String</d2p1:Status>
      <d2p1:SubscriptionLength>0</d2p1:SubscriptionLength>
      <d2p1:TermsAcceptedAt>0001-01-01T00:00:00</d2p1:TermsAcceptedAt>
      <d2p1:TermsVersion>String</d2p1:TermsVersion>
      <d2p1:Token>String</d2p1:Token>
      <d2p1:TransactionFee>0</d2p1:TransactionFee>
    </d2p1:RecurringPayment>
  </Items>
  <Message>String</Message>
  <StatusCode>0</StatusCode>
</RecurringPaymentListResult>