CompanyMobilePaymentOptions (V6)

Description

The CompanyMobilePaymentOptions request will be used to receive the list of available mobile payment options per company

URL: https://secure.3gdirectpay.com/API/v6/


Response

The method will response with the result of your request


Variables to send:

Parameter

Data type

Description


 Request

 Text

 CompanyMobilePaymentOptions

Mandatory

CompanyToken

Token

Token you got from 3G to operate this API

Mandatory

Request example:


request example
<?xml version="1.0" encoding="utf-8"?>
<API3G>
  <CompanyToken>57466282-EBD7-4ED5-B699-8659330A6996</CompanyToken>
  <Request>CompanyMobilePaymentOptions</Request>
</API3G>


Respond:

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

Parameter

Data type

Description

terminalmnocountry

Text

Country

terminalmno

Text

Provider name

terminaltype

Text

Terminal Type

terminalredirecturi

bit

If redirect uri is set

Respond codes:


Code

Explanation

801

Request missing company token

802

Company token does not exist

803

No request or error in Request type name

804

Error in XML

904

Can't return Mobile Terminals

950

Request missing transaction level mandatory fields


Respond example:


response example
<?xml version="1.0" encoding="utf-8"?>
<API3G>
<paymentoptionsmobile>
			<terminalmobile>
			<terminalredirecturi>0</terminalredirecturi>
			<terminaltype>Mobile</terminaltype>
			<terminalmno>SafaricomSTKv2</terminalmno>
			<terminalmnocountry>Kenya</terminalmnocountry>
		</terminalmobile>
		<terminalmobile>
			<terminalredirecturi>0</terminalredirecturi>
			<terminaltype>CL</terminaltype>
			<terminalmnocountry>tanzania</terminalmnocountry>
			<terminalmno>tigo</terminalmno>
		</terminalmobile>
</paymentoptionsmobile>
</API3G>