Required permission: | CreatePayments |
POST | /Finance/PayMyTuition |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class FinancePayMyTuitionRequest
{
var payload:ArrayList<FinancePayMyTuitionPayloadRequest> = ArrayList<FinancePayMyTuitionPayloadRequest>()
var stamp:String? = null
var hash:String? = null
}
open class FinancePayMyTuitionPayloadRequest
{
var studentGuid:String? = null
var academicPeriodGUID:String? = null
var paymentType:String? = null
var paidOn:String? = null
var comments:String? = null
var amount:String? = null
var currency:String? = null
var id:String? = null
var studentResidenceType:String? = null
}
open class FinancePayStudentAccountByCardResponse
{
var responseStatus:ResponseStatus? = null
var success:Boolean? = null
}
Kotlin FinancePayMyTuitionRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Finance/PayMyTuition HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"payload":[{"studentGuid":"String","academicPeriodGUID":"String","paymentType":"String","paidOn":"String","comments":"String","amount":"String","currency":"String","id":"String","studentResidenceType":"String"}],"stamp":"String","hash":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"success":false}