POST api/{version}/StudyHubAPI/AffirmCapturePayments

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

AffirmCapturePayment
NameDescriptionTypeAdditional information
GrandTotalAmount

decimal number

None.

AuthRequestId

string

None.

StudentName

string

None.

RequestId

string

None.

Country

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GrandTotalAmount": 1.0,
  "AuthRequestId": "sample string 2",
  "StudentName": "sample string 3",
  "RequestId": "sample string 4",
  "Country": "sample string 5"
}

text/xml

Sample:
<PaymentProcess.AffirmCapturePayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CyberPaymentGateway">
  <AuthRequestId>sample string 2</AuthRequestId>
  <Country>sample string 5</Country>
  <GrandTotalAmount>1</GrandTotalAmount>
  <RequestId>sample string 4</RequestId>
  <StudentName>sample string 3</StudentName>
</PaymentProcess.AffirmCapturePayment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AffirmCapturePayment'.

Response Information

Resource Description

JsonResultOfResponse
NameDescriptionTypeAdditional information
Content

Response

None.

SerializerSettings

JsonSerializerSettings

None.

Encoding

Encoding

None.

Request

HttpRequestMessage

None.

Response Formats

application/json, text/json

Sample:

Sample not available.