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
import java.math.*
import java.util.*
import net.servicestack.client.*


open class RecurringPaymentListRequest
{
    var ownerId:Int? = null
    var status:String? = null
    var phoneVerificationNumber:String? = null
    var limit:Int? = null
}

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

open class RecurringPayment
{
    var id:Int? = null
    var status:String? = null
    var phoneVerificationNumber:String? = null
    var deviceId:String? = null
    var panLastFour:String? = null
    var expYear:String? = null
    var expMonth:String? = null
    var token:String? = null
    var monthlyPrice:Int? = null
    var subscriptionLength:Int? = null
    var monthsPaid:Int? = null
    var chargeFirstMonth:Boolean? = null
    @References(EventOwner.class)
    var ownerId:Int? = null

    var ownerCardTypeId:Int? = null
    @StringLength(2147483647)
    var jsonResponse:String? = null

    var startDate:Date? = null
    var lastPayment:Date? = null
    var nextPayment:Date? = null
    var paymentTokenId:String? = null
    var declinedCounter:Int? = null
    var transactionFee:BigDecimal? = null
    var termsVersion:String? = null
    var termsAcceptedAt:Date? = null
    var currency:String? = null
    var mode:String? = null
    var lastDeclineReason:String? = null
    var lastDeclineDate:Date? = null
    var lastDunningStage:Short? = null
    var lastDunningNotifiedAt:Date? = null
}

Kotlin RecurringPaymentListRequest 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 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,
			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-01,
			lastPayment: 0001-01-01,
			nextPayment: 0001-01-01,
			paymentTokenId: String,
			declinedCounter: 0,
			transactionFee: 0,
			termsVersion: String,
			termsAcceptedAt: 0001-01-01,
			currency: String,
			mode: String,
			lastDeclineReason: String,
			lastDeclineDate: 0001-01-01,
			lastDunningStage: 0,
			lastDunningNotifiedAt: 0001-01-01
		}
	],
	statusCode: 0,
	message: String
}