Log in with PayPal status

Polls the outcome of a Log in with PayPal attempt for the authenticated withdrawer. The widget calls this while its popup is open; the server-side return handler links the account and records linked/error on the session, so completion never relies on the popup messaging the widget.

Authentication

x-coinflow-auth-user-idstring
The external identifier of the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
Authorizationstring
The API key of the merchant - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
OR
x-coinflow-auth-walletstring
The web3 wallet of the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
x-coinflow-auth-blockchainstring
The blockchain associated with the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
x-coinflow-auth-merchant-idstring
The merchant ID the session should be generated for
OR
x-coinflow-auth-session-keystring
The session key generated for the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key

Query parameters

sessionIdstringRequired

Response

Ok
statusenum

States of a single Log in with PayPal attempt. cancelled is a distinct terminal state for when the withdrawer declines consent on PayPal (no code to exchange) — the widget returns quietly to the methods screen rather than showing a linking-failed error.