Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Data type

Description


 Request

 Text

 addMobile

Mandatory

CompanyToken

Token

Token you got from 3G to operate this API

Mandatory

customerToken

Token

Customer token, retrieved from 'createAccount' API

Mandatory

customerMno

Text

Customer credit card numberMNO

Mandatory

customerMnoCountry

TextCustomer

credit card expiry date (MM/YY)MNO country

Mandatory

customerMnoPhone

Phoneustomer credit card CVV

Customer Phone Number for payment options

Mandatory

customerMnoLogo

Text

created Logo for MNO

Optional

Request example:

Request example

Code Block
<?xml version="1.0" encoding="utf-8"?>
<API3G>
<CompanyToken>90EC1DA4-A7C5-432C-930C-098715D3130E</CompanyToken>
<Request>addMobile</Request>
<customerToken>5B8443FA-8559-4DBD-AF61-7AFF87C35661</customerToken>
<customerMno>SafaricomC2B</customerMno>
<customerMnoCountry>Kenya</customerMnoCountry>
<customerMnoPhone>478585859895</customerMnoPhone>
<customerMnoLogo>payv2/assets/img/mpesa.png</customerMnoLogo>
</API3G>


Respond:


The server will respond for the addCard request the addMobile request according to the following results:

...