| GET | /recurringPayments/mine |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Phone | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Items | form | List<RecurringSubscriptionView> | No | |
| StatusCode | form | int | No | |
| Message | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Status | form | string | No | |
| PhoneVerificationNumber | form | string | No | |
| StartDate | form | DateTime? | No | |
| LastPayment | form | DateTime? | No | |
| NextPayment | form | DateTime? | No | |
| OwnerId | form | int? | No | |
| OwnerCardTypeId | form | int? | No | |
| DeclinedCounter | form | int | No | |
| SubscriptionLength | form | int | No | |
| MonthsPaid | form | int | No | |
| MonthlyPrice | form | int | No | |
| TransactionFee | form | decimal? | No | |
| PaymentTokenId | form | string | No | |
| PanLastFour | form | string | No | |
| ExpMonth | form | string | No | |
| ExpYear | form | string | No | |
| Mode | form | string | No | |
| CardId | form | int? | No | |
| InitialPaymentDate | form | string | No | |
| InitialPaymentAmount | form | string | No | |
| InitialPaymentCurrency | form | string | No | |
| InitialPaymentStatus | form | string | No | |
| CancelledAt | form | DateTime? | No | |
| CancellationReason | form | string | No | |
| PriorSubscriptionLength | form | int? | No | |
| TermsVersion | form | string | No | |
| TermsAcceptedAt | form | DateTime? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}