POST api/CollectionLive/SubmitPosting

Request Information

URI Parameters

None.

Body Parameters

CollectionRequest
NameDescriptionTypeAdditional information
Poster

string

None.

PostingDescription

string

None.

Payee

string

None.

PayeeContact

string

None.

Amount

decimal number

None.

PaymentOption

string

None.

ChequeNumber

string

None.

DeclarationCode

string

None.

ReferenceNumber

string

None.

CollectingAccount

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Poster": "sample string 1",
  "PostingDescription": "sample string 2",
  "Payee": "sample string 3",
  "PayeeContact": "sample string 4",
  "Amount": 5.0,
  "PaymentOption": "sample string 6",
  "ChequeNumber": "sample string 7",
  "DeclarationCode": "sample string 8",
  "ReferenceNumber": "sample string 9",
  "CollectingAccount": "sample string 10"
}

application/xml, text/xml

Sample:
<CollectionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EPaymentServices.Models">
  <Amount>5</Amount>
  <ChequeNumber>sample string 7</ChequeNumber>
  <CollectingAccount>sample string 10</CollectingAccount>
  <DeclarationCode>sample string 8</DeclarationCode>
  <Payee>sample string 3</Payee>
  <PayeeContact>sample string 4</PayeeContact>
  <PaymentOption>sample string 6</PaymentOption>
  <Poster>sample string 1</Poster>
  <PostingDescription>sample string 2</PostingDescription>
  <ReferenceNumber>sample string 9</ReferenceNumber>
</CollectionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CollectionResponse
NameDescriptionTypeAdditional information
ResponseCode

string

None.

ResponseStatus

string

None.

ResponseMessage

string

None.

CollectionID

integer

None.

ReceiptURL

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": "sample string 1",
  "ResponseStatus": "sample string 2",
  "ResponseMessage": "sample string 3",
  "CollectionID": 4,
  "ReceiptURL": "sample string 5"
}

application/xml, text/xml

Sample:
<CollectionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EPaymentServices.Models">
  <CollectionID>4</CollectionID>
  <ReceiptURL>sample string 5</ReceiptURL>
  <ResponseCode>sample string 1</ResponseCode>
  <ResponseMessage>sample string 3</ResponseMessage>
  <ResponseStatus>sample string 2</ResponseStatus>
</CollectionResponse>