| Requires any of the roles: | Admin, TeamAdmin | Required permission: | ReadData |
| GET | /donations/payout/{MarkPaidReference} |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class DonationPayoutByReferenceRequest
{
var markPaidReference:String? = null
}
open class DonationPayoutBatchResult
{
var rows:ArrayList<DonationPayoutRow> = ArrayList<DonationPayoutRow>()
var count:Int? = null
var donationAmount:Long? = null
var payoutAmount:BigDecimal? = null
var payoutAmountIsk:Long? = null
var alreadyPaidCount:Int? = null
var replayed:Boolean? = null
var markPaidReference:String? = null
var ownerId:Int? = null
var statusCode:Int? = null
var message:String? = null
}
open class DonationPayoutRow
{
var id:Int? = null
var donationId:Int? = null
var ownerId:Int? = null
var ownerCardId:Int? = null
var paymentMethodId:String? = null
var paymentReference:String? = null
var amount:BigDecimal? = null
var txnPercent:BigDecimal? = null
var payoutAmount:BigDecimal? = null
var markPaidReference:String? = null
var source:String? = null
var note:String? = null
var createdUTC:Date? = null
var createdBy:String? = null
var donationPaidUTC:Date? = null
}
Kotlin DonationPayoutByReferenceRequest 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 /donations/payout/{MarkPaidReference} HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"rows":[{"id":0,"donationId":0,"ownerId":0,"ownerCardId":0,"paymentMethodId":"String","paymentReference":"String","amount":0,"txnPercent":0,"payoutAmount":0,"markPaidReference":"String","source":"String","note":"String","createdUTC":"0001-01-01T00:00:00.0000000","createdBy":"String","donationPaidUTC":"0001-01-01T00:00:00.0000000"}],"count":0,"donationAmount":0,"payoutAmount":0,"payoutAmountIsk":0,"alreadyPaidCount":0,"replayed":false,"markPaidReference":"String","ownerId":0,"statusCode":0,"message":"String"}