# PayPal

Connect a PayPal Business account to Kustom Checkout. Compare capture models, reconcile transactions and manage PayPal payouts and disputes.

Connect PayPal to accept wallet payments in Kustom Checkout. Manage captures and refunds
through Kustom; use PayPal for payouts, reconciliation and disputes.

For a redirect-only integration, see [external payment methods](/checkout/external-payment-methods/).

## Connecting your PayPal account to Kustom

You need an active, verified PayPal Business account in a supported market. Complete
PayPal onboarding and KYC first. Each connection applies to one store, so check the Portal
store selector before starting. Use the accounts for your environment:

| | Production | Playground |
| --- | --- | --- |
| Kustom Portal | [portal.kustom.co](https://portal.kustom.co/) | [portal.playground.kustom.co](https://portal.playground.kustom.co/) |
| PayPal account to connect | Your live PayPal Business account | A PayPal sandbox Business account |

1. **Open the PayPal onboarding card.** In the Kustom Portal, go to **Home**. A card labelled
   **PayPal onboarding** sits in the top section.
2. **Have your PayPal Business login ready.**
   - **Production:** the login for your live PayPal Business account.
   - **Playground:** a sandbox Business account. At
     [developer.paypal.com/dashboard](https://developer.paypal.com/dashboard), go to
     **Testing Tools → Sandbox Accounts** and find the account whose type is **Business**.
     Use the three-dot menu and **View/Edit account** to reveal its password.
   - **Also for playground:** keep one of the **Personal** sandbox accounts from the same list.
     It acts as the customer when you test.
3. **Authorize the connection.** You're redirected to PayPal. Log in with the **Business**
   account, not a Personal one, and complete PayPal's prompts.
4. **Check the status.** Back in the Kustom Portal, reopen the **PayPal onboarding** card.
   It should show your store name and a Merchant ID with status **Completed**. If it shows
   anything else, close and reopen the card, or start again from step 1, **Open the PayPal
   onboarding card**.
5. **Tell your Kustom contact.** Share the store name and the Merchant ID from the card,
   for example `PM00477018`. Kustom enables PayPal in your checkout configuration. The
   connection alone doesn't switch it on.

## What Kustom owns and what PayPal owns

| Layer | Managed by |
| --- | --- |
| Checkout — the end-to-end checkout experience | Kustom |
| Order Management — captures, refunds, cancellations, by API or Portal | Kustom |
| Settlement and reporting — payouts, reconciliation, financial reporting | PayPal |
| Disputes — evidence, response workflow, resolution | PayPal |

Use the PayPal dashboard for transaction details and payout schedules.

The Kustom Portal's **Disputes** tab shows PayPal dispute statuses. Submit evidence and
resolve disputes in PayPal's Dispute Center, following PayPal's deadlines.

### Capture models, and how long you have to capture

Kustom configures one capture model per store. **Separated authorization and capture is
the default.** Confirm your model with your Kustom contact before setting capture timing
and reconciliation rules.

| | Separated authorization and capture (default) | Delayed disbursement |
| --- | --- | --- |
| Captures in PayPal | One for each capture you make in Kustom | One, for the full amount, when the order is created |
| Time to capture in Kustom | 10 days | 28 days |
| Reconciling against PayPal | Per capture | Per order |

With **delayed disbursement**, funds remain in your PayPal account until you capture the
full order through Kustom. Partial Kustom captures create no separate PayPal capture.

**The capture window also caps order expiry.** A PayPal order expires after at most 10 days
on separated authorization and capture and 28 on delayed disbursement, whatever longer
expiry you've configured for other payment methods.

### Where PayPal orders appear, and where they don't

| Where | Behavior for PayPal orders |
| --- | --- |
| Portal — **Orders** tab | Full functionality, including the Order Report |
| Portal — **Settlement** tab | Absent from settlement, settlement batch and balance reports. Kustom doesn't settle PayPal transactions and creates no payout for them |
| Portal — **Disputes** tab | Listed with status, but resolved in PayPal's Dispute Center |
| API — `/ordermanagement/` | Fully supported. Authorization, capture, cancellation and refund behave identically to other methods |
| API — `/payouts`, `/transactions`, `/reports` | No payout is created for a PayPal transaction, so PayPal is absent from settlement data. Reconcile through PayPal instead |

## Reconciling PayPal transactions

Reconcile using the **Kustom order id**. Kustom sends it in PayPal's `custom_id`, shown as
**Custom Field** in PayPal reports, for both capture models.

`merchant_reference1` travels in PayPal's `invoice_id` field, but only if it's already set
when Kustom captures against PayPal. When that happens depends on your capture model:

| Capture model | Kustom captures against PayPal | Set `merchant_reference1` |
| --- | --- | --- |
| Separated authorization and capture (default) | When you capture the order | Before you capture |
| Delayed disbursement | When the order is created | In the create order call |

A value set later than that never reaches PayPal. And PayPal requires the invoice id to be
unique per transaction, so `merchant_reference1` must be unique per order.

## Related

- [External payment methods](/checkout/external-payment-methods/) — methods Kustom doesn't process, which work differently
- [Capture an order](/order-management/capture/) — settle a PayPal order the same way as any other
- [Settlements and getting paid](/finance/) — the Kustom side of the reporting your PayPal transactions are absent from
