See: Description
Interface | Description |
---|---|
IApiManagement |
Access to the Ingenico APIs access control service.
|
Class | Description |
---|---|
ApiManagement |
Access to the Ingenico APIs access control service.
|
ApiManagementToken | Deprecated
IApiManagement.getUsageToken() won't return an instance of this class anymore. |
In order to use the Ingenico API on an Ingenico terminal, the Android application must first
subscribe with an initial token provided by Ingenico. The
IApiManagement.subscribe(java.lang.String)
method is used
to access the API management service embedded on the terminal. When a call to this method is
done, the service will do the following:
If an error is returned by the subscribe method, or if an API is called without authorization,
an ApiManagementException
will be thrown.
Once a first subscribe request has been successful, it is possible to retrieve the usage token
with the IApiManagement.getUsageToken()
method. Only one
usage token is available for an Android application at a time. Forcing the renewal of the token
using a new isvRecord value or the forceRenewal parameter will change the value of
the usage token. Using a new initial token will also trigger a renewal of the usage token, and
can also change the access rights of the Android application.