POST api/Transaction/BillFetch

Request Information

URI Parameters

None.

Body Parameters

BillFetchRequest
NameDescriptionTypeAdditional information
customerName

string

None.

customerMobile

string

None.

customerEmail

string

None.

billerId

string

None.

orderNumber

string

None.

customerParams

Collection of CustomerParam

None.

Request Formats

application/json, text/json

Sample:
{
  "customerName": "sample string 1",
  "customerMobile": "sample string 2",
  "customerEmail": "sample string 3",
  "billerId": "sample string 4",
  "orderNumber": "sample string 5",
  "customerParams": [
    {
      "name": "sample string 1",
      "value": "sample string 2"
    },
    {
      "name": "sample string 1",
      "value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<BillFetchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewBBPSThirdPartyApi.Class">
  <billerId>sample string 4</billerId>
  <customerEmail>sample string 3</customerEmail>
  <customerMobile>sample string 2</customerMobile>
  <customerName>sample string 1</customerName>
  <customerParams>
    <CustomerParam>
      <name>sample string 1</name>
      <value>sample string 2</value>
    </CustomerParam>
    <CustomerParam>
      <name>sample string 1</name>
      <value>sample string 2</value>
    </CustomerParam>
  </customerParams>
  <orderNumber>sample string 5</orderNumber>
</BillFetchRequest>

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

Response Information

Resource Description

BillerList
NameDescriptionTypeAdditional information
Response

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": [
    {},
    {}
  ]
}

application/xml, text/xml

Sample:
<BillerList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewBBPSThirdPartyApi.Class">
  <Response xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </Response>
</BillerList>