TicketUserServices

<back to all web services

RecurringPaymentGetRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin
The following routes are available for this service:
GET/recurringPayments/{Id}
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 RecurringPaymentGetRequest
            Public Overridable Property Id As Integer
        End Class

        Public Partial Class RecurringPaymentGetResult
            Public Overridable Property Item As RecurringPayment
            Public Overridable Property AlreadyExisted As Boolean
            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 RecurringPaymentGetRequest DTOs

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

HTTP + CSV

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

GET /recurringPayments/{Id} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"item":{"id":0,"status":"String","phoneVerificationNumber":"String","deviceId":"String","panLastFour":"String","expYear":"String","expMonth":"String","token":"String","monthlyPrice":0,"subscriptionLength":0,"monthsPaid":0,"chargeFirstMonth":false,"ownerId":0,"ownerCardTypeId":0,"jsonResponse":"String","startDate":"0001-01-01T00:00:00.0000000","lastPayment":"0001-01-01T00:00:00.0000000","nextPayment":"0001-01-01T00:00:00.0000000","paymentTokenId":"String","declinedCounter":0,"transactionFee":0,"termsVersion":"String","termsAcceptedAt":"0001-01-01T00:00:00.0000000","currency":"String","mode":"String","lastDeclineReason":"String","lastDeclineDate":"0001-01-01T00:00:00.0000000","lastDunningStage":0,"lastDunningNotifiedAt":"0001-01-01T00:00:00.0000000"},"alreadyExisted":false,"statusCode":0,"message":"String"}