POST api/v1/9psb/token

Request Information

URI Parameters

None.

Body Parameters

Finance_9PSBPaymentRequestVM
NameDescriptionTypeAdditional information
code

string

None.

message

string

None.

transaction

Transaction

None.

order

Order

None.

customer

Customer

None.

StudentId

integer

None.

PaymentEvidenceId

integer

None.

request

string

None.

amount

decimal number

None.

number

string

None.

reference

string

None.

studentReferenece

string

None.

paymentType

string

None.

validTime

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "message": "sample string 2",
  "transaction": {
    "reference": "sample string 1",
    "sessionid": "sample string 2"
  },
  "order": {
    "amount": 1.0,
    "currency": "sample string 2",
    "description": "sample string 3",
    "country": "sample string 4",
    "amounttype": "sample string 5"
  },
  "customer": {
    "account": {
      "name": "sample string 1",
      "type": "sample string 2",
      "expiry": {
        "hours": 1.0
      },
      "number": "sample string 3",
      "bank": "sample string 4"
    }
  },
  "StudentId": 1,
  "PaymentEvidenceId": 1,
  "request": "sample string 3",
  "amount": 1.0,
  "number": "sample string 4",
  "reference": "sample string 5",
  "studentReferenece": "sample string 6",
  "paymentType": "sample string 7",
  "validTime": 1.0
}

application/xml, text/xml

Sample:
<Finance_9PSBPaymentRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.Finance">
  <PaymentEvidenceId>1</PaymentEvidenceId>
  <StudentId>1</StudentId>
  <amount>1</amount>
  <code>sample string 1</code>
  <customer>
    <account>
      <bank>sample string 4</bank>
      <expiry>
        <hours>1</hours>
      </expiry>
      <name>sample string 1</name>
      <number>sample string 3</number>
      <type>sample string 2</type>
    </account>
  </customer>
  <message>sample string 2</message>
  <number>sample string 4</number>
  <order>
    <amount>1</amount>
    <amounttype>sample string 5</amounttype>
    <country>sample string 4</country>
    <currency>sample string 2</currency>
    <description>sample string 3</description>
  </order>
  <paymentType>sample string 7</paymentType>
  <reference>sample string 5</reference>
  <request>sample string 3</request>
  <studentReferenece>sample string 6</studentReferenece>
  <transaction>
    <reference>sample string 1</reference>
    <sessionid>sample string 2</sessionid>
  </transaction>
  <validTime>1</validTime>
</Finance_9PSBPaymentRequestVM>

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 'Finance_9PSBPaymentRequestVM'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.