PayPal
Overview
PayPal payouts allow users to receive instant payments directly to their PayPal account. This payout method is available for US-based users and provides a familiar, convenient payment experience.
UI Implementation
If you’re using Coinflow’s Bank Authentication UI, PayPal support is automatically included once enabled on your merchant account.
For Merchant-Initiated Payouts:
- Users can link their PayPal account directly through the UI
- Retrieve the PayPal token using the Get Withdrawer Endpoint
- Pass the token to your payout endpoint just like bank account or card tokens
For User-Initiated Payouts via SDKs:
- No additional implementation required
- Contact your Coinflow integration specialist to enable PayPal for your account
- PayPal will automatically appear as a payout option in the SDK
API Implementation
After following your usual KYC verification flow, follow these steps to allow linking a PayPal payout destination:
- Link PayPal Account
This allows the withdrawer to add a PayPal account associated with their email address as a payout destination.
Request
A raw email or phone number is only as accurate as what the withdrawer types. If they mistype their PayPal contact — or enter one they don’t own — the payout fails later at disbursement. To eliminate that failure mode, link a verified PayPal account with Log in with PayPal instead.
- Call Get Withdrawer
This allows you to get the tokenized PayPal account details.
RequestResponse
- Initiate Payout
This allows the withdrawer to request a payout and receive funds directly to their PayPal account.
RequestResponse
Important: Endpoint Varies by Payout Flow
The endpoint to initiate a payout may differ depending on your payout flow:
- Merchant-funded payouts: Pass the PayPal token to the do payout endpoint
- User-initiated payouts: Pass the PayPal token to the get transaction endpoint
Log in with PayPal (Verified Linking)
Instead of trusting a raw email or phone number, you can have withdrawers log in to PayPal and consent to sharing their identity. Coinflow then links the payout account to the email PayPal has confirmed the user owns, so the payout target can no longer be mistyped or point at an account the withdrawer doesn’t control.
This uses PayPal’s Log in with PayPal
OAuth flow. Coinflow owns the PayPal integration end-to-end: PayPal always returns to
Coinflow, Coinflow links the verified account, and then redirects the withdrawer back
to a page on your site. You never register anything with PayPal and never handle the
authorization code yourself.
Prerequisites
Log in with PayPal must be enabled on your Coinflow merchant account — contact your
Coinflow integration specialist. The returnUrl you supply below must be one of your
merchant account’s whitelisted URLs; the values shown here (https://your-app.example.com/...)
are examples only.
Integration Steps
Start the login flow
Call the start endpoint with a returnUrl — the page on your site to send the
withdrawer back to once linking finishes. Coinflow responds with a PayPal url to
redirect to (and a state, which you don’t need to store — Coinflow handles it).
Redirect the withdrawer to PayPal
Send the withdrawer to the returned url. They log in to PayPal and consent to
sharing their name and email. PayPal then redirects them to Coinflow’s hosted
return handler — not to your site. You don’t configure or handle this URL.
Coinflow links the account and returns the withdrawer to you
Coinflow exchanges the code, verifies the identity, links the verified PayPal
payout account, and then redirects the withdrawer’s browser back to your
returnUrl with a result flag appended:
On failure the flag is paypalLinked=error. No callback request is required from
you — the account is already linked by the time the withdrawer lands back on your
page.
Initiate the payout
Fetch the withdrawer’s now-linked PayPal token via Get Withdrawer and initiate a payout exactly as shown in the API Implementation steps above — verified accounts pay out over the same rails.
Because PayPal always returns to Coinflow’s own URL, you never register a redirect URL
with PayPal and never see the authorization code. You only provide a returnUrl on
your site, which must be one of your merchant account’s whitelisted URLs.
Requiring Verified Linking
Merchants can require that all new PayPal payout accounts be linked through Log in
with PayPal. When this is enabled on your account, the standard
Link PayPal Account endpoint rejects raw email/phone adds with
a 403 and a machine-readable error code so you can route the withdrawer into the
login flow instead:
This setting is not retroactive — PayPal accounts that were already linked by email or phone remain payable. It only affects new account adds. Contact your Coinflow integration specialist to enable it.

