> ## Documentation Index
> Fetch the complete documentation index at: https://support.i.moneyforward.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PayPal

> How to integrate with PayPal. This guide covers everything from issuing an API key on the developer page to completing the integration.

export const IntegrationCapabilities = ({lang = "ja", modes = "", plan = "", lifecycle = "", automation = "", fetch = "", capabilities = "", memo = ""}) => {
  const TEXT = ({
    ja: {
      rows: {
        mode: "連携モード",
        plan: "連携確認プラン",
        lifecycle: "アカウントライフサイクル",
        automation: "自動化",
        fetch: "取得データ",
        capabilities: "対応機能",
        memo: "備考"
      },
      empty: "-",
      more: "各項目の意味は[連携可能SaaS・機能対応一覧](/integrations/supported-saas)をご覧ください。",
      mode: {
        "API Key": "APIキー"
      },
      lifecycle: {
        provisioning: "アカウント作成",
        deactivate: "アカウント無効化",
        delete: "アカウント削除"
      },
      automation: {
        provisioning: "アカウント作成",
        deactivate: "アカウント無効化",
        delete: "アカウント削除"
      },
      fetch: {
        User: "ユーザー名",
        Mail: "メールアドレス",
        Role: "ロール",
        Status: "ステータス",
        "2FA": "二要素認証",
        LastActivity: "最終利用日",
        Licenses: "ライセンス"
      },
      capabilities: {
        "employee-master": "従業員マスター連携",
        "identity-provider": "IDプロバイダー連携",
        "cost-aggregation": "コスト管理",
        "file-aggregation": "ファイル管理",
        "file-permissions": "ファイル権限管理",
        "device-aggregation": "MDM連携"
      }
    },
    en: {
      rows: {
        mode: "Integration mode",
        plan: "Verified plan",
        lifecycle: "Account lifecycle",
        automation: "Automation",
        fetch: "Fetched data",
        capabilities: "Capabilities",
        memo: "Notes"
      },
      empty: "-",
      more: "See [Supported SaaS and Capabilities](/en/integrations/supported-saas) for what each item means.",
      mode: {},
      lifecycle: {
        provisioning: "Account creation",
        deactivate: "Account deactivation",
        delete: "Account deletion"
      },
      automation: {
        provisioning: "Account creation",
        deactivate: "Account deactivation",
        delete: "Account deletion"
      },
      fetch: {
        LastActivity: "Last Activity"
      },
      capabilities: {
        "employee-master": "HR master",
        "identity-provider": "Identity provider",
        "cost-aggregation": "Cost management",
        "file-aggregation": "File management",
        "file-permissions": "File permissions",
        "device-aggregation": "MDM integration"
      }
    }
  })[lang === "en" ? "en" : "ja"];
  const BADGE_COLORS = {
    "ID/Password": "yellow",
    "API Key": "cyan",
    OAuth: "red",
    App: "purple",
    User: "blue",
    Mail: "cyan",
    Role: "orange",
    Status: "teal",
    "2FA": "pink",
    LastActivity: "green",
    Licenses: "purple",
    provisioning: "green",
    delete: "red",
    deactivate: "yellow",
    "employee-master": "blue",
    "identity-provider": "teal",
    "cost-aggregation": "yellow",
    "file-aggregation": "cyan",
    "file-permissions": "orange",
    "device-aggregation": "purple"
  };
  const list = value => String(value || "").split(",").map(item => item.trim()).filter(Boolean);
  const badges = (source, labels) => {
    const values = list(source);
    if (values.length === 0) {
      return <span className="integration-capabilities-empty">{TEXT.empty}</span>;
    }
    return values.map(value => <span key={value} className={"integration-catalog-badge integration-catalog-badge--" + (BADGE_COLORS[value] || "gray")}>
        {labels?.[value] ?? value}
      </span>);
  };
  const text = value => value || <span className="integration-capabilities-empty">{TEXT.empty}</span>;
  const ROWS = [["mode", badges(modes, TEXT.mode)], ["plan", text(plan)], ["lifecycle", badges(lifecycle, TEXT.lifecycle)], ["automation", badges(automation, TEXT.automation)], ["fetch", badges(fetch, TEXT.fetch)], ["capabilities", badges(capabilities, TEXT.capabilities)], ["memo", text(memo)]];
  return <div className="integration-capabilities">
      <dl className="integration-capabilities-list">
        {ROWS.map(([key, value]) => <div className="integration-capabilities-row" key={key}>
            <dt>{TEXT.rows[key]}</dt>
            <dd>{value}</dd>
          </div>)}
      </dl>
    </div>;
};

## Integration Specifications

<IntegrationCapabilities lang="en" modes="API Key" capabilities="cost-aggregation" />

## Prerequisites

### How to get an API key (Client ID and Client Secret)

1. After logging in to your PayPal business account, click the `</>` (developer page) icon in the top right of the dashboard to go to the developer page.

   <img src="https://mintcdn.com/moneyforwardi/vRk0YSTFsX751b8L/images/integrations/paypal/developer-page-icon.png?fit=max&auto=format&n=vRk0YSTFsX751b8L&q=85&s=555e69b600ba240bb191e2a1f0b236fd" alt="Developer page icon in the top right of the PayPal business dashboard" width="1920" height="86" data-path="images/integrations/paypal/developer-page-icon.png" />

2. The developer page has two versions: **Sandbox** and **Live**. Make sure to select **Live** so the correct billing amounts are captured. **Sandbox** is a simulator for testing only.

3. From the left panel, choose **Apps & Credentials**, then click **Create App** on the **API Credentials** tab.

   <img src="https://mintcdn.com/moneyforwardi/vRk0YSTFsX751b8L/images/integrations/paypal/api-credentials-create-app.png?fit=max&auto=format&n=vRk0YSTFsX751b8L&q=85&s=0902035c1de60b0472bffca4c641e6be" alt="PayPal developer page API Credentials screen, showing the Sandbox/Live toggle, the Apps & Credentials menu item, and the Create App button" width="1920" height="709" data-path="images/integrations/paypal/api-credentials-create-app.png" />

4. In the popup, enter any name for the app and click **Create App**.

   <img src="https://mintcdn.com/moneyforwardi/vRk0YSTFsX751b8L/images/integrations/paypal/create-app-modal.png?fit=max&auto=format&n=vRk0YSTFsX751b8L&q=85&s=2e3b51d4baf5114108e93474266f4beb" alt="Create App popup" width="1006" height="810" data-path="images/integrations/paypal/create-app-modal.png" />

5. The **Client ID** and **Secret key** are displayed — copy both. Scroll down to **Features**, enable **Transaction search**, and click **Save Changes**.

   <img src="https://mintcdn.com/moneyforwardi/vRk0YSTFsX751b8L/images/integrations/paypal/api-credentials-detail.png?fit=max&auto=format&n=vRk0YSTFsX751b8L&q=85&s=47efec348794703667841fac24c7e88b" alt="API Credentials detail screen, showing the Client ID and Secret key fields, the Transaction search checkbox, and the Save Changes button" width="1920" height="1468" data-path="images/integrations/paypal/api-credentials-detail.png" />

   <Info>
     It can take a while for a newly issued PayPal API key to become usable for the Admina integration (PayPal states this can take 5 minutes to 9 hours). Wait about 10 to 30 minutes after creating the key before setting up the integration in Admina.
   </Info>

## Integration Setup

1. Search for **PayPal** on the integrations screen.

2. Enter the **Client ID** and **Client Secret** you obtained earlier, then click **Integrate**.

   <img src="https://mintcdn.com/moneyforwardi/vRk0YSTFsX751b8L/images/integrations/paypal/admina-integrate-modal.png?fit=max&auto=format&n=vRk0YSTFsX751b8L&q=85&s=35379f121086da5fbed88dc4183b0912" alt="Integration settings screen" width="595" height="898" data-path="images/integrations/paypal/admina-integrate-modal.png" />

3. Once the integration with PayPal succeeds, registered user information appears in the account list. If it doesn't complete successfully, first try the steps in [Troubleshooting failed SaaS integrations](/en/it-management/saas-management/93nahw45is-trouble). If that doesn't resolve it, check [Information to provide](/en/it-management/saas-management/93nahw45is-trouble#info-to-provide) and contact [support](/en/contact-support).
