Versions Compared

Key

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

...

Parameter

Data type

Description

Code Block
Code

Number

Result code

Code Block
Explanation

Text

Free text of the response

Code Block
customerToken

Token

Unique customer token to operate payments

Code Block
subscriptionToken

Token

Unique payment token to operate payments

Code Block
paymentType

Text

Payment option type

Code Block
paymentLast4

Text

Last 4 digits of card or phone number

Code Block
customerMno

Text

Mobile Payment MNO

Code Block
customerMnoCountry

Text

Mobile Payment Country

Code Block
customerMnoPhone

Text

Mobile Payment Phone

Code Block
customerMnoLogo

Text

MNO Logo

Respond example:

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<API3G>
    <Code>000</Code>
	<Explanation>Success</Explanation>
	<customerToken>D570C45A-9F39-4402-8D87-4593D2C28405</customerToken>
	<paymentOptions>
		<option>
			<subscriptionToken>798A29B4-EAB0-40B8-B46E-90925239E119</subscriptionToken>
			<paymentType>Visa</paymentType>
			<paymentLast4>1111</paymentLast4>
			<paymentDefault>0</paymentDefault>
		</option>
		<option>
			<subscriptionToken>E4EF743C-7751-4A34-AC0D-0AC02DA139FE</subscriptionToken>
			<paymentType>Mobile</paymentType>
			<customerMno>SafaricomC2B</customerMno>
			<customerMnoCountry>Kenya</customerMnoCountry>
			<customerMnoPhone>596969544</customerMnoPhone>
			<customerMnoLogo>payv2/assets/img/mpesa.png</customerMnoLogo>
		</option>
		<option>
			<subscriptionToken>A61CA582-A222-4A33-8BC2-523808BE29A1</subscriptionToken>
			<paymentType>American Express</paymentType>
			<paymentLast4>8431</paymentLast4>
			<paymentDefault>0</paymentDefault>
		</option>
	</paymentOptions>
</API3G>

...