Country_Enquiry
This method will return the supported country that configured for partner account.
Request Parameters
No. | Parameter Name | Mandatory/ Optional | Parameter Data Type | Sample Parameter Data | Description |
1 | DealerTransactionID | M | String | 0a792511-5f1a-4705- 9381-b628992b1a2d | The unique transaction ID from partner system. |
2 | Credentials.UID | M | String | partner_api | The API user ID that assigned to partner. |
3 | Credentials.PWD | M | String | m8tA24bW | The API password that assigned to partner. |
4 | Credentials.Signature | M | String | e0ea4fc301155 2e6f799a447e72f9341 | The digital signature that hashed with MD5 algorithm. Please refer section “Appendix: Digital Signature Hashing Algorithm” to hashing reference. |
Sample Request SOAP
1 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 2 xmlns:tem="http://tempuri.org/" 3 xmlns:tran="http://schemas.datacontract.org/2004/07/Tranglo20.Business.Processor" 4 xmlns:tran1="http://schemas.datacontract.org/2004/07/Tranglo20.Common.Entity"> 5 <soapenv:Header/> 6 <soapenv:Body> 7 <tem:Country_Enquiry> 8 <tem:req> 9 <tran:DealerTransactionId>10000</tran:DealerTransactionId> 10 <tran:Credentials> 11 <tran1:UID>partner_api</tran1:UID> 12 <tran1:PWD> m8tA24bW </tran1:PWD> 13 <tran1:Signature>0a792511-5f1a-4705-9381-b628992b1a2d 14 </tran1:Signature></tran:Credentials> 15 </tem:req> 16 </tem:Country_Enquiry> 17 </soapenv:Body> 18 </soapenv:Envelope>
Response Parameters
No. | Parameter Name | Parameter Data Type | Sample Parameter Data | Description |
1 | Status.Code | String | 000 | The status code of the request. |
2 | Status.Description | String | Transaction is Successful | The description of the status code. |
3 | Status.Type | String | Approved | The category of the status code. There is 3 different Type – Approved, Error, and Pending. |
4 | SupportedCountry | String | Anguilla|Antigua and Barbuda|Afghanistan|Argentina | The list of the supported countries delimited by “|” |
Sample Response
1 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> 2 <Country_EnquiryResponse xmlns="http://tempuri.org/"> 3 <Country_EnquiryResult 4 xmlns:a="http://schemas.datacontract.org/2004/07/Tranglo20.Business.Processor" 5 xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> 6 <a:Status 7 xmlns:b="http://schemas.datacontract.org/2004/07/Tranglo20.Common.Entity"> 8 <b:Code>000</b:Code> 9 <b:Description>Transaction is Successful</b:Description> 10 <b:Type>Approved</b:Type> 11 </a:Status> 12 <a:SupportedCountry>Anguilla|Antigua and Barbuda|Afghanistan|Argentina|Albania|Bangladesh|Brazil| Barbados|Bolivia|Benin|Bermuda|Burkina Faso|Botswana|China|Colombia|Cuba|Cayman Islands|Chile|Cameroon|Cote D'Ivoire|Congo|Cyprus|Central African Republic|Cambodia| Congo, the Democratic Republic of the|Costa Rica|Dominica Republic|Dominica|Egypt|Ecuador| El Salvador|Ethiopia|Guatemala|Guyana|Grenada|Ghana|Guinea|Guadeloupe|Guinea-Bissau|Haiti| Honduras|Indonesia|India|Iraq|Jordan|Jamaica|Kenya|Kyrgyzstan|Lebanon|Liberia| La o People's Democratic Republic|Malaysia|Mexico|Montserrat|Madagascar|Morocco|Mali| Martinique|Moldova, Republic of|Nepal|Nicaragua|Niger|Nigeria|Philippines|Pakistan| Poland|Palestinian Territory, Occupied|Panama|Peru|Puerto Rico|Papua New Guinea| Paraguay|Romania|Rwanda|Russian Federation|Sri Lanka|Syrian Arab Republic|Saint Lucia| Suriname|Saint Kitts and Nevis|Saint Vincent and the Grenadines|Senegal|South Africa| Sudan|Singapore|Samoa|Swaziland|Spain|Sierra Leone|Thailand|Turkey|Tanzania, United Republic of|Trinidad and Tobago|Turks and Caicos Islands|Tunisia|Togo| Tajikistan|Uganda|United States|Uruguay|Ukraine|United Kingdom|Uzbekistan|Vietnam| Venezuela|Virgin Islands, British|Yemen|Zambia|Zimbabwe</a:SupportedCountry> 13 </Country_EnquiryResult> 14 </Country_EnquiryResponse> 15 </s:Body> 16 </s:Envelope>