POST Ussd/PaymentUpdate
Request Information
URI Parameters
None.
Body Parameters
PaymentUpdateRequestName | Description | Type | Additional information |
---|---|---|---|
ServiceUsername | string |
Required |
|
ServicePassword | string |
Required |
|
ReferenceID | string |
Required |
|
TotalAmount | decimal number |
Required |
|
TransReference | string |
Required |
|
Currency | integer |
None. |
|
Hash | string |
None. |
|
OtherDetails | OtherDetails |
None. |
Request Formats
application/json, text/json
Sample:
{ "TotalAmount": 4, "Currency": 6, "OtherDetails": { "Class": 2, "EmailAddress": "sample string 6", "MobileNumber": "sample string 5", "ProductCode": "sample string 4", "FullName": "sample string 3", "MembershipNumber": "sample string 1" }, "Hash": "sample string 7", "TransReference": "sample string 5", "ReferenceID": "sample string 3", "ServicePassword": "sample string 2", "ServiceUsername": "sample string 1" }
application/xml, text/xml
Sample:
<PaymentUpdateRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ServiceUsername>sample string 1</ServiceUsername> <ServicePassword>sample string 2</ServicePassword> <ReferenceID>sample string 3</ReferenceID> <TotalAmount>4</TotalAmount> <TransReference>sample string 5</TransReference> <Currency>6</Currency> <Hash>sample string 7</Hash> <OtherDetails> <MembershipNumber>sample string 1</MembershipNumber> <Class>2</Class> <FullName>sample string 3</FullName> <ProductCode>sample string 4</ProductCode> <MobileNumber>sample string 5</MobileNumber> <EmailAddress>sample string 6</EmailAddress> </OtherDetails> </PaymentUpdateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentUpdateResponseName | Description | Type | Additional information |
---|---|---|---|
ResponseCode | integer |
None. |
|
ResponseDesc | string |
None. |
|
ReferenceID | string |
None. |
|
TransReference | string |
None. |
|
Hash | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResponseCode": 1, "Hash": "sample string 5", "TransReference": "sample string 4", "ReferenceID": "sample string 3", "ResponseDesc": "sample string 2" }
application/xml, text/xml
Sample:
<PaymentUpdateResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ResponseCode>1</ResponseCode> <ResponseDesc>sample string 2</ResponseDesc> <ReferenceID>sample string 3</ReferenceID> <TransReference>sample string 4</TransReference> <Hash>sample string 5</Hash> </PaymentUpdateResponse>