Wallet API
object WalletAPI
Provides wallet-related API operations, including Google Pay configuration retrieval.
Each operation is available as both a coroutine suspend function and a callback-based overload.
Functions
Link copied to clipboard
suspend fun getGooglePayConfiguration(): Pair<WalletResponses.GetGooglePayConfigurationResponse?, NetworkingError?>
Fetches the Google Pay merchant configuration using the merchant's publishable key.
fun getGooglePayConfiguration(completionHandler: (WalletResponses.GetGooglePayConfigurationResponse?, NetworkingError?) -> Unit)
Fetches the Google Pay merchant configuration using the merchant's publishable key and delivers the result to the provided callback.