POST Billing/PayBill

Request Information

URI Parameters

None.

Body Parameters

OrdersAddNewRequest
NameDescriptionTypeAdditional information
AccountID

integer

None.

PartnerCode

string

None.

PartnerRefID

string

None.

BillCode

string

None.

ServiceID

integer

None.

ServiceCode

string

None.

ServiceName

string

None.

ProviderID

integer

None.

TransFee

integer

None.

Amount

integer

None.

supplierFee

integer

None.

RefenceCode

string

None.

OrderID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountID": 1,
  "PartnerCode": "sample string 2",
  "PartnerRefID": "sample string 3",
  "BillCode": "sample string 4",
  "ServiceID": 5,
  "ServiceCode": "sample string 6",
  "ServiceName": "sample string 7",
  "ProviderID": 8,
  "TransFee": 9,
  "Amount": 10,
  "supplierFee": 11,
  "RefenceCode": "sample string 12",
  "OrderID": "sample string 13"
}

application/xml, text/xml

Sample:
<OrdersAddNewRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pis.Apay.Mobile.Api.Models">
  <AccountID>1</AccountID>
  <Amount>10</Amount>
  <BillCode>sample string 4</BillCode>
  <OrderID>sample string 13</OrderID>
  <PartnerCode>sample string 2</PartnerCode>
  <PartnerRefID>sample string 3</PartnerRefID>
  <ProviderID>8</ProviderID>
  <RefenceCode>sample string 12</RefenceCode>
  <ServiceCode>sample string 6</ServiceCode>
  <ServiceID>5</ServiceID>
  <ServiceName>sample string 7</ServiceName>
  <TransFee>9</TransFee>
  <supplierFee>11</supplierFee>
</OrdersAddNewRequest>

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

Response Information

Resource Description

ResponseObject
NameDescriptionTypeAdditional information
Code

string

None.

ListValue

Collection of Object

None.

Message

string

None.

Time

string

None.

Value

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "ListValue": [
    {},
    {}
  ],
  "Message": "sample string 2",
  "Time": "sample string 3",
  "Value": {}
}

application/xml, text/xml

Sample:
<ResponseObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pis.Admin.Lib">
  <Code>sample string 1</Code>
  <ListValue xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </ListValue>
  <Message>sample string 2</Message>
  <Time>sample string 3</Time>
  <Value />
</ResponseObject>