VenmoButton
fun VenmoButton(style: VenmoButtonColor, venmoRequest: VenmoRequest, authorization: String, appLinkReturnUrl: Uri, deepLinkFallbackUrlScheme: String? = null, pendingRequestRepository: PendingRequestRepository = PendingRequestRepository(LocalContext.current, "venmo"), venmoTokenizeCallback: VenmoTokenizeCallback)
A composable that displays a Venmo branded button.
Parameters
style
: A VenmoButtonColor that determines the color of the button.
venmoRequest
: A VenmoRequest that provides the parameters to tokenize a Venmo account.
authorization
: An authorization string to use for tokenization.
appLinkReturnUrl
: A Uri that sends back control to the host app after Venmo flow completes.
deepLinkFallbackUrlScheme
: Fallback scheme in case appLinkReturnUrl doesn't work.
venmoTokenizeCallback
: A VenmoTokenizeCallback that handles the result of the tokenization.