Skip to navigation

Start Log in with PayPal

Begins the “Log in with PayPal” flow. Returns the PayPal authorization URL to redirect the withdrawer to, a signed state that must be echoed back to the callback endpoint, and a sessionId the widget polls (via ) to learn when linking finished.

Authentication

x-coinflow-auth-user-idstring
OR
x-coinflow-auth-walletstring
x-coinflow-auth-blockchainstring
x-coinflow-auth-merchant-idstring
The merchant ID the session should be generated for
OR
x-coinflow-auth-session-keystring

Request

This endpoint expects an object.
returnUrlstringOptional

Headless (API) flow: the merchant page to send the withdrawer back to once linking completes. PayPal returns to Coinflow's own fixed handler, which then redirects the browser here. Must be one of the merchant's whitelisted URLs. Omit for the core-flows widget (which uses Coinflow's own return page).

Response

Ok
sessionIdstring
statestring
urlstring