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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	items: 
	[
		{
			id: 0,
			status: String,
			phoneVerificationNumber: String,
			startDate: 0001-01-01,
			lastPayment: 0001-01-01,
			nextPayment: 0001-01-01,
			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-01,
			cancellationReason: String,
			priorSubscriptionLength: 0,
			termsVersion: String,
			termsAcceptedAt: 0001-01-01
		}
	],
	statusCode: 0,
	message: String
}