TicketUserServices

<back to all web services

MyRecurringPaymentsRequest

Requires Authentication
The following routes are available for this service:
GET/recurringPayments/mine

export class RecurringSubscriptionView
{
    public id?: number;
    public status?: string;
    public phoneVerificationNumber?: string;
    public startDate?: string;
    public lastPayment?: string;
    public nextPayment?: string;
    public ownerId?: number;
    public ownerCardTypeId?: number;
    public declinedCounter?: number;
    public subscriptionLength?: number;
    public monthsPaid?: number;
    public monthlyPrice?: number;
    public transactionFee?: number;
    public paymentTokenId?: string;
    public panLastFour?: string;
    public expMonth?: string;
    public expYear?: string;
    public mode?: string;
    public cardId?: number;
    public initialPaymentDate?: string;
    public initialPaymentAmount?: string;
    public initialPaymentCurrency?: string;
    public initialPaymentStatus?: string;
    public cancelledAt?: string;
    public cancellationReason?: string;
    public priorSubscriptionLength?: number;
    public termsVersion?: string;
    public termsAcceptedAt?: string;

    public constructor(init?: Partial<RecurringSubscriptionView>) { (Object as any).assign(this, init); }
}

export class MyRecurringPaymentsResult
{
    public items?: RecurringSubscriptionView[];
    public statusCode?: number;
    public message?: string;

    public constructor(init?: Partial<MyRecurringPaymentsResult>) { (Object as any).assign(this, init); }
}

export class MyRecurringPaymentsRequest
{
    public phone?: string;

    public constructor(init?: Partial<MyRecurringPaymentsRequest>) { (Object as any).assign(this, init); }
}

TypeScript MyRecurringPaymentsRequest DTOs

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

HTTP + 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>