POST api/Proxy/PostPayment
Request Information
URI Parameters
None.
Body Parameters
PaymentInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| transactionRef | string |
None. |
|
| accountNumber | string |
None. |
|
| customerName | string |
None. |
|
| meterNumber | string |
None. |
|
| amount | integer |
None. |
|
| phoneNumber | string |
None. |
|
| customerDistrict | string |
None. |
|
| paymentType | string |
None. |
|
| paymentPlan | string |
None. |
|
| tariffCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"transactionRef": "sample string 1",
"accountNumber": "sample string 2",
"customerName": "sample string 3",
"meterNumber": "sample string 4",
"amount": 5,
"phoneNumber": "sample string 6",
"customerDistrict": "sample string 7",
"paymentType": "sample string 8",
"paymentPlan": "sample string 9",
"tariffCode": "sample string 10"
}
application/xml, text/xml
Sample:
<PaymentInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EEDC_Service_API.Models"> <accountNumber>sample string 2</accountNumber> <amount>5</amount> <customerDistrict>sample string 7</customerDistrict> <customerName>sample string 3</customerName> <meterNumber>sample string 4</meterNumber> <paymentPlan>sample string 9</paymentPlan> <paymentType>sample string 8</paymentType> <phoneNumber>sample string 6</phoneNumber> <tariffCode>sample string 10</tariffCode> <transactionRef>sample string 1</transactionRef> </PaymentInputModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PaymentResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| appliedToArrears | string |
None. |
|
| wallet | string |
None. |
|
| meterNumber | string |
None. |
|
| vat | string |
None. |
|
| transactionRef | string |
None. |
|
| units | string |
None. |
|
| accountNumber | string |
None. |
|
| vendorName | string |
None. |
|
| customerName | string |
None. |
|
| transactionId | string |
None. |
|
| token | string |
None. |
|
| responseCode | string |
None. |
|
| arrearsBalance | string |
None. |
|
| amountPaid | string |
None. |
|
| appliedToWallet | string |
None. |
|
| vendorLimitBalance | string |
None. |
|
| responseMessage | string |
None. |
|
| accountType | string |
None. |
|
| tariffName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"appliedToArrears": "sample string 1",
"wallet": "sample string 2",
"meterNumber": "sample string 3",
"vat": "sample string 4",
"transactionRef": "sample string 5",
"units": "sample string 6",
"accountNumber": "sample string 7",
"vendorName": "sample string 8",
"customerName": "sample string 9",
"transactionId": "sample string 10",
"token": "sample string 11",
"responseCode": "sample string 12",
"arrearsBalance": "sample string 13",
"amountPaid": "sample string 14",
"appliedToWallet": "sample string 15",
"vendorLimitBalance": "sample string 16",
"responseMessage": "sample string 17",
"accountType": "sample string 18",
"tariffName": "sample string 19"
}
application/xml, text/xml
Sample:
<PaymentResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EEDC_Service_API.Models"> <accountNumber>sample string 7</accountNumber> <accountType>sample string 18</accountType> <amountPaid>sample string 14</amountPaid> <appliedToArrears>sample string 1</appliedToArrears> <appliedToWallet>sample string 15</appliedToWallet> <arrearsBalance>sample string 13</arrearsBalance> <customerName>sample string 9</customerName> <meterNumber>sample string 3</meterNumber> <responseCode>sample string 12</responseCode> <responseMessage>sample string 17</responseMessage> <tariffName>sample string 19</tariffName> <token>sample string 11</token> <transactionId>sample string 10</transactionId> <transactionRef>sample string 5</transactionRef> <units>sample string 6</units> <vat>sample string 4</vat> <vendorLimitBalance>sample string 16</vendorLimitBalance> <vendorName>sample string 8</vendorName> <wallet>sample string 2</wallet> </PaymentResponseModel>