TicketUserServices

<back to all web services

RecurringPaymentGetRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin
The following routes are available for this service:
GET/recurringPayments/{Id}

export class RecurringPayment
{
    public id?: number;
    public status?: string;
    public phoneVerificationNumber?: string;
    public deviceId?: string;
    public panLastFour?: string;
    public expYear?: string;
    public expMonth?: string;
    public token?: string;
    public monthlyPrice?: number;
    public subscriptionLength?: number;
    public monthsPaid?: number;
    public chargeFirstMonth?: boolean;
    // @References("typeof(TicketUserServices.ServiceModel.Types.EventOwner)")
    public ownerId?: number;

    public ownerCardTypeId?: number;
    // @StringLength(2147483647)
    public jsonResponse?: string;

    public startDate?: string;
    public lastPayment?: string;
    public nextPayment?: string;
    public paymentTokenId?: string;
    public declinedCounter?: number;
    public transactionFee?: number;
    public termsVersion?: string;
    public termsAcceptedAt?: string;
    public currency?: string;
    public mode?: string;
    public lastDeclineReason?: string;
    public lastDeclineDate?: string;
    public lastDunningStage?: number;
    public lastDunningNotifiedAt?: string;

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

export class RecurringPaymentGetResult
{
    public item?: RecurringPayment;
    public alreadyExisted?: boolean;
    public statusCode?: number;
    public message?: string;

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

export class RecurringPaymentGetRequest
{
    public id?: number;

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

TypeScript RecurringPaymentGetRequest 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/{Id} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"item":{"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-01T00:00:00.0000000","lastPayment":"0001-01-01T00:00:00.0000000","nextPayment":"0001-01-01T00:00:00.0000000","paymentTokenId":"String","declinedCounter":0,"transactionFee":0,"termsVersion":"String","termsAcceptedAt":"0001-01-01T00:00:00.0000000","currency":"String","mode":"String","lastDeclineReason":"String","lastDeclineDate":"0001-01-01T00:00:00.0000000","lastDunningStage":0,"lastDunningNotifiedAt":"0001-01-01T00:00:00.0000000"},"alreadyExisted":false,"statusCode":0,"message":"String"}