get Sift Configuration
Fetches the Sift configuration from the API and caches it locally.
Return
The parsed ConfigurationResponses.GetSiftConfigurationResponse, or null if the request fails or the response cannot be parsed.
fun getSiftConfiguration(completionHandler: (ConfigurationResponses.GetSiftConfigurationResponse?) -> Unit)
Fetches the Sift configuration from the API and caches it locally, delivering the result via a callback.
Parameters
completion Handler
Invoked with the parsed ConfigurationResponses.GetSiftConfigurationResponse, or null if the request fails or the response cannot be parsed.