login
HTTP method: POST
The login method requires authentication, and you use it to log on before making other API calls.

Test URL | https://testgateway.altapaysecure.com/merchant/API/<method> |
Production URL | https://<YourShopName>.altapaysecure.com/merchant/API/<method> |

The table shows the most pertinent response values for the method. For a complete list of API response parameters, see API Response structure (XML).

Minimal Request
curl --request POST \ --url https://<YourShopName>.altapaysecure.com/merchant/API/login \ --header 'Authorization: Basic auth' \
Example XML response for a successful login
<APIResponse version="20170228"> <Header> <Date>2020-11-07T14:41:31+01:00</Date> <Path>API/login</Path> <ErrorCode>0</ErrorCode> <ErrorMessage/> </Header> <Body> <Result>OK</Result> </Body> </APIResponse>