POST api/v1/nationalidcard/nidcollection/post-payment-in-branch

Request Information

URI Parameters

None.

Body Parameters

NIDCollectionPaymentRequestDto
NameDescriptionTypeAdditional information
PayerName

string

None.

msisdn

string

None.

TellerNumber

string

None.

PayerEmail

string

None.

SourceAccountNumber

string

None.

InitiatingBranchCode

string

None.

Amount

decimal number

None.

RequestId

string

Required

Matching regular expression pattern: (^(?=.{4,50}$)([ A-Za-z0-9.|/-]+$))

CountryId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PayerName": "sample string 1",
  "msisdn": "sample string 2",
  "TellerNumber": "sample string 3",
  "PayerEmail": "sample string 4",
  "SourceAccountNumber": "sample string 5",
  "InitiatingBranchCode": "sample string 6",
  "Amount": 7.1,
  "RequestId": "sample string 8",
  "CountryId": "sample string 9"
}

application/xml, text/xml

Sample:
<NIDCollectionPaymentRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FirstBank.SingleBiller.CoreObject.Models">
  <CountryId xmlns="http://schemas.datacontract.org/2004/07/FirstBank.SingleBiller.CoreObject.DataTransferObjects">sample string 9</CountryId>
  <RequestId xmlns="http://schemas.datacontract.org/2004/07/FirstBank.SingleBiller.CoreObject.DataTransferObjects">sample string 8</RequestId>
  <Amount>7.1</Amount>
  <InitiatingBranchCode>sample string 6</InitiatingBranchCode>
  <PayerEmail>sample string 4</PayerEmail>
  <PayerName>sample string 1</PayerName>
  <SourceAccountNumber>sample string 5</SourceAccountNumber>
  <TellerNumber>sample string 3</TellerNumber>
  <msisdn>sample string 2</msisdn>
</NIDCollectionPaymentRequestDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.