Skip to main content
POST
Mobile Money C2B Validation Callback (Public)

Body

application/json

Safaricom C2B validation/confirmation payload (Pay Bill/Buy Goods).

TransactionType
string
Example:

"Pay Bill"

TransID
string
TransTime
string
Example:

"20260601120000"

TransAmount
string
Example:

"5000.00"

BusinessShortCode
string
BillRefNumber
string

Must match merchant_c2b_accounts.account_reference

InvoiceNumber
string
OrgAccountBalance
string
ThirdPartyTransID
string
MSISDN
string
FirstName
string
MiddleName
string
LastName
string

Response

200 - application/json

Accept or reject before customer payment completes

ResultCode
string
Example:

"0"

ResultDesc
string
Example:

"Accepted"