Tigo Online Payment API Guide
Tigo Online Payment API Guide
Version 0.12
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 2
Global Mobile Financial Services Partner Developer’s Guide
Table of Content
Table of Contents
1. Introduction to Millicom ................................................................................. 5
2. About this guide ............................................................................................. 6
2.1. Introduction ............................................................................................................................................6
2.2. Conventions ............................................................................................................................................6
2.2.1. Code and API references ............................................................................................................... 6
2.2.2. Sample data........................................................................................................................................ 6
2.2.3. Warning ............................................................................................................................................... 6
2.2.4. Note ........................................................................................................................................................ 6
2.3. Definitions ...............................................................................................................................................6
3. Application integration guidelines .................................................................. 7
3.1. Connectivity and communication ................................................................................................ 7
3.2. Integration steps ................................................................................................................................. 7
3.3. Partner Mobile Accounts ................................................................................................................. 8
3.4. Session Access Token ........................................................................................................................ 9
3.5. System Status heartbeat signal .....................................................................................................9
3.6. International Remittance Money Deposit................................................................................. 9
3.7. Payment Authorization ................................................................................................................. 11
3.7.1. Payment Authorization via SMS verification code........................................................ 11
3.7.2. Payment Authorization via USSD Push.............................................................................. 15
3.8. Reverse Transaction ....................................................................................................................... 17
4. API Specification............................................................................................19
4.2. Introduction ....................................................................................................................................... 19
4.3. Generate Access Token Service.................................................................................................. 19
4.3.1. Request .............................................................................................................................................. 19
4.3.2. Response............................................................................................................................................ 20
4.4. System Status Service .................................................................................................................... 21
4.4.1. Request .............................................................................................................................................. 21
4.4.2. Response............................................................................................................................................ 21
4.5. Payment Authorization service.................................................................................................. 22
4.5.1. Request .............................................................................................................................................. 22
4.5.2. Response............................................................................................................................................ 24
4.5.3. Payment status callback............................................................................................................ 25
4.6. Validate MFS Account Service .................................................................................................... 28
4.6.1. Request .............................................................................................................................................. 28
4.6.2. Response............................................................................................................................................ 29
4.7. Deposit Remittance Service ......................................................................................................... 30
4.7.1. Request .............................................................................................................................................. 30
4.7.2. Response............................................................................................................................................ 32
4.8. Reverse Transaction service ....................................................................................................... 33
4.8.1. Request .............................................................................................................................................. 33
4.8.2. Response............................................................................................................................................ 34
4.9. Payment Authorization Transaction Status service .......................................................... 35
4.9.1. Request .............................................................................................................................................. 35
4.9.2. Response............................................................................................................................................ 35
4.10. Deposit Remittance Transaction Status service.................................................................. 38
4.10.1. Request .............................................................................................................................................. 38
4.10.2. Response............................................................................................................................................ 38
A. Appendices ...................................................................................................41
A.1. Currency Codes ................................................................................................................................. 41
i
Global Mobile Financial Services
Partner Developer’s Guide
ii
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 4
Global Mobile Financial Services Partner Developer’s Guide
Version Control
iii
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 5
Global Mobile Financial Services Partner Developer’s Guide
1. Introduction to Millicom
Founded in 1990 and headquartered in Luxembourg with corporate offices in
Stockholm, London and Miami, Millicom’s subsidiaries operate exclusively in
emerging markets in Africa and Latin America. Millicom’s shares are listed on the
Nasdaq OMX exchange in Stockholm and Millicom’s market capitalisation was
SEK64 billion ($9.9 billion) at the end of 2013.
Millicom has divided its business into four strategic pillars. An overview of our
progress on the strategic pillars is given as follows:
1
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 6
Global Mobile Financial Services Partner Developer’s Guide
This reference document is intended for Millicom partners to plan, build and
deploy applications that wish to connect and use the Tigo Mobile Financial
Services (MFS).
The two services currently provided:
Online payments
International money transfers to Tigo mobile wallet.
2.2. Conventions
2.2.1. Code and API references
Any code or API references are specified in the Courier font: for example see the
GenerateAccessToken API
2.2.3. Warning
Warning: is shown in a red colored text box with an icon to catch the
attention. Most warnings are security related.
2.2.4. Note
A note is shown to catch attention and provide useful information and
extra explanation of the applicable section
2.3. Definitions
Term Definition
API Application Programming Interface
UAT User Acceptance Testing
JSON JavaScript Object Notation
MFS Mobile Financial Services
OTP One Time PIN
SSL Secure Sockets Layer
URI Uniform Resource Identifier
2
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 7
Global Mobile Financial Services Partner Developer’s Guide
All communication with the Tigo Secure Server use HTTPS / SSL to exchange
information. The Payment Authorization solution is established via one-way SSL.
The international remittance deposit money service requires two-way SSL and IP
whitelisting.
3
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 8
Global Mobile Financial Services Partner Developer’s Guide
5. Submit the IP address of the server(s) that will connect with Tigo Secure in
order to whitelist
Signed NDA
Company to provide KYC details
o Differs from country to country but high level is:
o Business Name
o Business License
o Tax Identification Number
o Stated Capital
o Contact person(s) details & ID
Bank account details of account in local bank
Depending on the use cases and the functionality/product launched these can be
broadly classified into 2 kinds of accounts:
1. Pre-Funded Account
2. Collection Account
The settlement process is usually agreed between both entities that governs
the management of the e-money and real money
4
Global Mobile Financial Services
Partner Developer’s Guide Millicom International Cellular SA 9
Global Mobile Financial Services Partner Developer’s Guide
Warning: You should never authenticate using the API Key and Secret
directly from a client-side app such as a mobile app. A hacker could
analyze your app and extract the credentials for malicious use even if
those credentials are compiled and in binary format. [Source: Apigee]
(1,2) An Access token has to be requested for the Tigo Secure Server via the
GenerateAccessToken service (section 4.3) using the Apigee API Key and
secret.
(3-6) The next optional step is to Validate the MFS Account via the
ValidateMFSAccount service (section 4.6.1). In case no validation is done and
the receiving Tigo subscriber does not have an MFS account then the next step to
actually deposit the remittance will fail in which case an (optional) text message
is sent suggesting the subscriber to sign up of an MFS account.
5
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 10
Global Mobile Financial Services Partner Developer’s Guide
(7-10) the Remittance Partner can deposit the amount in the local currency via
the DepositRemittance service (section 4.7.1).
(11) The receiving Tigo subscriber will receive a text message in case this is
specified in the request. This text message will be generated in the following two
scenarios:
Successful deposit a text message informing the subscriber that an
international remittance has been received with the amount, name of the
remittance partner and optionally the name of the sender (if provided in
the request)
Unsuccessful remittance cause by the receiving subscriber not having a
MFS wallet a text message informing the subscriber that an international
remittance was missed with the amount, name of the remittance partner,
optionally the name of the sender (if provided in the request) - and the
advice to open a Tigo MFS account
The Access Token is invalidated after the expiry time as specified in the Generate
Access Token Response (section 4.3.2).
6
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 11
Global Mobile Financial Services Partner Developer’s Guide
The Payment Authorization service is based on a URI redirect whereby the actual
payment verification and authentication by subscriber is entirely handled on the
Tigo Secure server. The next sections show the flows of the payment
authorization where the verification is done via SMS in case of the Africa region
and via USSD push for LATAM.
The initial language of the Tigo Secure webpages shown is set via the language
parameter in the request. It is preferable to keep the language the same as the
page from which the customer is redirected. The customer has the option to
select a different language on the webpage itself as well.
7
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 12
Global Mobile Financial Services Partner Developer’s Guide
(1) The subscriber/customer initiates a Tigo MFS payment via the Merchant.
(2-3) An Access token is requested for the Tigo Secure Server via the
GenerateAccessToken service (Section 4.3.1) using the Apigee API Key
and secret.
(4-8) The Payment Authorization Request is made with the necessary payment
details (Section 4.5.1) this will return a re-direct URL to the Tigo Secure
Payment Authorization page to which the customer has to be redirected.
8
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 13
Global Mobile Financial Services Partner Developer’s Guide
9
Global Mobile Financial Services
Partner Developer’s Guide
(17-19) The customer provides the MFS PIN and the purchase call to make the
payment is sent.
(21) An optional callback URI is called with the final transaction status. This
callback URI can be used in case the front-end server does not allow
processing the financial transaction status.
The non-nominal cases for the Payment Authorization using SMS verification are
shown below
10
Global Mobile Financial Services
Partner Developer’s Guide
This USSD menu is pushed to the customer’s mobile phone and requests to
validate the transaction by sending the Tigo MFS PIN code. The flow is shown
below:
11
Global Mobile Financial Services
Partner Developer’s Guide
(1) The subscriber/customer initiates a Tigo MFS payment via the Merchant.
(2-3) An Access token is requested for the Tigo Secure Server via the
GenerateAccessToken service (Section 4.3.1) using the Apigee API Key
and secret.
12
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 17
Global Mobile Financial Services Partner Developer’s Guide
(14) An optional callback URI is called with the final transaction status. This
callback URI can be used in case the front-end server does not allow
processing the financial transaction status.
13
Global Mobile Financial Services
Partner Developer’s Guide
14
Global Mobile Financial Services
Partner Developer’s Guide
4. API Specification
4.2. Introduction
This section covers the API specifications. Each service is divided in a Request
and Response section containing the overview of the parameters and example
requests and responses. The list of error codes is included in Annex A.6.4.
The following third-level domains are available for the Tigo Secure services:
In the sections below the service URLs are relative to these two Tigo Secure
domains. For example for a service called ‘service1’ the following URL is
specified in the API specification:
<domain>/v1/service1
4.3.1. Request
15
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 20
Global Mobile Financial Services Partner Developer’s Guide
4.3.2. Response
In case as valid client_id and client_secret are submitted the following response is
returned:
HTTP response code: 200 OK
JSON response body:
Parameter Type Description
accessToken String unique access token
issuedAt Integer Access Token issue Date and time as Unix time
expiresIn Integer Expiry time in seconds
Table 1: Generate Access Token Response parameters
Example response:
Response code: 200 OK
Response body:
{
"accessToken": " ABcdef123456ABcdef123456ABcd",
"issuedAt": "1410268728383",
"expiresIn": "599",
}
Example response:
Response code: 401 Unauthorized
Response body:
{
"ErrorCode" : "invalid_client",
"Error" :"Client credentials are invalid"
}
16
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 21
Global Mobile Financial Services Partner Developer’s Guide
4.4.1. Request
System Status Request
URL <domain>/v1/tigo/systemstatus
Method GET
Header accessToken <valid access token>
4.4.2. Response
Average response time: < 1 second
Maximum response time: 5 seconds
Example response:
{
"tigoSecureStatusCode" : 0,
"statusDescription" : "OK",
"TigoOperationStatus" :
{
{"country":"TZA", "code":0, "description":"OK"}
{"country":"SEN", "code":0, "description":"OK"}
}
}
17
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 22
Global Mobile Financial Services Partner Developer’s Guide
18
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 23
Global Mobile Financial Services Partner Developer’s Guide
Sample Request:
{
"MasterMerchant":
{
"account":"255321321321",
"pin":"1234",
"id":"CompanyName"
},
"Merchant":
{
"reference":"Amazon",
"fee":"23.45",
"currencyCode":"EUR"
},
"Subscriber":
{
"account":"255111111111",
"countryCode": "255",
"country":"tza",
"firstName":"John",
"lastName":"Doe",
"emailId" : "johndoe@mail.com"
},
"redirectUri":"https://someapp.com/payment/redirecturi",
"callbackUri":"https://someapp.com/payment/statuscallback",
"language":"eng",
"terminalId":"",
"originPayment":
{
"amount":"75.00",
"currencyCode":"USD",
"tax":"0.00",
"fee":"25.00"
}
"exchangeRate":"2182.23",
"LocalPayment":
{
"amount":"218223.00",
"currencyCode":"TZS"
},
"transactionRefId":"0a1e39ab"
}
Make sure to use the Access Token only once to initiate a Payment
Authorization. For each Payment Authorization request a new access
token has to be generated. This is because the access token is invalidated
after the transaction completed. Any other additional transaction
initiated with the same access token will therefore fail.
19
Global Mobile Financial Services
Millicom International Cellular
Partner SA s24Guide
Developer’
Global Mobile Financial Services Partner Developer’s Guide
4.5.2. Response
Average response time: < 1 second
Maximum response time: 5 seconds
Example response:
{
"transactionRefId":"0a1e39ab",
"redirectUrl":"
https://securesandbox.tigo.com/v1/payment_auth/transactions?…
auth_code=123123123&transaction_ref_id=0a1e39ab&lang=eng",
"authCode" : "123123123",
"creationDateTime":"Fri, 10 Oct 2014 13:58:25 UTC"
}
Parameter Description
trans_status Transaction status:
success for a successful transaction
fail in case of a failed transaction
transaction_ref_id Transaction Reference Identifier as specified in the
request
external_ref_id [optional] Tigo transaction Id of the request and
20
Global Mobile Financial Services
Partner Developer’s Guide Millicom International Cellular SA 25
Global Mobile Financial Services Partner Developer’s Guide
POST HTTP/1.1
Host: <callback URI>
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache
trans_status=success&transaction_ref_id=0a1e39ab
&external_ref_id=38c1069f-2497-4f9c-
9&mfs_id=CO140924.1414.A00113&verification_code=pfCIHgyWWg6qsUIOVFS
u2HR3F4jy&lang=eng
21
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 26
Global Mobile Financial Services Partner Developer’s Guide
POST HTTP/1.1
Host: <callback URI>
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache
trans_status=fail&transaction_ref_id=0a1e39ab-d0ec-4f8b-9746-
b2c4122220b2123&error_code= purchase-3008-30434-E>
After the payment status callback a HTTP redirect will be done to the URI as
specified in the redirectUri parameter in the Payment Authorization Request
without any extra parameters.
Note that in case no callbackUri was specified in the original request the
payment status is reported back in the redirectUri in the manner as for the
callback URI explained above.
22
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 27
Global Mobile Financial Services Partner Developer’s Guide
4.6.1. Request
Example request:
{
"transactionRefId" : "1300074238",
"ReceivingSubscriber" :
{
"account" : "255658123964",
"countryCallingCode" : "255",
"countryCode" : "TZA",
"firstName" : "John",
"lastName" : "Doe"
}
}
23
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 28
Global Mobile Financial Services Partner Developer’s Guide
4.6.2. Response
{
"ValidateMFSAccountResponse":
{
"ResponseHeader":
{
"GeneralResponse":
{
"correlationID":1234,
"status":"OK",
"code":"Validatemfsaccount-3018-0000-S",
"description":"Provided MSISDN is a valid
MFSAccount."
}
},
"ResponseBody":
{
"validMFSAccount":"true"
}
}
}
24
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 29
Global Mobile Financial Services Partner Developer’s Guide
{
"Fault": {
"faultcode": "env:Server",
"faultstring": "Subscriber not found.",
"detail": {
"ValidateMFSAccountFault": {
"ResponseHeader": {
"GeneralResponse": {
"correlationID": 1300074238,
"status": "ERROR",
"code": "Validatemfsaccount-3018-3001-E",
"description": "Subscriber not found."
}
}
}
}
With the Deposit Remittance Service the money for the international remittance
in deposited in the subscriber’s wallet. The partner wallet is debited and the
subscriber wallet is credited for the amount in the local currency as specified in
the request. The response will confirm success of failure of the money deposit
which includes a unique Transaction ID from the MFS platform.
4.7.1. Request
Deposit Remittance Request
URL <domain>/v1/tigo/mfs/depositRemittance
Method POST
Header Content-Type application/json
accessToken <valid access token>
25
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 30
Global Mobile Financial Services Partner Developer’s Guide
26
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 31
Global Mobile Financial Services Partner Developer’s Guide
4.7.2. Response
27
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 32
Global Mobile Financial Services Partner Developer’s Guide
Example Response
{
"DepositRemittanceResponse":
{
"ResponseHeader":
{
"GeneralResponse":
{
"correlationID":1300074238,
"status":"OK",
"code":"depositremittance-3017-0000-S",
"description":"The Transaction is completed
successfully."
}
},
"ResponseBody":
{
"transactionId":"CO140912.1700.A00059"
}
}
}
28
Global Mobile Financial Services
Partner Developer’s Guide
Example request:
{
"MasterAccount" :
{
"account" : "255321321321",
"pin" : "1234",
"id" : "CompanyName"
},
"transactionRefId" : "0a1e39ab",
"mfsTransactionId" : "CO140924.1414.A00113",
"countryCode" : "tza",
"subscriberAccount" : "255111111111",
"LocalPayment" :
{
"amount" : " 218223.00",
"currencyCode" :"TZS"
}
}
4.8.2. Response
29
Global Mobile Financial Services
Millicom International Cellular SA 34
Partner Developer’s Guide
Global Mobile Financial Services Partner Developer’s Guide
"MasterMerchant":
{
…
"id":"Company Name"
…
"transactionRefId":"0a1e39ab"
4.9.2. Response
30
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 35
Global Mobile Financial Services Partner Developer’s Guide
31
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 36
Global Mobile Financial Services Partner Developer’s Guide
{
"Transaction" :
{
"refId":"0a1e39ab-d0ec-4f8b-9746-b2c4122220b2c120ww40",
"externalRefId" : "38c1069f-2497-4f9c-9",
"mfsId" : "CO140924.1414.A00113",
"createdOn" : "Fri, 10 Oct 2014 13:58:25 UTC",
"status" : "success",
"completedOn" : "Fri, 10 Oct 2014 13:58:31 UTC",
},
"MasterMerchant":
{
"account":"255321321321",
"id":"Skrill Ltd"
},
"Merchant":
{
"reference":"Acme,Inc",
"fee":"23.45",
"currencyCode":"TZS",
}
"Subscriber":{
"account":"255111111111",
"countryCode": "255",
"country":"tza",
"firstName":"John",
"lastName":"Doe",
"emailId" : "johndoe@mail.com"
},
"redirectUri":"https://someapp.com/payment/redirecturi",
"callbackUri":" https://someapp.com/payment/statuscallback",
"language":"eng",
"terminalId":"",
"originPayment":
{
"amount":"75.00",
"currencyCode":"USD",
"tax":"0.00",
"fee":"25.00"
},
"exchangeRate":"2182.23",
"LocalPayment":
{
"amount":"218223.00",
"currencyCode":"TZS"
}
}
32
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 37
Global Mobile Financial Services Partner Developer’s Guide
{ "transactionRefId" : "1300074",
"PaymentAggregator" : {
…
"id" : "Company Name"
…
Example request:
GET /v1/tigo/mfs/depositRemittance/transactions/Company Name1300074
HTTP/1.1
Host: <host>
accessToken: <accessToken>
Cache-Control: no-cache
4.10.2. Response
33
Global Mobile Financial Services
Partner Developer’s Guide
Sender 0..1
firstName 1 String First name of the Sender
lastName 1 String Last name of the Sender
msisdn 0..1 String [optional] MSISDN of the Sender
emailAddress 0..1 String [optional] e-mail address of the Sender
ReceivingSubscriber 1
account 1 String MFS Account of the receiving subscriber
countryCallingCode 0..1 Integer [optional] Country Calling code
countryCode 1 String Three letter country code
(ISO 3166-1 Annex A.2)
firstName 1 String First name of the subscriber
lastName 1 String Last name of the subscriber
34
Global Mobile Financial Services
Partner Developer’s Guide
Example Response:
{
"Transaction": {
"refId": "1300074239",
"status": "success",
"mfsId": "CI141127.2125.A03951"
},
"PaymentAggregator" :
{
"account" : "255123123123",
"id" : "CompanyName"
},
"Sender" :
{
"firstName" : "Jane",
"lastName" : "Doe",
"msisdn" : "441512121212",
"emailAddress" : "janedoe@mail.com"
},
"ReceivingSubscriber" :
{
"account" : "255111111111",
"countryCallingCode" : "255",
"countryCode" : "TZA",
"firstName" : "John",
"lastName" : "Doe"
},
"OriginPayment" :
{
"amount" : "100.00",
"currencyCode" : "EUR",
"tax" : "10.00",
"fee" : "25.00"
},
" exchangeRate" : "2182.23",
"verificationRequest" : "false",
"sendTextMessage" : "true",
"localPayment" :
{
"amount" : "5555",
"currencyCode" : "TZS"
}
}
35
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 40
Global Mobile Financial Services Partner Developer’s Guide
A. Appendices
A.1. Currency Codes
The Millicom supported currency codes are according to the ISO 4217 standard.
Code Currency
BOB Boliviano
CDF Congolese franc
COP Colombian peso
EUR Euro
GHS Ghanaian cedi
GTQ Guatemalan quetzal
PYG Paraguayan guaraní
RWF Rwandan franc
TZS Tanzanian shilling
USD United States dollar
XAF CFA franc BEAC
XOF CFA Franc
36
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 41
Global Mobile Financial Services Partner Developer’s Guide
Code Country
BOL Bolivia, Plurinational State of
COD Congo, the Democratic Republic of the
COL Colombia
GHA Ghana
GTM Guatemala
HND Honduras
PRY Paraguay
RWA Rwanda
SEN Senegal
SLV El Salvador
TCD Chad
TZA Tanzania, United Republic of
37
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 42
Global Mobile Financial Services Partner Developer’s Guide
Code Language
ara Arabic
aym Aymara
cab Garifuna
emk Eastern Maninkakan
eng English
fra French
ful Fulah
grn Guarani
jod Wojenaka
jud Worodougou
kfo Koro (Côte d'Ivoire)
kga Koyaga
kin Kinyarwanda
lin Lingala
lua Luba-Lulua
miq Mískito
mku Konyanka Maninka
msc Sankaran Maninka
mxx Mahou
mzj Manya
que Quechua
snk Soninke
spa Spanish
srr Serer
swa Swahili (macrolanguage)
wol Wolof
38
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 43
Global Mobile Financial Services Partner Developer’s Guide
39
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 44
Global Mobile Financial Services Partner Developer’s Guide
The amounts in the API requests are formatted according to the following
standard:
######.##
Whereby . (dot) will be used as the separator character for decimals (cents). No
separator character is required (allowed) for thousands.
40
Global Mobile Financial Services Millicom International Cellular SA 45
Global Mobile Financial Services Partner Developer’s Guide
Partner Developer’s Guide
41
Global Mobile Financial Services
Partner Developer’s Guide
Millicom International Cellular SA 46
Global Mobile Financial Services Partner Developer’s Guide
42
Global Mobile Financial Services
Partner Developer’s Guide
{
"Fault":
{
"faultcode":"env:Server",
"faultstring":”<error description>”,
"detail":
{
"ValidateMFSAccountFault":
{
"ResponseHeader":
{
"GeneralResponse":
{
"correlationID":<Tigo correlation ID>,
"status":"ERROR",
"code":"<error code>”,
"description":"<error description>"
}
}
}
}
}
}
The error code provide in the “code” field has the following format:
43
Millicom International Cellular SA 48 Global Mobile Financial Services
Global Mobile Financial Services Partner Developer’s Guide Partner Developer’s Guide
Code Description
purchase-3008-0000-S Successful Payment
Code Description
validatemfsaccount-3018-0000-S Provided MSISDN is a valid MFS Account.
44
Global Mobile Financial Services
Partner Developer’s Guide
validatemfsaccount-3018-4501-V Invalid Request. Please check the input and resubmit OSB Validation Error
validatemfsaccount-3018-3001-E <Backend error description> Backend Error
validatemfsaccount-3018-2501-F One or more back ends may be down. Please try again Connection Error.
later.
validatemfsaccount-3018-2502-F Service call has timed out. Please try again later. Timeout error.
validatemfsaccount-3018-2505-F Service Authentication Failed. OWSM Authentication Failure.
validatemfsaccount-3018-2506-F Consumer is not authorized to use this service. OWSM Authentication Failure.
validatemfsaccount-3018-3603-E Internal service error has occurred. Internal service error.
validatemfsaccount-3018-3999-E Unknown/Uncaught error has occurred. Unknown/Uncaught error has occurred.
validatemfsaccount-3018-4502-V Invalid ISD code passed in the MSISDN Validation Error
validatemfsaccount-3018-4503-V Web Service Implementation is not available for this Validation Error
country
validatemfsaccount-3018-4504-V Required additional parameters are not passed in the When the required additional parameters are
request. not passed
validatemfsaccount-3018-4505-V Duplicate additional parameters passed in the request. When the required additional parameters are
repeated
validatemfsaccount-3018-4506-V Invalid consumerId passed in the request. When the consuming application does not send
the Id , which helps middleware to identify the
request originating request.
45
Global Mobile Financial Services
Millicom International Cellular SA 50
Partner Developer’s Guide
Global Mobile Financial Services Partner Developer’s Guide
Code Description
depositremittance-3017-0000-S The Transaction is completed successfully
46
Global Mobile Financial Services
Millicom International Cellular SA 51 Partner Developer’s Guide
Global Mobile Financial Services Partner Developer’s Guide
47
Global Mobile Financial Services
Partner Developer’s Guide
depositremittance-3017-4501-V Invalid Request. Please check the input and OSB Validation Error. This is a Tigo internal error and should
resubmit be treated ‘Service not available’
depositremittance-3017-4502-V Invalid ISD code passed in the MSISDN Validation Error. An incorrect MSISDN was sent. Send a new
request with a correct MSISDN
depositremittance-3017-4503-V Web Service Implementation is not available Validation Error. The selected country does not
for this country implemented the web service
depositremittance-3017-4504-V Required additional parameters are not This is a Tigo internal error and should be treated as ‘Service
passed in the request. not available’
depositremittance-3017-4505-V Duplicate additional parameters passed in When the required additional parameters are repeated
the request.
depositremittance-3017-4506-V Invalid consumerId passed in the request. When the consuming application does not send the Id ,
which helps middleware to identify the request originating
request
48
Global Mobile Financial Services
Tigo Pesa
Partner Developer’s Guide
49