VenmoClient

constructor(context: Context, authorization: String, appLinkReturnUrl: Uri, deepLinkFallbackUrlScheme: String? = null)

Initializes a new VenmoClient instance

Parameters

context

an Android Context

authorization

a Tokenization Key or Client Token used to authenticate

appLinkReturnUrl

A Uri containing the Android App Link website associated with your application to be used to return to your app from the PayPal

deepLinkFallbackUrlScheme

A return url scheme that will be used as a deep link fallback when returning to your app via App Link is not available (buyer unchecks the "Open supported links" setting).


constructor(context: Context, authorization: String, returnUrlScheme: String? = null)

Deprecated

Use the constructor that uses an `appLinkReturnUrl` to redirect back to your application instead.

Initializes a new VenmoClient instance

Parameters

context

an Android Context

authorization

a Tokenization Key or Client Token used to authenticate

returnUrlScheme

a custom return url to use for browser and app switching