createPaymentAuthRequest
fun createPaymentAuthRequest(context: Context, request: VenmoRequest, callback: VenmoPaymentAuthRequestCallback)
Start the Pay With Venmo flow.
On success calls callback with a VenmoPaymentAuthRequest.ReadyToLaunch containing the VenmoPaymentAuthRequestParams to be used to authenticate the user by switching to the Venmo app or mobile browser in VenmoLauncher.launch.
On failure calls callback with a VenmoPaymentAuthRequest.Failure containing an exception.
Parameters
suspend fun createPaymentAuthRequest(context: Context, request: VenmoRequest): VenmoPaymentAuthRequest
Start the Pay With Venmo flow.
On success returns a VenmoPaymentAuthRequest.ReadyToLaunch containing the VenmoPaymentAuthRequestParams to be used to authenticate the user by switching to the Venmo app or mobile browser in VenmoLauncher.launch.
On failure returns a VenmoPaymentAuthRequest.Failure containing an exception.
Return
Parameters
context
Android Context
request