TicketUserServices

<back to all web services

MyRecurringPaymentsRequest

Requires Authentication
The following routes are available for this service:
GET/recurringPayments/mine
import java.math.*
import java.util.*
import net.servicestack.client.*


open class MyRecurringPaymentsRequest
{
    var phone:String? = null
}

open class MyRecurringPaymentsResult
{
    var items:ArrayList<RecurringSubscriptionView> = ArrayList<RecurringSubscriptionView>()
    var statusCode:Int? = null
    var message:String? = null
}

open class RecurringSubscriptionView
{
    var id:Int? = null
    var status:String? = null
    var phoneVerificationNumber:String? = null
    var startDate:Date? = null
    var lastPayment:Date? = null
    var nextPayment:Date? = null
    var ownerId:Int? = null
    var ownerCardTypeId:Int? = null
    var declinedCounter:Int? = null
    var subscriptionLength:Int? = null
    var monthsPaid:Int? = null
    var monthlyPrice:Int? = null
    var transactionFee:BigDecimal? = null
    var paymentTokenId:String? = null
    var panLastFour:String? = null
    var expMonth:String? = null
    var expYear:String? = null
    var mode:String? = null
    var cardId:Int? = null
    var initialPaymentDate:String? = null
    var initialPaymentAmount:String? = null
    var initialPaymentCurrency:String? = null
    var initialPaymentStatus:String? = null
    var cancelledAt:Date? = null
    var cancellationReason:String? = null
    var priorSubscriptionLength:Int? = null
    var termsVersion:String? = null
    var termsAcceptedAt:Date? = null
}

Kotlin MyRecurringPaymentsRequest 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/mine HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"items":[{"id":0,"status":"String","phoneVerificationNumber":"String","startDate":"0001-01-01T00:00:00.0000000","lastPayment":"0001-01-01T00:00:00.0000000","nextPayment":"0001-01-01T00:00:00.0000000","ownerId":0,"ownerCardTypeId":0,"declinedCounter":0,"subscriptionLength":0,"monthsPaid":0,"monthlyPrice":0,"transactionFee":0,"paymentTokenId":"String","panLastFour":"String","expMonth":"String","expYear":"String","mode":"String","cardId":0,"initialPaymentDate":"String","initialPaymentAmount":"String","initialPaymentCurrency":"String","initialPaymentStatus":"String","cancelledAt":"0001-01-01T00:00:00.0000000","cancellationReason":"String","priorSubscriptionLength":0,"termsVersion":"String","termsAcceptedAt":"0001-01-01T00:00:00.0000000"}],"statusCode":0,"message":"String"}