Connect PayPal to HavenPay and collect in USD, EUR, GBP, and more — alongside your M-Pesa and Airtel Money integrations. One dashboard, every payment method.
PayPal uses a redirect flow — different from M-Pesa STK push, but fully automated once configured.
Your server calls HavenPay's STK push endpoint. HavenPay creates a PayPal order and returns an approval URL.
Redirect the customer to the PayPal checkout page. They log in and approve with their PayPal account or card.
PayPal posts a CHECKOUT.ORDER.APPROVED event. HavenPay captures the payment server-side within seconds.
On PAYMENT.CAPTURE.COMPLETED, HavenPay fires your configured webhook and updates your merchant ledger.
HavenPay returns the PayPal approval URL as merchant_request_id in the STK push response. Redirect your customer there and HavenPay handles the rest automatically via webhook.
Full PayPal integration, production-ready out of the box.
Accept payments from customers in 200+ countries. Your HavenPay dashboard unifies PayPal alongside M-Pesa and Airtel — one ledger, every currency.
PayPal checkout gives customers the flexibility to pay with a saved card, their PayPal balance, or PayPal Pay Later — at no extra integration work.
Every transaction is covered by PayPal's dispute resolution. Chargebacks are handled by PayPal directly, not deducted silently from your balance.
PAYMENT.CAPTURE.COMPLETED and CHECKOUT.ORDER.APPROVED events are verified against your Webhook ID before HavenPay credits your wallet.
When a customer approves a PayPal order, HavenPay captures it immediately via a server-side call — no manual step, no uncaptured orders left pending.
PayPal, M-Pesa, and Airtel transactions all appear on one Transactions page with consistent status labels, receipt numbers, and export support.
Transact in USD, EUR, GBP, CAD, AUD, SGD, and more. Set your preferred currency per integration via the metadata field — no code changes needed.
Your PayPal Client ID and Secret are stored AES-256 encrypted at rest, the same way every other provider credential is protected in HavenPay.
Set your preferred currency once in the PayPal metadata field. HavenPay passes it through to every order automatically.
+ dozens more via PayPal's supported currency list. KES available for select PayPal account regions.
Setup takes under five minutes. You only need a PayPal developer account and one app credential pair.
POST /v1/payments/stk-push
{
"phone": "customer@email.com",
"amount": 49.00,
"external_reference": "ORDER-2024-001",
"description": "Premium subscription",
"provider": "paypal"
}
// Response 202
{
"transaction_id": "uuid",
"checkout_request_id": "6XV12345AA...",
"merchant_request_id": "https://paypal.com/checkoutnow?token=...",
"status": "processing",
"provider": "paypal",
"funds_routing": "direct_to_merchant"
}Connect PayPal in your HavenPay dashboard in under five minutes. Sandbox testing included.