POST api/v1/ghanagov/pay-invoice-without-cheque-from-merchant

Request Information

URI Parameters

None.

Body Parameters

GhanaGovPayInvoiceWithoutChequeRequest
NameDescriptionTypeAdditional information
PaymentReference

string

None.

collection_agent_branch_code

string

None.

SourceAccountNumber

string

None.

ClientReferenceId

string

None.

invoice_number

string

None.

currency

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:
{
  "PaymentReference": "sample string 1",
  "collection_agent_branch_code": "sample string 2",
  "SourceAccountNumber": "sample string 3",
  "ClientReferenceId": "sample string 4",
  "invoice_number": "sample string 5",
  "currency": "sample string 6",
  "amount": 7.0,
  "RequestId": "sample string 8",
  "CountryId": "sample string 9"
}

application/xml, text/xml

Sample:
<GhanaGovPayInvoiceWithoutChequeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FirstBank.SingleBiller.CoreObject.DataTransferObjects">
  <CountryId>sample string 9</CountryId>
  <RequestId>sample string 8</RequestId>
  <ClientReferenceId>sample string 4</ClientReferenceId>
  <SourceAccountNumber>sample string 3</SourceAccountNumber>
  <amount>7</amount>
  <currency>sample string 6</currency>
  <invoice_number>sample string 5</invoice_number>
  <PaymentReference>sample string 1</PaymentReference>
  <collection_agent_branch_code>sample string 2</collection_agent_branch_code>
</GhanaGovPayInvoiceWithoutChequeRequest>

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.