---
title: "Start Log in with PayPal"
method: POST
path: "/withdraw/paypal/login"
tags: ["withdraw"]
---

# Start Log in with PayPal

`POST /withdraw/paypal/login`

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.

## Headers

- `x-coinflow-auth-user-id` string, required

## Request body

- StartPaypalLoginArgs — Body for `POST /withdraw/paypal/login` — begins Log in with PayPal.
  - `returnUrl` string — 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 `200`

Ok

- WithdrawStartPaypalLoginResponse200
  - `sessionId` string, required
  - `state` string, required
  - `url` string, required

---

[API](https://skmtc.net/coinflow/apis/api-reference.md) · [All operations](https://skmtc.net/coinflow/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coinflow/api-reference/versions/7eea51c8775d/schema)
