| Requires any of the roles: | Admin, TeamAdmin |
| GET | /recurringPayments/{Id} |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class RecurringPaymentGetRequest
{
var id:Int? = null
}
open class RecurringPaymentGetResult
{
var item:RecurringPayment? = null
var alreadyExisted:Boolean? = null
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 RecurringPaymentGetRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}