...
URL: https://secure1.sandbox.directpay.online/API/v6/
Response
The method will response respond with the result of your requestinformation of the selected provider
Variables to send:
Parameter | Data type | Description | |
Request | Text | APItokenToCompanyCode | Mandatory |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory |
companyAPItokenUNQ | Token | Token you got from 3G customer | Mandatory |
Request example:
Code Block | ||||
---|---|---|---|---|
| ||||
<API3G> <CompanyToken>68B90B5E-23F6-4146-8AB1-C7A3A0C41A7F</CompanyToken> <Request>APItokenToCompanyCode</Request> <companyAPItokenUNQ>72983CAC-5DB1-4C7F-BD88-352066B71592</companyAPItokenUNQ> </API3G> |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <API3G> <Result>000</Result> <ResultExplanation>Found</ResultExplanation> <companyCode>demo1</companyCode> <CompanyName>3GDP TEST ACCOUNT</CompanyName> <BrandName>3GDP TEST ACCOUNT</BrandName> <websiteURL>http://www.domain.com</websiteURL> <CompanyEmail>test@3gdirectpay.com</CompanyEmail> <NotificationEmail /> <CompanyAddress>Company HQ address goes here</CompanyAddress> <CompanyCountry>United kingdom</CompanyCountry> <CompanyMarket>Mauritius</CompanyMarket> </API3G> |
Response codes:
Code | Explanation |
000 | Found |
700 | Not found |
801 | Request missing company token |
802 | Wrong CompanyToken |
803 | No request or error in Request type name |
804 | Error in XML |