BetterRewardsDocs
Open app
Browse guides

Paying partners (PayPal API, Wise API & manual CSV)

Pay partners with one click via PayPal Payouts API or Wise Business API (bank cards, Wise email, Alipay CNY), or fall back to manual CSV payouts.

3 min read · For companies

betterrewards never holds funds. You can connect PayPal Payouts API and/or Wise Business API to send payouts directly from your own accounts with two-step owner confirmation, while keeping manual CSV payouts available at all times.

Supported payout channels & APIs

ChannelRecipient methods supportedAPI & settlement features
PayPal Payouts APIPayPal (email or 13-character Payer ID)Sandbox & Live modes, OAuth2 token caching, batched per currency (POST /v1/payments/payouts), signed webhook verification (/api/webhooks/paypal), and background sync fallback.
Wise Business API v2Local bank transfers (USD ACH, EUR SEPA IBAN, GBP Sort Code, AUD BSB, CAD EFT, CNY China SWIFT, other SWIFT/BIC — partners do not need a Wise account), Wise email, and personal Alipay (CNY)Sandbox V2 (api.wise-sandbox.com) & Live (api.wise.com), automatic profile & balance lookup, Quote → Recipient → Transfer (UUIDv5 idempotency) → Balance Fund with built-in RSA-2048 SCA signature handling, RSA-SHA256 webhook verification (/api/webhooks/wise), and background sync.
Manual payouts (always on)Any method (generic CSV + PayPal Mass Payouts upload file)Download decrypted CSV with legal name & tax ID, pay outside betterrewards, and mark payouts paid (single or full batch) with a reference.

Wise Business API supports CNY payouts to personal Alipay (chinese_alipay, transfer purpose Services) and China bank accounts (SWIFT), but Wise does not allow business accounts to send to WeChat Pay (Weixin).

Dynamic partner method filtering

Partners automatically see only the payout methods supported by the channels you have enabled — enforced in both the partner portal UI and the server API:

Channels enabled by ownerMethods shown to partners
Wise API onlyLocal bank transfer (no Wise account needed), Wise email, Alipay (CNY)
PayPal API onlyPayPal
PayPal API + Wise APIPayPal, Local bank transfer, Wise email, Alipay (CNY)
Neither enabled (manual mode)PayPal, Wise email, Local bank transfer, Alipay (CNY), Other

How to connect PayPal and Wise

Configure payout channels during Product setup (Step 5: Payouts) or any time under Admin → Payouts → Payout channels. Only the instance owner can edit credentials or initiate API payouts; credentials are encrypted at rest with AES-256-GCM (environment variables take precedence when set).

  • PayPal: enter Client ID, Client Secret, and Webhook ID, choose Sandbox or Live, register https://<your-app>/api/webhooks/paypal in the PayPal Developer Dashboard, then click Test connection.
  • Wise: enter your Wise API Token, choose Sandbox or Live, click Test connection to list your Business profiles and live balances, generate an RSA SCA key pair in betterrewards and upload the public key in Wise Business Settings, and register https://<your-app>/api/webhooks/wise for transfers#state-change events.
  • Environment overrides (optional): PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET, PAYPAL_WEBHOOK_ID, PAYPAL_MODE, WISE_API_TOKEN, WISE_PROFILE_ID, WISE_SCA_PRIVATE_KEY, WISE_SOURCE_CURRENCY, WISE_MODE.

Running a payout batch safely

  1. Under Admin → Payouts, review the preview (ready partners, missing payout method, below minimum) and create a batch — or let your scheduled payout day prepare it automatically.
  2. For connected API channels, the owner clicks Pay via PayPal (N) or Pay via Wise (N). A two-step confirmation dialog shows the environment badge (Sandbox vs. Live real money), payout count, and total per currency before sending.
  3. Before calling the external API, betterrewards locks each payout row and moves it to Submitted with a deterministic idempotency key so duplicate clicks or retries never pay twice. Network/5xx errors stay Submitted for reconciliation rather than rolling back to Pending.
  4. When PayPal or Wise confirms settlement via webhook (or the 10-minute background payout-sync job / manual Sync button), the payout and its ledger entries move to Paid, the partner is emailed with the reference and printable statement, and your outbound webhook endpoints receive payout.confirmed.
  5. If a transfer fails or bounces back (e.g. Wise bounced_back or PayPal FAILED/RETURNED), the payout moves to Failed, its commission entries return to the partner's payable balance for the next batch, and the partner is emailed the reason.

Manual fallback remains available on every batch: download the generic CSV or PayPal upload file, pay externally, and mark payouts paid or failed by hand.