| 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 .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<MyRecurringPaymentsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Items>
<RecurringSubscriptionView>
<CancellationReason>String</CancellationReason>
<CancelledAt>0001-01-01T00:00:00</CancelledAt>
<CardId>0</CardId>
<DeclinedCounter>0</DeclinedCounter>
<ExpMonth>String</ExpMonth>
<ExpYear>String</ExpYear>
<Id>0</Id>
<InitialPaymentAmount>String</InitialPaymentAmount>
<InitialPaymentCurrency>String</InitialPaymentCurrency>
<InitialPaymentDate>String</InitialPaymentDate>
<InitialPaymentStatus>String</InitialPaymentStatus>
<LastPayment>0001-01-01T00:00:00</LastPayment>
<Mode>String</Mode>
<MonthlyPrice>0</MonthlyPrice>
<MonthsPaid>0</MonthsPaid>
<NextPayment>0001-01-01T00:00:00</NextPayment>
<OwnerCardTypeId>0</OwnerCardTypeId>
<OwnerId>0</OwnerId>
<PanLastFour>String</PanLastFour>
<PaymentTokenId>String</PaymentTokenId>
<PhoneVerificationNumber>String</PhoneVerificationNumber>
<PriorSubscriptionLength>0</PriorSubscriptionLength>
<StartDate>0001-01-01T00:00:00</StartDate>
<Status>String</Status>
<SubscriptionLength>0</SubscriptionLength>
<TermsAcceptedAt>0001-01-01T00:00:00</TermsAcceptedAt>
<TermsVersion>String</TermsVersion>
<TransactionFee>0</TransactionFee>
</RecurringSubscriptionView>
</Items>
<Message>String</Message>
<StatusCode>0</StatusCode>
</MyRecurringPaymentsResult>