POST api/bhspay

Request Information

URI Parameters

None.

Body Parameters

PaymentRequestResponse
NameDescriptionTypeAdditional information
reference_number

string

None.

response_code

string

None.

message

string

None.

transaction_amount

string

None.

transaction_date

string

None.

transaction_id

string

None.

isSetteled

string

None.

SettlementDate

string

None.

branchId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "reference_number": "sample string 1",
  "response_code": "sample string 2",
  "message": "sample string 3",
  "transaction_amount": "sample string 4",
  "transaction_date": "sample string 5",
  "transaction_id": "sample string 6",
  "isSetteled": "sample string 7",
  "SettlementDate": "sample string 8",
  "branchId": "sample string 9"
}

application/xml, text/xml

Sample:
<PaymentRequestResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/payit.Controllers">
  <SettlementDate>sample string 8</SettlementDate>
  <branchId>sample string 9</branchId>
  <isSetteled>sample string 7</isSetteled>
  <message>sample string 3</message>
  <reference_number>sample string 1</reference_number>
  <response_code>sample string 2</response_code>
  <transaction_amount>sample string 4</transaction_amount>
  <transaction_date>sample string 5</transaction_date>
  <transaction_id>sample string 6</transaction_id>
</PaymentRequestResponse>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.