...
Request
Url - {baseUrl}/API/v7/UserAuth/
These parameters will be sent in the request body. (POST method)
...
Code Block |
---|
<?xml version="1.0" encoding="utf-8"?>
<API3G>
<Request>UserAuth</Request>
<userName>{userName}</userName>
<userPassword>{userPassword}</userPassword>
<companyCode>{companyCode}</companyCode>
<userPin>{userPin}</userPin>
</API3G>
|
...
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?>
<API3G>
<Code>000</Code>
<Explanation>Results Found</Explanation>
<UserToken>{UserToken}</UserToken>
<CompanyName>{CompanyName}</CompanyName>
<CompanyBrandName>{CompanyBrandName}</CompanyBrandName>
<CompanyCode>{CompanyCode}</CompanyCode>
<CompanyToken>{CompanyToken}</CompanyToken>
<Currencies>
<Currency>EUR</Currency>
<Currency>GHS</Currency>
<Currency>KES</Currency>
</Currencies>
</API3G>
|
...
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?> <API3G> <Code>999</Code> <Error>Missing <Explanation>Missing 2FA value</Error>Explanation> </API3G> |