Developers Guide B2B Interface - v0.3
Developers Guide B2B Interface - v0.3
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Developer’s Guide
B2B Interface
V0.3
i
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Approvals
Revision Log
ii
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Abbreviations
Term Definition
SP Service Provider
References
SSL.pdf
iii
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Table of Contents
Approvals.......................................................................................................................................... ii
Revision Log..................................................................................................................................... ii
Abbreviations ................................................................................................................................. iii
References ........................................................................................................................................ iii
Introduction.................................................................................................................................... 7
1.1 Scope ................................................................................................................................................................ 7
1.2 Overview – API Framework............................................................................................................................. 7
iv
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Example ......................................................................................................................................... 62
6.1 B2B Transactions ........................................................................................................................................... 62
6.1.1 GenericApiRequest ............................................................................................................................... 62
6.1.2 GenericApiResponse ............................................................................................................................. 64
6.1.3 GenericAPiResult ................................................................................................................................. 65
6.2 OrgRevenueSettlement ................................................................................................................................... 66
6.2.1 GenericApiRequest ............................................................................................................................... 66
6.2.2 GenericApiResponse ............................................................................................................................. 68
6.2.3 GenericAPiResult ................................................................................................................................. 68
6.3 OrgBankAccountWithdrawal ......................................................................................................................... 69
6.3.1 GenericApiRequest ............................................................................................................................... 69
6.3.2 GenericApiResponse ............................................................................................................................. 71
6.3.3 GenericAPiResult ................................................................................................................................. 72
6.4 TransactionStatusQuery ................................................................................................................................. 72
6.4.1 GenericApiRequest ............................................................................................................................... 72
ReceiptNumber .............................................................................................................................................. 72
v
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
OriginatorConversationID ............................................................................................................................. 75
ConversationID .............................................................................................................................................. 77
6.4.2 GenericApiResponse ............................................................................................................................. 79
6.4.3 GenericAPiResult ................................................................................................................................. 80
6.5 Balance Check ................................................................................................................................................ 81
6.5.1 GenericApiRequest ............................................................................................................................... 81
6.5.2 GenericApiResponse ............................................................................................................................. 83
6.5.3 GenericAPiResult ................................................................................................................................. 83
6.6 notifyQueueTimeout ...................................................................................................................................... 84
6.6.1 The Broker send notification to the 3rd party ....................................................................................... 84
6.6.2 The 3rd party return response to the Broker .......................................................................................... 86
6.7 queryTransaction ............................................................................................................................................ 87
6.7.1 The 3rd party sends query request to the Broker ................................................................................... 87
6.7.2 The Broker return response to the 3rd party .......................................................................................... 88
6.8 changePassword ............................................................................................................................................. 92
6.8.1 Request example: .................................................................................................................................. 92
6.8.2 Response example: ................................................................................................................................ 92
vi
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Introduction
1.1 Scope
The present document specifies the real time B2B Web Service aspects of the interface. All aspects of B2B
Web Service are defined here, these being:
Message Flow Description
Data Type Definition
Web Service Interface Definition
Transaction Types description
WSDL for this specification
Example
7
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
1.GenericAPIRequest
2.Authentication
3.Authorization
3.SLA
4.GenericAPIRequest
5.ApiResponse
6.ApiResponse
{short delay}
7.GenericAPIResult
8.Authentication
9.GenericAPIResult
10.ApiResultResponse
11.ApiResultResponse
12.notifyQueueTimeout
13.notifyQueueTimeoutResponse
8
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
9
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
ConversationID xsd:string Yes The unique identifier generated by MM for a previous request message.
It is used to support communication multi-times between the third party
and MM for one operation/transaction.
Remark xsd:string Yes The remark information about this operation. Max length is 255
Parameters Parameters Yes It is used to carry specific parameters for specific transaction or
business operation.
If the element EncryptedParameters presents, this parameter should
not present.
ReferenceData ReferenceDa Yes It is used carry some reference data that MM need not analyze but
ta need to record it into transaction log.
Timestamp xsd:string No The timestamp generated by the third party.
10
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
11
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
12
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
13
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
PrimartyParty PrimartyParty Yes If business operation/action, this element is not present; if transaction,
this can be either the debit party or the credit party according to the
transaction type.
ReceiverParty ReceiverParty Yes If business operation/action, this is the affected party; if transaction, it is
the opposite party to the PrimaryParty
AccessDevice AccessDevice Yes It indicates the access device which the initiator uses to initiate the
request.
14
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
15
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
The following table lists result codes and result descriptions which are provided to the third party. These may be
commincated either in the synchronous ApiResponse message, or in the asynchronous ApiResult message.
0 Success
16
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
This is indicated for both ApiResponse and ApiResult messages. An ApiResponse value of 0 indicates
that the request has passed basic validation tests and been passed on to the core system for further
processing. An ApiResult value of 0 means that the requested financial transaction has been completed
successfully.
1 InsufficientFunds
Typically indicates that the primary party does not have enough money to complete the requested
financial transaction. In the case of the B2C API, this means that the business organisation does not have
enough money in its utility account.
2 LessThanMinimumTransactionValue
3 MoreThanMaximumTransactionValue
Each of these potential failures derive from the rules which govern MPesa financial transactions. In the
case of the B2C API, these are taken from DefaultBusinessUtilityAccount rules, which specify a lower
bound of 10 KE shillings and an upper bound of 70000. For promotion payments and salary payments to
unregistered users, the upper limit is lower: 35000. Likewise, the lower bound for these 2 transactions is
also different: 101 rather than 10.
These are both returned by the ApiResult and represented internally as a transaction reason.
4 WouldExceedDailyTransferLimit
This is a limit on daily activity. For the business organisation, this is very high: 100000000 KE shillings.
It is much more likely that this rule will apply to the customer, where the limit is 140000 KE shillings.
This is returned by the ApiResult and represented internally as a transaction reason.
5 WouldExceedMinimumBalance
This rule is rather confusingly named – it actually means that a transaction would bring the business
organisations utility account bellow the required minimum – which is currently 0.
This is returned by the ApiResult and represented internally as a transaction reason. It is computed during
execution of the financial transaction.
6 UnresolvedPrimaryParty
7 UnresolvedReceiverParty
The primary party or receiver party cannot be associated with an MPesa identity. For transactions (such
as promotion payment and salary payment) which are supported for unregistered users, the unresolved
receiver party rule is not applied.
These are returned in the ApiResult and checked before the linked financial transaction is created.
8 WouldExceedMaximumBalance
For the B2C API, this applies to the recipient MMF customer – the limit here is 100,000 KE shillings.
17
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
This is returned by the ApiResult and represented internally as a transaction reason. It is computed during
execution of the financial transaction.
9 LessThanMinAirtimeValue
10 MoreThanMaxAirtimeValue
Neither of these apply to B2C API operations.
11 DebitAccountInvalid
12 CreditAccountInvalid
13 UnresolvedDebitAccount
14 UnresolvedCreditAccount
These are all existing failure transaction reasons for B2C financial transactions – they would be issued to
the caller in the ApiResult message. The latter 2 in particular are unlikely to occur, as the request would
be rejected by Core API specific checks before the request reached the accounting engine.
15 DuplicateDetected
Currently, any requests which presents an originator conversation id which has been seen before will be
rejected. This rule will need to be reconsidered in contexts which require multi-stage conversations or
multiple Callers. This check (along with the message expiry check) is the first thing done by the
transaction processor when handling an API request. The outcome is reported in the ApiResult message.
16 PayUtilityInvalidAccountNumberFormat
Does not apply to the B2C API operations.
17 InternalFailure
A catch all for failures which are not identified more specifically – this can occur in either the
ApiResponse or ApiResult – although the intent is to replace any such error with a more precise message.
18 InitiatorCredentialCheckFailure
The password check for the initiator failed, either because the presented password is wrong, or something
has gone wrong in the encryption or decryption steps. This is issued in the ApiResult before the creation
of a financial transaction.
19 ApiRequestMessageExpiryFailure
Initiators have the option to specify a request timestamp. If the gap between this value and the time at
which the message is received by the transaction processor is too great, then the request is rejected. The
specific interval is configured separately for each API operation (and indeed, for each API operation
stage). This is the first check performed on an API request arriving at the transaction processor, and as
such is included in the ApiResult message.
20 UnresolvedInitiator
The initiator username presented with the request cannot be found. This is included in the ApiResult.
18
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
21 InitiatorToPrimaryPartyPermissionFailure
The initiator presented does not have the right to issue requests for the specified primary party (as
established during creation of the initiator on the admin web site). The is part of the ApiResult, and
computed prior to issuing a financial transaction.
22 InitiatorStatusCheckFailure
The presented initiator username can be received, but the initiator is not currently active. This fact is
returned in the ApiResult.
23 RequestSchemaValidationError
Incoming API requests are validated against the schema defined in CPSInterface_Request.xsd. This is
part of the ApiResponse message – the details of the validation error are included in the response.
24 MissingRequestParameters
Required input parameters are defined for each type of API operation. If these are missing, then this is
issued in the ApiResult message. The names of the missing parameters are included in the result
parameters field.
25 InvalidRequestParameters
If all required parameters are presented, then validation checks are performed. Specifically, the
parameter is checked to see if it can be converted to the intended type, and then checked against
(optional) configuration regular expression based validation rules. For the B2C API, only the type check
(i.e the amount specified is a valid decimal) is performed. Failures are indicated in the ApiResult
message, with the details included in the result parameters.
26 SystemTooBusy
Included in the ApiResponse message if a traffic blocking condition is in place. See section 5.1 for more
detail.
28 InitiatorAllowedOperationCheckFailure
Upon creation, initiators are assigned permissions for specific API operations – if the operation specified
in the request message is not included in this list, then this ApiResult message is received.
29 InvalidCommand
The command specified in the request is not defined – this is part of the ApiResult.
30 ErrorSerializingRequest
After XML schema validation, the API attempts to convert the XML request into an internal ApiRequest
object – any failures result in this ApiResponse message. The details of the exception are included.
31 InitiatorNotSpecified
The initiator username is not specified, or not specified in a way that can be parsed.
19
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
32 ErrorSerializingRequest
The presented identifier for the initiator is not a username.
33 PrimaryPartyNotSpecified
34 PrimaryPartyIdentifierInvalid
35 ReceiverPartyNotSpecified
36 ReceiverPartyIdentifierInvalid
In all these case, one of the API parties is either missing from the request, or has been presented with the
wrong identifier type., This kind of failure is indicated in the ApiResult message.,
37 MissingApiCommand
No command is included in the request – in general this problem should be captured by the XML schema
validation, but if it is not this ApiResult message is issued.
38 InvalidConversationId
39 UnknownConversationId
Not currently checked for – this will take place for multi-stage conversations.
40 InvalidParameterDefinition
20
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
21
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Note:
1. If there is no configuration for notification URL on Broker side, which indicates the callback url for
accepting notification of GenericAPIResult, the ResultURL parameter inside Identity tag must present.
2. If there is no configuration for notification URL on Broker side, which indicates the callback url for
accepting notification of cached requests expired, the 3rd party must add a key-pair parameter into
ReferenceData and the key is QueueTimeoutURL.
22
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
23
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
24
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
25
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
26
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
27
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
28
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Response Code
ResponseCode ResponseDesc
000000000 Success
100000001 The system is overload
100000002 Throttling error
100000003 Exceed the limitation of the LICENSE
100000004 Internal Server Error
29
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
ResponseCode ResponseDesc
100000005 Invalid input value:%1
%1 indicates the parameter’s name.
100000006 SP’s status is abnormal
100000007 Authentication failed
100000014 Missing mandatory parameter:%1
%1 indicates the parameter’s name.
30
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Transaction Types
31
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
32
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
IdentifierType - 4
Identifier –
ShortCode
OrgRevenueSettlement C2B, B2C, Identity – C2B,
Merchant HO and B2C, Merchant Same as Primary
Store HO and Store Party
IdentifierType - 4
33
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Identifier –
ShortCode
AccountBalance B2C Business,
C2B Business, NA (0) NA(0)
Merchant HO,
MMF Organisation
TransactionStatusQuery B2C Business,
C2B Business, NA (0) NA(0)
Merchant HO,
MMF Organisation
This is a transaction type that moves money from Business customer (B2C, C2B, Merchant HO and Merchant Store
organizations) to a C2B organization. The request moves money from the Primary Party’s MMF/WORKING account
to the Receiver party’s Utility account. Primary party will be API Enabled Business Customer and receiver party will
be C2B Business. The initiator would be linked to primary party.
Input Parameters
Amount Decimal
Output Parameters
ResultType ResultType It describes the state of the request, for single staged it would be
only completed.
Result code
ResultCode String
Result description
ResultDesc String
M-Pesa conversation id
ConversationId GUID
Third party conversation id
OriginatorConversationId String
34
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
ResultParameters
TransCompletedTime DateTime The date time when the transaction was completed.
Eg. <Key>TransCompletedTime</Key>
<Value>20150424170252</Value>
DebitPartyCharges Decimal
DebitPartyAffectedAccountBalance String Indicates the account balance of all the affected accounts of debit
party。
For each account, the fields are presented in the following order
and separated by vertical bars (|):
amp; is used as the separator of different accounts.
35
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Eg. <Key>DebitPartyAffectedAccountBalance</Key>
<Value>MMF Organization
Account|KES|2714803.00|2714803.00|0.00|50000000.00</Value>
This is a transaction type that moves money from B2C and C2B organizations to a Business Customer (B2C, C2B,
Merchant HO and Merchant Store organization). The request moves money from the Primary Party’s Utility account
to the Receiver party’s MMF account. Primary party will be API Enabled Business Customer and receiver party will
be a Business Customer. The initiator would be linked to primary party.
Input Parameters
Amount Decimal
Output Parameters
ResultType ResultType It describes the state of the request, for single staged it would be
only completed.
Result code
ResultCode String
Result description
ResultDesc String
M-Pesa conversation id
ConversationId GUID
Third party conversation id
OriginatorConversationId String
ResultParameters
36
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
TransCompletedTime DateTime The date time when the transaction was completed.
Eg. <Key>TransCompletedTime</Key>
<Value>20150424170252</Value>
DebitPartyCharges Decimal
DebitPartyAffectedAccountBalance String Indicates the account balance of all the affected accounts of debit
party。
For each account, the fields are presented in the following order
and separated by vertical bars (|):
amp; is used as the separator of different accounts.
Eg. <Key>DebitPartyAffectedAccountBalance</Key>
<Value>MMF Organization
Account|KES|2714803.00|2714803.00|0.00|50000000.00</Value>
37
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
This is a transaction type that moves money from Business customer (B2C, C2B, Merchant HO and Merchant Store
organizations) to a Merchant HO or Store. The request moves money from the Primary Party’s MMF/WORKING
account to the Receiver party’s Merchant account. Primary party will be API Enabled Business Customer and receiver
party will be Merchant HO and Store Business. The initiator would be linked to primary party.
Input Parameters
Amount Decimal
Output Parameters
ResultType ResultType It describes the state of the request, for single staged it would be
only completed.
Result code
ResultCode String
Result description
ResultDesc String
M-Pesa conversation id
ConversationId GUID
Third party conversation id
OriginatorConversationId String
ResultParameters
TransCompletedTime DateTime The date time when the transaction was completed.
Eg. <Key>TransCompletedTime</Key>
<Value>20150424170252</Value>
38
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Eg. <Key>InitiatorAccountCurrentBalance</Key>
<Value>{Amount={BasicAmount=2714803.00,
MinimumAmount=271480300, CurrencyCode=KES}}</Value>
DebitPartyCharges Decimal
DebitPartyAffectedAccountBalance String Indicates the account balance of all the affected accounts of debit
party。
For each account, the fields are presented in the following order
and separated by vertical bars (|):
amp; is used as the separator of different accounts.
Eg. <Key>DebitPartyAffectedAccountBalance</Key>
<Value>MMF Organization
Account|KES|2714803.00|2714803.00|0.00|50000000.00</Value>
5.5 BusinessToBusinessTransfer
Description
39
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
This is a transaction type that moves money from an Organization with an MMF/WORKING account (B2C, C2B,
Merchant HO and store and Agency HO and Store) to an organization with an MMF/WORKING account (B2C, C2B,
Merchant HO and store and Agency HO and Store). The organizations should not be in the same Hierarchy. The
request moves money from the Primary Party’s MMF/WORKING account to the Receiver party’s MMF/WORKING
account. Primary party should be API Enabled Business Customer and receiver party will be an Organization. The
initiator would be linked to primary party.
Input Parameters
Amount Decimal
Output Parameters
ResultType ResultType It describes the state of the request, for single staged it would be
only completed.
Result code
ResultCode String
Result description
ResultDesc String
M-Pesa conversation id
ConversationId GUID
Third party conversation id
OriginatorConversationId String
ResultParameters
TransCompletedTime DateTime The date time when the transaction was completed.
Eg. <Key>TransCompletedTime</Key>
<Value>20150424170252</Value>
40
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
MinimumAmount=271480300, CurrencyCode=KES}}</Value>
DebitPartyCharges Decimal
DebitPartyAffectedAccountBalance String Indicates the account balance of all the affected accounts of debit
party。
For each account, the fields are presented in the following order
and separated by vertical bars (|):
amp; is used as the separator of different accounts.
Eg. <Key>DebitPartyAffectedAccountBalance</Key>
<Value>MMF Organization
Account|KES|2714803.00|2714803.00|0.00|50000000.00</Value>
5.6 BusinessTransferFromMMFToUtility
Description
This is a transaction type that moves money within an Organization (C2B and B2C). The request moves money from
the organization’s MMF/WORKING account to the organization’s Utility account. The organization should be API
Enabled Business Customer. The initiator would be linked to primary party.
41
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Input Parameters
Amount Decimal
Output Parameters
ResultType ResultType It describes the state of the request, for single staged it would be
only completed.
Result code
ResultCode String
Result description
ResultDesc String
M-Pesa conversation id
ConversationId GUID
Third party conversation id
OriginatorConversationId String
ResultParameters
TransCompletedTime DateTime The date time when the transaction was completed.
Eg. <Key>TransCompletedTime</Key>
<Value>20150424170252</Value>
DebitPartyCharges Decimal
42
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
DebitPartyAffectedAccountBalance String Indicates the account balance of all the affected accounts of debit
party。
For each account, the fields are presented in the following order
and separated by vertical bars (|):
amp; is used as the separator of different accounts.
Eg. <Key>DebitPartyAffectedAccountBalance</Key>
<Value>MMF Organization
Account|KES|2714803.00|2714803.00|0.00|50000000.00</Value>
5.7 BusinessTransferFromUtilityToMMF
Description
This is a transaction type that moves money within an Organization (C2B and B2C). The request moves money from
the organization’s Utility account to the organization’s MMF/WORKING account. The organization should be API
Enabled Business Customer. The initiator would be linked to primary party.
Input Parameters
Amount Decimal
43
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Output Parameters
ResultType ResultType It describes the state of the request, for single staged it would be
only completed.
Result code
ResultCode String
Result description
ResultDesc String
M-Pesa conversation id
ConversationId GUID
Third party conversation id
OriginatorConversationId String
ResultParameters
TransCompletedTime DateTime The date time when the transaction was completed.
Eg. <Key>TransCompletedTime</Key>
<Value>20150424170252</Value>
DebitPartyCharges Decimal
44
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<Value>KES</Value>
DebitPartyAffectedAccountBalance String Indicates the account balance of all the affected accounts of debit
party。
For each account, the fields are presented in the following order
and separated by vertical bars (|):
amp; is used as the separator of different accounts.
Eg. <Key>DebitPartyAffectedAccountBalance</Key>
<Value>MMF Organization
Account|KES|2714803.00|2714803.00|0.00|50000000.00</Value>
5.8 MerchantToMerchantTransfer
Description
This is a transaction type that moves money from an Organization with Merchant account (Merchant HO and store) to
an organization with a Merchant account (Merchant HO and store). The organizations should not be in the same
Hierarchy. The request moves money from the Primary Party’s Merchant account to the Receiver party’s Merchant
account. Primary party should be API Enabled Business Customer and receiver party will be an Organization. The
initiator would be linked to primary party.
Input Parameters
Amount Decimal
Output Parameters
ResultType ResultType It describes the state of the request, for single staged it would be
only completed.
45
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Result code
ResultCode String
Result description
ResultDesc String
M-Pesa conversation id
ConversationId GUID
Third party conversation id
OriginatorConversationId String
ResultParameters
TransCompletedTime DateTime The date time when the transaction was completed.
Eg. <Key>TransCompletedTime</Key>
<Value>20150424170252</Value>
DebitPartyCharges Decimal
46
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
DebitPartyAffectedAccountBalance String Indicates the account balance of all the affected accounts of debit
party。
For each account, the fields are presented in the following order
and separated by vertical bars (|):
amp; is used as the separator of different accounts.
Eg. <Key>DebitPartyAffectedAccountBalance</Key>
<Value>MMF Organization
Account|KES|2714803.00|2714803.00|0.00|50000000.00</Value>
5.9 MerchantTransferFromMerchantToWorking
Description
This is a transaction type that moves money within an Organization (Merchant HO and Store). The request moves
money from the organization’s Merchant account to the organization’s MMF/WORKING account. The organization
should be API Enabled Business Customer. The initiator would be linked to primary party.
Input Parameters
Amount Decimal
Output Parameters
ResultType ResultType It describes the state of the request, for single staged it would be
only completed.
Result code
ResultCode String
Result description
ResultDesc String
M-Pesa conversation id
ConversationId GUID
47
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
ResultParameters
TransCompletedTime DateTime The date time when the transaction was completed.
Eg. <Key>TransCompletedTime</Key>
<Value>20150424170252</Value>
DebitPartyCharges Decimal
DebitPartyAffectedAccountBalance String Indicates the account balance of all the affected accounts of debit
party。
48
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
For each account, the fields are presented in the following order
and separated by vertical bars (|):
amp; is used as the separator of different accounts.
Eg. <Key>DebitPartyAffectedAccountBalance</Key>
<Value>MMF Organization
Account|KES|2714803.00|2714803.00|0.00|50000000.00</Value>
5.10 MerchantTransferFromWorkingToMerchant
Description
This is a transaction type that moves money within an Organization (Merchant HO and Store). The request moves
money from the organization’s MMF/WORKING account to the organization’s Merchant account. The organization
should be API Enabled Business Customer. The initiator would be linked to primary party.
Input Parameters
Amount Decimal
Output Parameters
ResultType ResultType It describes the state of the request, for single staged it would be
only completed.
Result code
ResultCode String
Result description
ResultDesc String
M-Pesa conversation id
ConversationId GUID
Third party conversation id
OriginatorConversationId String
ResultParameters
49
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Eg. <Key>Amount</Key><Value>7000.00</Value>
TransCompletedTime DateTime The date time when the transaction was completed.
Eg. <Key>TransCompletedTime</Key>
<Value>20150424170252</Value>
DebitPartyCharges Decimal
DebitPartyAffectedAccountBalance String Indicates the account balance of all the affected accounts of debit
party。
For each account, the fields are presented in the following order
and separated by vertical bars (|):
amp; is used as the separator of different accounts.
Eg. <Key>DebitPartyAffectedAccountBalance</Key>
<Value>MMF Organization
Account|KES|2714803.00|2714803.00|0.00|50000000.00</Value>
50
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
5.11 OrgBankAccountWithdrawal
Description
This is a transaction type that moves money from an Organization (C2B, B2C, Agency and Merchant) to the Bank.
The request removes e-value from the MMF/Working account to the SP holding account. The organization should be
API Enabled Business Customer. The initiator would be linked to primary party.
Input Parameters
Output Parameters
ResultType ResultType It describes the state of the request, for single staged it would be
only completed.
Result code
ResultCode String
Result description
ResultDesc String
M-Pesa conversation id
ConversationId GUID
Third party conversation id
OriginatorConversationId String
ResultParameters
TransCompletedTime DateTime The date time when the transaction was completed.
Eg. <Key>TransCompletedTime</Key>
<Value>20150424170252</Value>
DebitPartyAffectedAccountBalance String Indicates the account balance of all the affected accounts of debit
party。
51
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
For each account, the fields are presented in the following order
and separated by vertical bars (|):
amp; is used as the separator of different accounts.
Eg. <Key>DebitPartyAffectedAccountBalance</Key>
<Value>MMF Organization
Account|KES|2714803.00|2714803.00|0.00|50000000.00</Value>
5.12 OrgRevenueSettlement
Description
This is a transaction type that moves money within an Organization (C2B and Merchant). The request settles the
charges accrued and moves the rest of the money to the MMF/Working account. The organization should be API
Enabled Business Customer. The initiator would be linked to primary party.
Input Parameters
Output Parameters
ResultType ResultType It describes the state of the request, for single staged it would be
only completed.
Result code
ResultCode String
Result description
ResultDesc String
M-Pesa conversation id
ConversationId GUID
Third party conversation id
OriginatorConversationId String
ResultParameters
52
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
TransCompletedTime DateTime The date time when the transaction was completed.
Eg. <Key>TransCompletedTime</Key>
<Value>20150424170252</Value>
5.13 MerchantServicesMMFAccountTransfer
Description
This is a transaction type that moves money from an Organization with Merchant account (Merchant HO and store) to
an organization with a Merchant account (Merchant HO and store). The organizations should be in the same
Hierarchy. The request moves money from the Primary Party’s Merchant account to the Receiver party’s Merchant
account. Primary party should be API Enabled Business Customer and receiver party will be an Organization. The
initiator would be linked to primary party.
Input Parameters
Amount Decimal
Output Parameters
53
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
ResultType ResultType It describes the state of the request, for single staged it would be
only completed.
Result code
ResultCode String
Result description
ResultDesc String
M-Pesa conversation id
ConversationId GUID
Third party conversation id
OriginatorConversationId String
ResultParameters
TransCompletedTime DateTime The date time when the transaction was completed.
Eg. <Key>TransCompletedTime</Key>
<Value>20150424170252</Value>
DebitPartyCharges Decimal
54
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
DebitPartyAffectedAccountBalance String Indicates the account balance of all the affected accounts of debit
party。
For each account, the fields are presented in the following order
and separated by vertical bars (|):
amp; is used as the separator of different accounts.
Eg. <Key>DebitPartyAffectedAccountBalance</Key>
<Value>MMF Organization
Account|KES|2714803.00|2714803.00|0.00|50000000.00</Value>
5.14 AgencyFloatAdvance
Description
This is a transaction type that moves money from an Organization with a Float account (Agency HO and store) to an
organization with a Float account (Agency HO and store). The organizations should not be in the same Hierarchy. The
request moves money from the Primary Party’s Float account to the Receiver party’s Float account. Primary party
should be API Enabled Business Customer and receiver party will be an Organization. The initiator would be linked to
primary party.
Input Parameters
Amount Decimal
Output Parameters
ResultType ResultType It describes the state of the request, for single staged it would be
only completed.
Result code
ResultCode String
55
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Result description
ResultDesc String
M-Pesa conversation id
ConversationId GUID
Third party conversation id
OriginatorConversationId String
ResultParameters
TransCompletedTime DateTime The date time when the transaction was completed.
Eg. <Key>TransCompletedTime</Key>
<Value>20150424170252</Value>
DebitPartyCharges Decimal
56
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
DebitPartyAffectedAccountBalance String Indicates the account balance of all the affected accounts of debit
party。
For each account, the fields are presented in the following order
and separated by vertical bars (|):
amp; is used as the separator of different accounts.
Eg. <Key>DebitPartyAffectedAccountBalance</Key>
<Value>MMF Organization
Account|KES|2714803.00|2714803.00|0.00|50000000.00</Value>
Description
This is a new request to check a Balance for the associated Business Customer. In case the initiator is associated
to the Merchant HO, it can request a balance query of merchant store within the hierarchy. No financial
transaction would be created. It will just respond back with the balance within the account at the time of request.
Input Parameters
57
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Output Parameters
ResultParameters
Account Balance SetTime DateTime The date time when the balance was
last updated.
Charges Paid Account Available Funds Decimal Charge paid account available balance
Charges Paid Account Reserved Funds Decimal Charge paid account reserved balance
58
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
59
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
It is a new request to make a transaction status inquiry. All the initiator or caller can perform this request to
check the transaction status of the already performed request.
Input Parameters
Output Parameters
60
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
ResultParameters
ReasonType String
Conversation ID String
Amount String
DebitPartyCharges String
CreditPartyCharges String
61
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
Example
6.1.1 GenericApiRequest
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:req="http://api-
v1.gen.mm.vodafone.com/mminterface/request">
<soapenv:Header>
<tns:RequestSOAPHeader xmlns:tns="http://www.huawei.com/schema/osg/common/v2_1">
<tns:spId>898989</tns:spId>
<tns:spPassword>REQ5OEM1Njc0RTI5ODMwQkJDNzg1OTE5OEYzRTZDNDJGRjgwOTgyQzg2Qzk3Q0QwRTRDOT
c5QkIyRTZGRTlEQg==</tns:spPassword>
<tns:timeStamp>20140223113340</tns:timeStamp>
<tns:serviceId>898989000</tns:serviceId>
</tns:RequestSOAPHeader>
</soapenv:Header>
<soapenv:Body>
<Transaction>
<CommandID>BusinessPayBill</CommandID>
62
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<LanguageCode></LanguageCode>
<OriginatorConversationID>CV3-844355122-244w1a-ggz</OriginatorConversationID>
<ConversationID></ConversationID>
<Remark>0</Remark>
<Parameters>
<Parameter>
<Key>Amount</Key>
<Value>-7000</Value>
</Parameter>
<Parameter>
<Key>AccountReference</Key>
<Value>7000</Value>
</Parameter>
</Parameters>
<ReferenceData>
<ReferenceItem>
<Key>QueueTimeoutURL</Key>
<Value>http://10.66.49.201:</Value>
</ReferenceItem></ReferenceData>
<Timestamp>2014-09-30T11:03:19.111+03:00</Timestamp>
</Transaction>
<Identity>
<Caller>
<CallerType>2</CallerType>
<ThirdPartyID>broker_4</ThirdPartyID>
<Password> +JDzEIAwG4IJx98dh5C4AOA==</Password>
<CheckSum>null</CheckSum>
<ResultURL>http://10.66.50.133:8097/</ResultURL>
</Caller>
<Initiator>
63
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<IdentifierType>11</IdentifierType>
<Identifier>simulator</Identifier>
<SecurityCredential>pnrgp7djZmWBKdLDzLkdeUrFyzfQULTc+ezg+i/TcgYVCYBB9C4MalfdBidZaEagZYWMFjqC0CjL
QWLrd602zhtt1kRtuxQUQHAqEem6z8uEZxcbGhYyQsNbo+3RKq8dC5IC7ITPg61LkaehLnyOx2CbA2/jkQG8JMOIjggl
1np+7wtbBWZ7yr5cLfkbrYvIppkUprvQ+QA8VJnlbFxmvBTdTFkKVVLFlmxeErsv5pyEseOlJFLocHuVmxyaXvM3aY1UA
5GQzBqxC0S51yNZwxFJHyzkETUE7S+tJjfBwAChy0oVn6ChfAZH6MhGjp8wf5aA==</SecurityCredential>
<ShortCode>992708</ShortCode>
</Initiator>
<PrimaryParty>
<IdentifierType>4</IdentifierType>
<Identifier>992708</Identifier>
<ShortCode></ShortCode>
</PrimaryParty>
<ReceiverParty>
<IdentifierType>4</IdentifierType>
<Identifier>376850</Identifier>
<ShortCode></ShortCode>
</ReceiverParty>
<AccessDevice>
<IdentifierType>4</IdentifierType>
<Identifier>1</Identifier>
</AccessDevice></Identity>
<KeyOwner>1</KeyOwner>
</request>]]></req:RequestMsg>
</soapenv:Body>
</soapenv:Envelope>
6.1.2 GenericApiResponse
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
64
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
</soapenv:Body>
</soapenv:Envelope>
6.1.3 GenericAPiResult
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
</soapenv:Body>
</soapenv:Envelope>
65
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
6.2 OrgRevenueSettlement
6.2.1 GenericApiRequest
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:req="http://api-
v1.gen.mm.vodafone.com/mminterface/request">
<soapenv:Header>
<tns:RequestSOAPHeader xmlns:tns="http://www.huawei.com/schema/osg/common/v2_1">
<tns:spId>898989</tns:spId>
<tns:spPassword>REQ5OEM1Njc0RTI5ODMwQkJDNzg1OTE5OEYzRTZDNDJGRjgwOTgyQzg2Qzk3Q0QwRTRDOT
c5QkIyRTZGRTlEQg==</tns:spPassword>
<tns:timeStamp>20140223113340</tns:timeStamp>
<tns:serviceId>898989000</tns:serviceId>
</tns:RequestSOAPHeader>
</soapenv:Header>
<soapenv:Body>
<Transaction>
<CommandID>OrgRevenueSettlement</CommandID>
<LanguageCode></LanguageCode>
<OriginatorConversationID>11135511223-244w1a-ggz</OriginatorConversationID>
<ConversationID></ConversationID>
<Remark>0</Remark>
<Parameters>
<Parameter>
<Key>HeadOffice</Key>
<Value></Value>
</Parameter>
</Parameters>
66
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<ReferenceData>
<ReferenceItem>
<Key>QueueTimeoutURL</Key>
<Value>http://10.66.49.201:</Value>
</ReferenceItem></ReferenceData>
<Timestamp>2014-09-30T11:03:19.111+03:00</Timestamp>
</Transaction>
<Identity>
<Caller>
<CallerType>2</CallerType>
<ThirdPartyID>broker_4</ThirdPartyID>
<Password> +JDzEIAwG4IJx98dh5C4AOA==</Password>
<CheckSum>null</CheckSum>
<ResultURL>http://10.66.50.133:8097/</ResultURL>
</Caller>
<Initiator>
<IdentifierType>11</IdentifierType>
<Identifier>simulator</Identifier>
<SecurityCredential>pnrgp7djZmWBKdLDzLkdeUrFyzfQULTc+ezg+i/TcgYVCYBB9C4MalfdBidZaEagZYWMFjqC0CjL
QWLrd602zhtt1kRtuxkQ76rHf5s17jq4FXtmQUQHAqEem6z8uEZxcbGhYyQsNbo+3RKq8dC5IC7ITPg61LkaehLnyOx2
CbA2/jkQG8JMOIjggl1np+7wtbBWZ7yr5cLfkbrYvIppkUprvQ+QA8VJnlbFxmvBTdTFkKVVLFlmxeErsv5pyEseOlJFLocH
uVmxyaXvM3aY1UA5GQzBqxC0S51yNZwxFJHyzkETUE7S+tJjfBwAChy0oVn6ChfAZH6MhGjp8wf5aA==</SecurityCr
edential>
<ShortCode>797900</ShortCode>
</Initiator>
<PrimaryParty>
<IdentifierType>4</IdentifierType>
<Identifier>797900</Identifier>
<ShortCode></ShortCode>
</PrimaryParty>
67
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<ReceiverParty>
<IdentifierType>4</IdentifierType>
<Identifier>797900</Identifier>
<ShortCode></ShortCode>
</ReceiverParty>
<AccessDevice>
<IdentifierType>4</IdentifierType>
<Identifier>1</Identifier>
</AccessDevice></Identity>
<KeyOwner>1</KeyOwner>
</request>]]></req:RequestMsg>
</soapenv:Body>
</soapenv:Envelope>
6.2.2 GenericApiResponse
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<req:ResponseMsg xmlns:req="http://api-v1.gen.mm.vodafone.com/mminterface/request"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?><response xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/response"><ResponseCode>0</ResponseCode><ConversationID>AG_20150
424_00005422d2042748a855</ConversationID><ResponseDesc>Accept the service request
successfully.</ResponseDesc><OriginatorConversationID>11135511223-244w1a-
ggz</OriginatorConversationID><ServiceStatus>0</ServiceStatus></response>]]></req:ResponseMsg>
</soapenv:Body>
</soapenv:Envelope>
6.2.3 GenericAPiResult
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
68
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
ctionID>JDOJ1LNTP</TransactionID><ResultParameters><ResultParameter><Key>FundsMovement</Key><Value>M
erchant Account|Organization Settlement Account|KES|0.00&Organization Settlement Account|Charges Paid
Account|KES|0.00&Working Account|Organization Settlement
Account|KES|0.00</Value></ResultParameter><ResultParameter><Key>AccountBalanceAfterSettlement</Key><Valu
e>Working Account|KES|56.03|56.03|0.00|0.00&Utility Account|KES|0.00|0.00|0.00|0.00&Charges Paid
Account|KES|0.00|0.00|0.00|0.00&Merchant Account|KES|0.00|0.00|0.00|0.00&Organization Settlement
Account|KES|0.00|0.00|0.00|0.00</Value></ResultParameter><ResultParameter><Key>BOCompletedTime</Key><Val
ue>20150424183949</Value></ResultParameter><ResultParameter><Key>SettlementPlanID</Key><Value>172110</
Value></ResultParameter></ResultParameters><ReferenceData><ReferenceItem><Key>QueueTimeoutURL</Key><
Value>http://10.66.49.201:</Value></ReferenceItem></ReferenceData></Result>]]></res:ResultMsg>
</soapenv:Body>
</soapenv:Envelope>
6.3 OrgBankAccountWithdrawal
6.3.1 GenericApiRequest
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:req="http://api-
v1.gen.mm.vodafone.com/mminterface/request">
<soapenv:Header>
<tns:RequestSOAPHeader xmlns:tns="http://www.huawei.com/schema/osg/common/v2_1">
<tns:spId>898989</tns:spId>
<tns:spPassword>REQ5OEM1Njc0RTI5ODMwQkJDNzg1OTE5OEYzRTZDNDJGRjgwOTgyQzg2Qzk3Q0QwRTRDOT
c5QkIyRTZGRTlEQg==</tns:spPassword>
<tns:timeStamp>20140223113340</tns:timeStamp>
<tns:serviceId>898989000</tns:serviceId>
</tns:RequestSOAPHeader>
</soapenv:Header>
<soapenv:Body>
<Transaction>
<CommandID>OrgBankAccountWithdrawal</CommandID>
<LanguageCode></LanguageCode>
69
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<OriginatorConversationID>CV3-84122752721313411355122-244w1a-ggz</OriginatorConversationID>
<ConversationID></ConversationID>
<Remark>0</Remark>
<Parameters>
<Parameter>
<Key>HeadOffice</Key>
<Value></Value>
</Parameter>
<Parameter>
<Key>Amount</Key>
<Value>35000</Value>
</Parameter>
</Parameters>
<ReferenceData>
<ReferenceItem>
<Key>QueueTimeoutURL</Key>
<Value>http://10.66.49.201:</Value>
</ReferenceItem></ReferenceData>
<Timestamp>2014-09-30T11:03:19.111+03:00</Timestamp>
</Transaction>
<Identity>
<Caller>
<CallerType>2</CallerType>
<ThirdPartyID>broker_4</ThirdPartyID>
<Password> dh5C4AOA==</Password>
<CheckSum>null</CheckSum>
<ResultURL>http://10.66.50.133:8097/</ResultURL>
70
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
</Caller>
<Initiator>
<IdentifierType>11</IdentifierType>
<Identifier>simulator</Identifier>
<SecurityCredential>pnrgp7djZmWBKdLDzLkdeUrFyzfQULTc+ezg+i/TcgYVCYBB9C4MalfdBidZaEagZYWMFjqC0CjL
QWLrd602zhtt1kRtuxkQ76rHf5s17jq4FXtmQUQHAqEem6z8uEZxcbGhYyQsNbo+3RKq8dC5IC7ITPg61LkaehLnyOx2
CbA2/jkQG8JMOIjggl1np+7wtbBWZ7yr5cLfkbrYvIppkUprvQ+QA8VJnlbFxmvBTdTFkKVVLFlmxeErsv5pyEseOlJFLocH
uVmxyaXvM3aY1UA5GQzBqxC0S51yNZwxFJHyzkETUE7S+tJjfBwAChy0oVn6ChfAZH6MhGjp8wf5aA==</SecurityCr
edential>
<ShortCode>888888</ShortCode>
</Initiator>
<PrimaryParty>
<IdentifierType>4</IdentifierType>
<Identifier>888888</Identifier>
<ShortCode></ShortCode>
</PrimaryParty>
<AccessDevice>
<IdentifierType>4</IdentifierType>
<Identifier>1</Identifier>
</AccessDevice></Identity>
<KeyOwner>1</KeyOwner>
</request>]]></req:RequestMsg>
</soapenv:Body>
6.3.2 GenericApiResponse
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<req:ResponseMsg xmlns:req="http://api-v1.gen.mm.vodafone.com/mminterface/request"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?><response xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/response"><ResponseCode>0</ResponseCode><ConversationID>AG_20150
71
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
</soapenv:Body>
</soapenv:Envelope>
6.3.3 GenericAPiResult
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
</soapenv:Body>
</soapenv:Envelope>
6.4 TransactionStatusQuery
6.4.1 GenericApiRequest
ReceiptNumber
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:req="http://api-
v1.gen.mm.vodafone.com/mminterface/request">
<soapenv:Header>
<tns:RequestSOAPHeader xmlns:tns="http://www.huawei.com/schema/osg/common/v2_1">
<tns:spId>151815</tns:spId>
72
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<tns:spPassword>ODExNERCMDlCNjVDRkYxQUFCNzE5MkE1OEQyMjJDMzk1RUFCNzgwMjk2ODE4Rjk1OTE2MEFGNDU1QkRCMD
kyMg==</tns:spPassword>
<tns:timeStamp>20140730093620</tns:timeStamp>
<tns:serviceId>151815000</tns:serviceId>
</tns:RequestSOAPHeader>
</soapenv:Header>
<soapenv:Body>
<Transaction>
<CommandID>TransactionStatusQuery</CommandID>
<LanguageCode>0</LanguageCode>
<OriginatorConversationID>R9I1-7894-7895-4125-770</OriginatorConversationID>
<ConversationID></ConversationID>
<Remark>0</Remark>
<Parameters><Parameter>
<Key>ReceiptNumber</Key>
<Value>X-IL144</Value>
</Parameter>
</Parameters>
<ReferenceData>
<ReferenceItem>
<Key>QueueTimeoutURL</Key>
<Value>http://10.66.49.201:8989/</Value>
</ReferenceItem></ReferenceData>
<Timestamp>2014-09-27T12:53:19.0000521Z</Timestamp>
</Transaction>
<Identity>
<Caller>
73
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<CallerType>2</CallerType>
<ThirdPartyID>898940</ThirdPartyID>
<Password>Password0</Password>
<CheckSum>CheckSum0</CheckSum>
<ResultURL>http://10.66.49.201:8096/</ResultURL>
</Caller>
<Initiator>
<IdentifierType>11</IdentifierType>
<Identifier>c2bib</Identifier>
<SecurityCredential>bJJbCA4QT/W7pVT9g+3dctjQIFU2ojSUVeqz5YUB+uUp66D9UhjjZshXJy+9mDeSpRnEQbs6H8wGrhh23AVuP2
/cyDqE6xfhaShW3KdtVt+AquatUaBfLb6SPgN9egkUkn4hsXWk+nhfY7RsmdMKy4IRBYTijMuePe6yGw17keEjZOL4+k4nWa1jVvRpPI6uA
FJSY33pIxuLh2Tx+kArg5I4B4JQKOiw2m7CPnVU0jhvq8xsGarOIn2COCjEt3G/Br0WpnrK71+HzvhABh9U8lnN25EvU7rjATzLwlF8MgVv+k
u2HDS62x0ZmTKUXH1srsSBaKEjiThccFrfXTEkFQ==</SecurityCredential>
<ShortCode>898940</ShortCode>
</Initiator>
<PrimaryParty>
<IdentifierType>4</IdentifierType>
<Identifier>898940</Identifier>
<ShortCode></ShortCode>
</PrimaryParty>
<ReceiverParty>
<IdentifierType>4</IdentifierType>
<Identifier>898940</Identifier>
<ShortCode></ShortCode>
</ReceiverParty>
<AccessDevice>
<IdentifierType>1</IdentifierType>
<Identifier>Identifier3</Identifier>
</AccessDevice></Identity>
<KeyOwner>1</KeyOwner>
74
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
</request>]]></req:RequestMsg>
</soapenv:Body>
</soapenv:Envelope>
OriginatorConversationID
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:req="http://api-
v1.gen.mm.vodafone.com/mminterface/request">
<soapenv:Header>
<tns:RequestSOAPHeader xmlns:tns="http://www.huawei.com/schema/osg/common/v2_1">
<tns:spId>151815</tns:spId>
<tns:spPassword>ODExNERCMDlCNjVDRkYxQUFCNzE5MkE1OEQyMjJDMzk1RUFCNzgwMjk2ODE4Rjk1OTE2MEFGNDU1QkRCMD
kyMg==</tns:spPassword>
<tns:timeStamp>20140730093620</tns:timeStamp>
<tns:serviceId>151815000</tns:serviceId>
</tns:RequestSOAPHeader>
</soapenv:Header>
<soapenv:Body>
<Transaction>
<CommandID>TransactionStatusQuery</CommandID>
<LanguageCode>0</LanguageCode>
<OriginatorConversationID>R9I1-7894-7895-4125-771</OriginatorConversationID>
<ConversationID></ConversationID>
<Remark>0</Remark>
<Parameters><Parameter>
<Key>OriginatorConversationID</Key>
<Value>R9I1-7894-7895-4125-768</Value>
</Parameter>
</Parameters>
75
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<ReferenceData>
<ReferenceItem>
<Key>QueueTimeoutURL</Key>
<Value>http://10.66.49.201:8989/</Value>
</ReferenceItem></ReferenceData>
<Timestamp>2014-09-27T12:53:19.0000521Z</Timestamp>
</Transaction>
<Identity>
<Caller>
<CallerType>2</CallerType>
<ThirdPartyID>898940</ThirdPartyID>
<Password>Password0</Password>
<CheckSum>CheckSum0</CheckSum>
<ResultURL>http://10.66.49.201:8096/</ResultURL>
</Caller>
<Initiator>
<IdentifierType>11</IdentifierType>
<Identifier>c2bib</Identifier>
<SecurityCredential>bJJbCA4QT/W7pVT9g+3dctjQIFU2ojSUVeqz5YUB+uUp66D9UhjjZshXJy+9mDeSpRnEQbs6H8wGrhh23AVuP2
/cyDqE6xfhaShW3KdtVt+AquatUaBfLb6SPgN9egkUkn4hsXWk+nhfY7RsmdMKy4IRBYTijMuePe6yGw17keEjZOL4+k4nWa1jVvRpPI6uA
FJSY33pIxuLh2Tx+kArg5I4B4JQKOiw2m7CPnVU0jhvq8xsGarOIn2COCjEt3G/Br0WpnrK71+HzvhABh9U8lnN25EvU7rjATzLwlF8MgVv+k
u2HDS62x0ZmTKUXH1srsSBaKEjiThccFrfXTEkFQ==</SecurityCredential>
<ShortCode>898940</ShortCode>
</Initiator>
<PrimaryParty>
<IdentifierType>4</IdentifierType>
<Identifier>898940</Identifier>
<ShortCode></ShortCode>
</PrimaryParty>
<ReceiverParty>
76
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<IdentifierType>4</IdentifierType>
<Identifier>898940</Identifier>
<ShortCode></ShortCode>
</ReceiverParty>
<AccessDevice>
<IdentifierType>1</IdentifierType>
<Identifier>Identifier3</Identifier>
</AccessDevice></Identity>
<KeyOwner>1</KeyOwner>
</request>]]></req:RequestMsg>
</soapenv:Body>
</soapenv:Envelope>
ConversationID
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:req="http://api-
v1.gen.mm.vodafone.com/mminterface/request">
<soapenv:Header>
<tns:RequestSOAPHeader xmlns:tns="http://www.huawei.com/schema/osg/common/v2_1">
<tns:spId>151515</tns:spId>
<tns:spPassword>ODExNERCMDlCNjVDRkYxQUFCNzE5MkE1OEQyMjJDMzk1RUFCNzgwMjk2ODE4Rjk1OTE2MEFGNDU1QkRCMD
kyMg==</tns:spPassword>
<tns:timeStamp>20140730093620</tns:timeStamp>
<tns:serviceId>151515000</tns:serviceId>
</tns:RequestSOAPHeader>
</soapenv:Header>
<soapenv:Body>
<Transaction>
<CommandID>TransactionStatusQuery</CommandID>
<LanguageCode>0</LanguageCode>
77
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<OriginatorConversationID>R9I1-7894-7895-4125-772</OriginatorConversationID>
<ConversationID></ConversationID>
<Remark>0</Remark>
<Parameters><Parameter>
<Key>ConversationID</Key>
<Value>e2b2b4db-62a0-457f-927c-9b442f65bb15</Value>
</Parameter>
</Parameters>
<ReferenceData>
<ReferenceItem>
<Key>QueueTimeoutURL</Key>
<Value>http://10.66.49.201:8989/</Value>
</ReferenceItem></ReferenceData>
<Timestamp>2014-09-27T12:53:19.0000521Z</Timestamp>
</Transaction>
<Identity>
<Caller>
<CallerType>2</CallerType>
<ThirdPartyID>898940</ThirdPartyID>
<Password>Password0</Password>
<CheckSum>CheckSum0</CheckSum>
<ResultURL>http://10.66.49.201:8096/</ResultURL>
</Caller>
<Initiator>
<IdentifierType>11</IdentifierType>
<Identifier>c2bib</Identifier>
<SecurityCredential>bJJbCA4QT/W7pVT9g+3dctjQIFU2ojSUVeqz5YUB+uUp66D9UhjjZshXJy+9mDeSpRnEQbs6H8wGrhh23AVuP2
/cyDqE6xfhaShW3KdtVt+AquatUaBfLb6SPgN9egkUkn4hsXWk+nhfY7RsmdMKy4IRBYTijMuePe6yGw17keEjZOL4+k4nWa1jVvRpPI6uA
78
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
FJSY33pIxuLh2Tx+kArg5I4B4JQKOiw2m7CPnVU0jhvq8xsGarOIn2COCjEt3G/Br0WpnrK71+HzvhABh9U8lnN25EvU7rjATzLwlF8MgVv+k
u2HDS62x0ZmTKUXH1srsSBaKEjiThccFrfXTEkFQ==</SecurityCredential>
<ShortCode>898940</ShortCode>
</Initiator>
<PrimaryParty>
<IdentifierType>4</IdentifierType>
<Identifier>898940</Identifier>
<ShortCode></ShortCode>
</PrimaryParty>
<ReceiverParty>
<IdentifierType>4</IdentifierType>
<Identifier>898940</Identifier>
<ShortCode></ShortCode>
</ReceiverParty>
<AccessDevice>
<IdentifierType>1</IdentifierType>
<Identifier>Identifier3</Identifier>
</AccessDevice></Identity>
<KeyOwner>1</KeyOwner>
</request>]]></req:RequestMsg>
</soapenv:Body>
</soapenv:Envelope>
6.4.2 GenericApiResponse
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<ResponseMsg xmlns="http://api-v1.gen.mm.vodafone.com/mminterface/request"><![CDATA[<Response
xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/response"><ResponseCode>0</ResponseCode><ConversationID>33922665-4506-40c5-9a8d-
4b1508ab6a81</ConversationID><OriginatorConversationID>R9I1-7894-7895-4125-
770</OriginatorConversationID><ServiceStatus>0</ServiceStatus></Response>]]></ResponseMsg>
</s:Body>
79
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
</s:Envelope>
6.4.3 GenericAPiResult
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<ResultMsg xmlns="http://api-v1.gen.mm.vodafone.com/mminterface/result"><![CDATA[<Result
xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/result"><ResultType>Completed</ResultType><ResultCode>0</ResultCode><ResultDesc>Succe
ss</ResultDesc><OriginatorConversationID>R9I1-7894-7895-4125-770</OriginatorConversationID><ConversationID>33922665-4506-
40c5-9a8d-4b1508ab6a81</ConversationID><ResultParameters><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">InitiatedTime</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">26/08/2014 23:05:33</Value></Parameter><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">FinalisedTime</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">26/08/2014 23:05:33</Value></Parameter><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">TransactionType</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">Business Pay Bill</Value></Parameter><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">ReceiptNo</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">X-IL144</Value></Parameter><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">TransactionStatus</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">Completed</Value></Parameter><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">TransactionReason</Key><Value i:nil="true" xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request" /></Parameter><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">DebitPartyName</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">898940 - Test2b</Value></Parameter><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">CreditPartyName</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">898940 - Test2b</Value></Parameter><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">DebitAccountType</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">MMF Account</Value></Parameter><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">DebitAccountBalance</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">14880.0000</Value></Parameter></ResultParameters><ReferenceData><ReferenceIte
m><Key xmlns="http://api-v1.gen.mm.vodafone.com/mminterface/request">QueueTimeoutURL</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">http://10.66.49.201:8989/</Value></ReferenceItem></ReferenceData></Result>]]></Res
ultMsg>
</s:Body>
</s:Envelope>
80
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<soapenv:Header>
<tns:RequestSOAPHeader xmlns:tns="http://www.huawei.com/schema/osg/common/v2_1">
<tns:spId>151815</tns:spId>
<tns:spPassword>ODExNERCMDlCNjVDRkYxQUFCNzE5MkE1OEQyMjJDMzk1RUFCNzgwMjk2ODE4Rjk1OTE2MEFGNDU1QkRCMD
kyMg==</tns:spPassword>
<tns:timeStamp>20140730093620</tns:timeStamp>
<tns:serviceId>151815000</tns:serviceId>
</tns:RequestSOAPHeader>
</soapenv:Header>
<soapenv:Body>
<Transaction>
<CommandID>AccountBalance</CommandID>
<LanguageCode>0</LanguageCode>
<OriginatorConversationID>LNM-7894-7895-2000-101</OriginatorConversationID>
<ConversationID></ConversationID>
<Remark>0</Remark>
<Parameters>
<Parameter>
<Key>ShortCode</Key>
<Value>898947</Value>
</Parameter>
</Parameters>
<ReferenceData>
81
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<ReferenceItem>
<Key>QueueTimeoutURL</Key>
<Value>http://10.66.49.201:8989/</Value>
</ReferenceItem></ReferenceData>
<Timestamp>2014-09-27T12:53:19.0000521Z</Timestamp>
</Transaction>
<Identity>
<Caller>
<CallerType>1</CallerType>
<ThirdPartyID>345612</ThirdPartyID>
<Password>Password0</Password>
<CheckSum>CheckSum0</CheckSum>
<ResultURL>http://10.66.49.201:8096/</ResultURL>
</Caller>
<Initiator>
<IdentifierType>11</IdentifierType>
<Identifier>b2c1b</Identifier>
<SecurityCredential>kce4dLOTWOG5u45XmlAD+PFRYQJbACWXcGXN76DV/WNEttcMRD5U8Xs8dsgE1sBoyROf9RWcEQK76xT0
eyC9qoDL+ZNtKiFcWn+JL4iD1SUG6tz8FIDuren1+TZ8oGiKiAa3pkts3l2jK1u4ieBrstOAQI9bzQUyCsIsODW4I7VprrwiaVYp3vUbHqxhWxZ
ASNTL2rBuNWXg1ZCDjOehr1JsssyfbEKHRI6hWoamHVLRNzeqw4dwsuXDom1J6aR+N7LSj0hMhRU4pA6X8KDSqgNOgBkx65VCYt/O
+e8wGKeO72ujsKHcc70+a7uLwkxa/zzYLzKeOWbONu5CuMxukA==</SecurityCredential>
<ShortCode>898947</ShortCode>
</Initiator>
<ReceiverParty>
<IdentifierType>4</IdentifierType>
<Identifier>898947</Identifier>
<ShortCode></ShortCode>
</ReceiverParty>
<AccessDevice>
82
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<IdentifierType>1</IdentifierType>
<Identifier>Identifier3</Identifier>
</AccessDevice></Identity>
<KeyOwner>1</KeyOwner>
</request>]]></req:RequestMsg>
</soapenv:Body>
</soapenv:Envelope>
6.5.2 GenericApiResponse
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<ResponseMsg xmlns="http://api-v1.gen.mm.vodafone.com/mminterface/request"><![CDATA[<Response
xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/response"><ResponseCode>0</ResponseCode><ConversationID>232f0c91-f7b1-4f4e-a121-
12ae99464270</ConversationID><OriginatorConversationID>LNM-7894-7895-2000-
101</OriginatorConversationID><ServiceStatus>0</ServiceStatus></Response>]]></ResponseMsg>
</s:Body>
</s:Envelope>
6.5.3 GenericAPiResult
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<ResultMsg xmlns="http://api-v1.gen.mm.vodafone.com/mminterface/result"><![CDATA[<Result
xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/result"><ResultType>Completed</ResultType><ResultCode>0</ResultCode><ResultDesc>Succe
ss</ResultDesc><OriginatorConversationID>LNM-7894-7895-2000-101</OriginatorConversationID><ConversationID>232f0c91-f7b1-
4f4e-a121-12ae99464270</ConversationID><ResultParameters><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">ShortCode</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">898947</Value></Parameter><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">OrgainsationName</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">Test1b</Value></Parameter><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">Working Account Available Funds</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">0.0000</Value></Parameter><Parameter><Key xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">Working Account Uncleared Funds</Key><Value xmlns="http://api-
v1.gen.mm.vodafone.com/mminterface/request">0.0000</Value></Parameter><Parameter><Key xmlns="http://api-
83
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
</s:Body>
</s:Envelope>
6.6 notifyQueueTimeout
6.6.1 The Broker send notification to the 3rd party
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:loc="http://www.csapi.org/schema/timeoutnotification/data/v1_0/local" xmlns:res="http://api-
v1.gen.mm.vodafone.com/mminterface/result">
<soapenv:Header/>
<soapenv:Body>
<loc:notifyQueueTimeout>
<loc:originatorConversationID>OriginatorConversationID0</loc:originatorConversationID>
84
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<loc:originRequest>PHNvYXBlbnY6RW52ZWxvcGUgeG1sbnM6c29hcGVudj0iaHR0cDovL3NjaGVtYXMueG1sc29hcC5v
cmcvc29hcC9lbnZlbG9wZS8iIHhtbG5zOnJlcT0iaHR0cDovL2FwaS12MS5nZW4ubW0udm9kYWZv
bmUuY29tL21taW50ZXJmYWNlL3JlcXVlc3Qi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SZWZlcmVuY2VEYXRhPgog
ICAgICAgICAgICA8UmVmZXJlbmNlSXRlbT4KICAgICAgICAgICAgICAgIDxLZXk+UXVldWVUaW1l
b3V0VVJMPC9LZXk+CiAgICAgICAgICAgICAgICA8VmFsdWU+VmFsdWUyPC9WYWx1ZT4KICAgICAg
ICAgICAgPC9SZWZlcmVuY2VJdGVtPgogICAgICAgICAgICA8UmVmZXJlbmNlSXRlbT4KICAgICAg
ICAgICAgICAgIDxLZXk+S2V5MzwvS2V5PgogICAgICAgICAgICAgICAgPFZhbHVlPlZhbHVlMzwv
VmFsdWU+CiAgICAgICAgICAgIDwvUmVmZXJlbmNlSXRlbT4KICAgICAgICA8L1JlZmVyZW5jZURh
dGE+CiAgICAgICAgPFRpbWVzdGFtcD4KICAgICAgICA8L1RpbWVzdGFtcD4KICAgIDwvVHJhbnNh
Y3Rpb24+CiAgICA8SWRlbnRpdHk+CiAgICAgICAgPENhbGxlcj4KICAgICAgICAgICAgPENhbGxl
clR5cGU+MDwvQ2FsbGVyVHlwZT4KICAgICAgICAgICAgPFRoaXJkUGFydHlJRD5UaGlyZFBhcnR5
SUQwPC9UaGlyZFBhcnR5SUQ+CiAgICAgICAgICAgIDxQYXNzd29yZD5QYXNzd29yZDA8L1Bhc3N3
b3JkPgogICAgICAgICAgICA8Q2hlY2tTdW0+Q2hlY2tTdW0wPC9DaGVja1N1bT4KICAgICAgICAg
ICAgPFJlc3VsdFVSTD5SZXN1bHRVUkwwPC9SZXN1bHRVUkw+CiAgICAgICAgPC9DYWxsZXI+CiAg
ICAgICAgPEluaXRpYXRvcj4KICAgICAgICAgICAgPElkZW50aWZpZXJUeXBlPjE8L0lkZW50aWZp
ZXJUeXBlPgogICAgICAgICAgICA8SWRlbnRpZmllcj5JZGVudGlmaWVyMDwvSWRlbnRpZmllcj4K
85
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
ICAgICAgICAgICAgPFNlY3VyaXR5Q3JlZGVudGlhbD5TZWN1cml0eUNyZWRlbnRpYWwwPC9TZWN1
cml0eUNyZWRlbnRpYWw+CiAgICAgICAgICAgIDxTaG9ydENvZGU+CiAgICAgICAgICAgIDwvU2hv
cnRDb2RlPgogICAgICAgIDwvSW5pdGlhdG9yPgogICAgICAgIDxQcmltYXJ0eVBhcnR5PgogICAg
ICAgICAgICA8SWRlbnRpZmllclR5cGU+MTwvSWRlbnRpZmllclR5cGU+CiAgICAgICAgICAgIDxJ
ZGVudGlmaWVyPklkZW50aWZpZXIxPC9JZGVudGlmaWVyPgogICAgICAgICAgICA8U2hvcnRDb2Rl
PlNob3J0Q29kZTA8L1Nob3J0Q29kZT4KICAgICAgICA8L1ByaW1hcnR5UGFydHk+CiAgICAgICAg
PFJlY2VpdmVyUGFydHk+CiAgICAgICAgICAgIDxJZGVudGlmaWVyVHlwZT4xPC9JZGVudGlmaWVy
VHlwZT4KICAgICAgICAgICAgPElkZW50aWZpZXI+SWRlbnRpZmllcjI8L0lkZW50aWZpZXI+CiAg
ICAgICAgICAgIDxTaG9ydENvZGU+U2hvcnRDb2RlMTwvU2hvcnRDb2RlPgogICAgICAgIDwvUmVj
ZWl2ZXJQYXJ0eT4KICAgICAgICA8QWNjZXNzRGV2aWNlPgogICAgICAgICAgICA8SWRlbnRpZmll
clR5cGU+MTwvSWRlbnRpZmllclR5cGU+CiAgICAgICAgICAgIDxJZGVudGlmaWVyPklkZW50aWZp
ZXIzPC9JZGVudGlmaWVyPgogICAgICAgIDwvQWNjZXNzRGV2aWNlPgogICAgPC9JZGVudGl0eT4K
ICAgIDxLZXlPd25lcj4wPC9LZXlPd25lcj4KPC9yZXF1ZXN0Pl1dPjwvcmVxOlJlcXVlc3RNc2c+
CiAgIDwvc29hcGVudjpCb2R5Pgo8L3NvYXBlbnY6RW52ZWxvcGU+Cg==</loc:originRequest>
</loc:notifyQueueTimeout>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Header/>
<soapenv:Body>
<loc:notifyQueueTimeoutResponse>
<loc:result>
<res:ResultCode>00000000</res:ResultCode>
<res:ResultDesc> success</res:ResultDesc>
</loc:result>
</loc:notifyQueueTimeoutResponse>
86
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Header/>
<soapenv:Body>
<loc:notifyQueueTimeoutResponse>
<loc:result>
<res:ResultCode>000000001</res:ResultCode>
</loc:result>
</loc:notifyQueueTimeoutResponse>
</soapenv:Body>
</soapenv:Envelope>
6.7 queryTransaction
6.7.1 The 3rd party sends query request to the Broker
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v2="http://www.huawei.com.cn/schema/common/v2_1" xmlns:loc="http://www.csapi.org/schema/transaction/data/v1_0/local"
xmlns:res="http://api-v1.gen.mm.vodafone.com/mminterface/result">
<soapenv:Header>
<v2:RequestSOAPHeader>
<v2:spId>151515</v2:spId>
<v2:spPassword>ODExNERCMDlCNjVDRkYxQUFCNzE5MkE1OEQyMjJDMzk1RUFCNzgwMjk2ODE4Rjk1OTE2MEFGNDU1QkRCMDk
yMg==</v2:spPassword>
<v2:serviceId>151515000</v2:serviceId>
<v2:timeStamp>20140730093620</v2:timeStamp>
</v2:RequestSOAPHeader>
</soapenv:Header>
87
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
<soapenv:Body>
<loc:queryTransaction>
<loc:originatorConversationID>R9I1-0000-4225-g64153</loc:originatorConversationID>
<loc:extensionInfo>
<loc:item>
<res:Key>queryDate</res:Key>
<res:Value>20140930102022</res:Value>
</loc:item>
</loc:extensionInfo>
</loc:queryTransaction>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Body>
<ns1:queryTransactionResponse xmlns:ns1="http://www.csapi.org/schema/transaction/data/v1_0/local">
<ns1:result>
<ns2:ResponseCode xmlns:ns2="http://api-v1.gen.mm.vodafone.com/mminterface/response">00000000</ns2:ResponseCode>
<ns3:ResponseDesc xmlns:ns3="http://api-v1.gen.mm.vodafone.com/mminterface/response">Success</ns3:ResponseDesc>
</ns1:result>
<ns1:submitApiRequestList>
<ns1:submitApiRequest>UE9TVCAvbW1pbnRlcmZhY2UvcmVxdWVzdCBIVFRQLzEuMQ0KQWNjZXB0LUVuY29kaW5nOiBnemlwLGRlZ
mxhdGUNCkNvbnRlbnQtVHlwZTogdGV4dC94bWw7Y2hhcnNldD1VVEYtOA0KU09BUEFjdGlvbjogIiINClVzZXItQWdlbnQ6IEpha2FydGE
gQ29tbW9ucy1IdHRwQ2xpZW50LzMuMQ0KSG9zdDogMTAuNS4zOC41MTo4MzEwDQpDb250ZW50LUxlbmd0aDogMjU1MQ0KDQo8c
29hcGVudjpFbnZlbG9wZSB4bWxuczpzb2FwZW52PSJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy9zb2FwL2VudmVsb3BlLyIgeG1sb
nM6cmVxPSJodHRwOi8vYXBpLXYxLmdlbi5tbS52b2RhZm9uZS5jb20vbW1pbnRlcmZhY2UvcmVxdWVzdCI+CiAgIDxzb2FwZW52OkhlY
WRlcj4KICAgICAgPHRuczpSZXF1ZXN0U09BUEhlYWRlciB4bWxuczp0bnM9Imh0dHA6Ly93d3cuaHVhd2VpLmNvbS9zY2hlbWEvb3NnL
2NvbW1vbi92Ml8xIj4KICAgICAgICAgPHRuczpzcElkPjE1MTUxNTwvdG5zOnNwSWQ+CiAgICAgICAgIDx0bnM6c3BQYXNzd29yZD5PRE
V4TkVSQ01EbENOalZEUmtZeFFVRkNOekU1TWtFMU9FUXlNakpETXprM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ZWEtNDMxMy1hYWNmLTA3OWM1Y2E0N2QwMTwvQ29udmVyc2F0aW9uSUQ+PFJlc3VsdFBhcmFtZXRlcn
M+PFBhcmFtZXRlcj48S2V5IHhtbG5zPSJodHRwOi8vYXBpLXYxLmdlbi5tbS52b2RhZm9uZS5jb20vbW1pbnRlcmZhY2UvcmVxdWVzdCI+
VHJhbnNhY3Rpb24gRGF0ZVRpbWU8L0tleT48VmFsdWUgeG1sbnM9Imh0dHA6Ly9hcGktdjEuZ2VuLm1tLnZvZGFmb25lLmNvbS9tbWlu
dGVyZmFjZS9yZXF1ZXN0Ij4zMC4wOS4yMDE0IDEyOjUyOjMxPC9WYWx1ZT48L1BhcmFtZXRlcj48L1Jlc3VsdFBhcmFtZXRlcnM+PFJlZ
mVyZW5jZURhdGE+PFJlZmVyZW5jZUl0ZW0+PEtleSB4bWxucz0iaHR0cDovL2FwaS12MS5nZW4ubW0udm9kYWZvbmUuY29tL21taW
50ZXJmYWNlL3JlcXVlc3QiPlF1ZXVlVGltZW91dFVSTDwvS2V5PjxWYWx1ZSB4bWxucz0iaHR0cDovL2FwaS12MS5nZW4ubW0udm9kY
WZvbmUuY29tL21taW50ZXJmYWNlL3JlcXVlc3QiPmh0dHA6Ly8xMC42Ni40OS4yMDE6ODk4OS88L1ZhbHVlPjwvUmVmZXJlbmNlSXRl
bT48L1JlZmVyZW5jZURhdGE+PC9SZXN1bHQ+XV0+PC9SZXN1bHRNc2c+PC9zOkJvZHk+PC9zOkVudmVsb3BlPg==</ns1:submitApi
Result>
</ns1:submitApiResultList>
<ns1:queueTimeOutList/>
</ns1:queryTransactionResponse>
</soapenv:Body>
<soapenv:Header/>
<soapenv:Body>
<loc:queryTransactionResponse>
<loc:result>
<ResponseCode>100000007</ResponseCode>
<ResponseDesc>Authentication failed</ResponseDesc>
</loc:result>
</loc:queryTransactionResponse>
</soapenv:Body>
</soapenv:Envelope>
91
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
6.8 changePassword
6.8.1 Request example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:loc="http://www.csapi.org/schema/management/data/v1_0/local" xmlns:res="http://api-
v1.gen.mm.vodafone.com/mminterface/result">
<soapenv:Header/>
<soapenv:Body>
<loc:changePassword>
<loc:spId>3500001</loc:spId>
<loc:spPassword>c5216e519a071d601bedd150f3fcd026</loc:spPassword>
<loc:timeStamp>20120101010101</loc:timeStamp>
<loc:newPassword>wi2a7BAH0QPd2LRdmcgC9w==</loc:newPassword>
</loc:changePassword>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Header/>
<soapenv:Body>
<loc:changePassword Response>
<loc:result>
<res:ResponseCode>00000000</res:ResponseCode>
<res:ResponseDesc>Success</res:ResponseDesc>
</loc:result>
<loc:changePasswordResponse>
</soapenv:Body>
92
PROJECT NAME: M-PESA
TH
COMPANY/DIVISION: PRODUCT AND SERVICE DEVELOPMENT DATE: 24 APRIL 2015
</soapenv:Envelope>
<soapenv:Header/>
<soapenv:Body>
<response xmlns="http://api-v1.gen.mm.vodafone.com/mminterface/response">
<ResponseCode>100000007</ResponseCode>
<ResponseDesc>Authentication failed</ResponseDesc>
</response>]]></req:ResponseMsg>
</soapenv:Body>
</soapenv:Envelope>
93