withdraw

Log in with PayPal status

Changed on

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.

get/withdraw/paypal/login/status

Request

  • Base URL
    https://api-sandbox.coinflow.cash/api
  • URL
    https://api-sandbox.coinflow.cash/api/withdraw/paypal/login/status
  • Auth
    API key in header x-coinflow-auth-user-id

Query parameters

sessionIdstring required

Response

Ok

status'pending' | 'linked' | 'error' | 'cancelled' required

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.

Changes

    • warning

      deleted the header request parameter x-coinflow-auth-user-id

    • info

      the endpoint scheme security userId was added to the API

    • info

      api operation id get-paypal-login-status removed and replaced with withdraw_GetPaypalLoginStatus