POST api/PostTransaction
Request Information
URI Parameters
None.
Body Parameters
Transactions| Name | Description | Type | Additional information |
|---|---|---|---|
| MerchantCode | string |
None. |
|
| AssessmentRefNo | string |
None. |
|
| AmountPaid | decimal number |
None. |
|
| Narration | string |
None. |
|
| PaymentProvider | string |
None. |
|
| PaymentChannel | string |
None. |
|
| PaymentRefNo | string |
None. |
|
| AgentUtin | string |
None. |
|
| TaxYear | string |
None. |
|
| AssessmentBalance | decimal number |
None. |
|
| TransactionDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"merchantCode": "sample string 1",
"assessmentRefNo": "sample string 2",
"amountPaid": 3.0,
"narration": "sample string 4",
"paymentProvider": "sample string 5",
"paymentChannel": "sample string 6",
"paymentRefNo": "sample string 7",
"agentUtin": "sample string 8",
"taxYear": "sample string 9",
"assessmentBalance": 10.0,
"transactionDate": "2026-04-19T13:40:24.2268868+01:00"
}
application/xml, text/xml
Sample:
<Transactions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AssesmentsAPI.Models"> <AgentUtin>sample string 8</AgentUtin> <AmountPaid>3</AmountPaid> <AssessmentBalance>10</AssessmentBalance> <AssessmentRefNo>sample string 2</AssessmentRefNo> <MerchantCode>sample string 1</MerchantCode> <Narration>sample string 4</Narration> <PaymentChannel>sample string 6</PaymentChannel> <PaymentProvider>sample string 5</PaymentProvider> <PaymentRefNo>sample string 7</PaymentRefNo> <TaxYear>sample string 9</TaxYear> <TransactionDate>2026-04-19T13:40:24.2268868+01:00</TransactionDate> </Transactions>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.