# PayPal Developer Platform

{% columns fullWidth="true" %}
{% column width="41.66666666666667%" %}

## Get started

Getting paid is as easy as getting including the PayPal script in your product and passing it your `clientId` along with other options.

#### Or try these instead

We recommend these resources to begin developing on the PayPal platform. [Log in](https://www.paypal.com/signin?returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdashboard%2F\&intent=developer\&ctxId=ul1749482563440) to get recommendations based on the products you've enabled.

<a href="https://app.gitbook.com/o/RcH7hscxGSQOOoFwtVAz/s/HprspMZ6mwPT90S6VEht/" class="button primary">Get started with payments</a> <a href="https://app.gitbook.com/o/RcH7hscxGSQOOoFwtVAz/s/nz3OTZvrKGgzGZKp7qy2/" class="button secondary">Agent Toolkit & MCP Server</a>

{% endcolumn %}

{% column %}
{% code title="Vanilla JS" %}

```html
<script src="https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID&components=YOUR_COMPONENTS"></script>
```

{% endcode %}

{% code title="React (JS)" %}

```javascript
import { PayPalScriptProvider, PayPalButtons } from "@paypal/react-paypal-js";

export default function App() {
    const initialOptions = {
        clientId: "YOUR_CLIENT_ID",
        // Add other options as needed
    };
    
    return (
        <div className="App">
            <PayPalScriptProvider options={initialOptions}>
                <PayPalButtons />
            </PayPalScriptProvider>
        </div>
    );
}
```

{% endcode %}

{% hint style="info" %}
[Log in](https://www.paypal.com/signin?returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdashboard%2F\&intent=developer\&ctxId=ul1749482563440) to use your own API keys in these examples.
{% endhint %}

[Explore the JavaScript SDK](https://app.gitbook.com/s/HprspMZ6mwPT90S6VEht/checkout/javascript-sdk-reference) for more options.
{% endcolumn %}
{% endcolumns %}

***

## Get ahead with <img src="https://317596529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxD8rHYb5mibpdaxeOWrU%2Fuploads%2FmpkuCI6fY4i4KLGsvmel%2Fai.png?alt=media&#x26;token=2848228f-47f3-4515-b602-9524f70ed986" alt="" data-size="line"> PayPal AI

{% columns fullWidth="true" %}
{% column width="50%" %}

<figure><picture><source srcset="https://317596529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxD8rHYb5mibpdaxeOWrU%2Fuploads%2FJakMa3Hqsa9c1OEEoocR%2FService.png?alt=media&#x26;token=ff0479e5-24d6-4881-995f-b658a4d5161f" media="(prefers-color-scheme: dark)"><img src="https://317596529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxD8rHYb5mibpdaxeOWrU%2Fuploads%2F5D5Eo0I64AjA14n3t3F2%2FService.png?alt=media&#x26;token=d041e108-0526-4152-8ca2-a9835c80686d" alt=""></picture><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

### Agent Toolkit

With PayPal Agent Toolkit, developers can now build sophisticated agentic workflows that handle commerce operations including payments, shipment tracking, and returns with intelligence and efficiency.

<a href="https://app.gitbook.com/s/nz3OTZvrKGgzGZKp7qy2/agent-toolkit" class="button primary">Read the docs</a> <a href="https://developer.paypal.com/community/blog/paypal-agentic-ai-toolkit/" class="button secondary">Blog</a> <a href="https://github.com/paypal/agent-toolkit/" class="button secondary">GitHub</a>
{% endcolumn %}
{% endcolumns %}

{% columns fullWidth="true" %}
{% column width="50%" %}

### MCP Server

Today, we are taking the first step to allow developers to embrace the new paradigm of agentic commerce by adopting the Model Context Protocol (MCP) and placing our services on an MCP server.

<a href="https://app.gitbook.com/s/nz3OTZvrKGgzGZKp7qy2/mcp-server" class="button primary">Read the docs</a> <a href="https://developer.paypal.com/community/blog/paypal-model-context-protocol/" class="button secondary">Blog</a> <a href="https://github.com/paypal/agent-toolkit" class="button secondary">GitHub</a>
{% endcolumn %}

{% column %}

<figure><picture><source srcset="https://317596529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxD8rHYb5mibpdaxeOWrU%2Fuploads%2FXvy4yyHNNVdEWH9usTQM%2FOrchestration.png?alt=media&#x26;token=ae69a53e-5b28-486b-81a7-3a00ee96caea" media="(prefers-color-scheme: dark)"><img src="https://317596529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxD8rHYb5mibpdaxeOWrU%2Fuploads%2Fp61Z92s4BLml42yTHMXV%2FOrchestration.png?alt=media&#x26;token=c4cc14e0-c127-468d-8d89-1d5784ec498e" alt=""></picture><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

***

## Get paid with <img src="https://317596529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxD8rHYb5mibpdaxeOWrU%2Fuploads%2FypHtwLwLqbDUO26Ih6bP%2Fcredit-card%201.png?alt=media&#x26;token=53c63c46-c531-4a64-abf6-8297c2628ab9" alt="" data-size="line"> Payments

{% hint style="info" %}
Looking for credentials to test with? [Log in](https://www.paypal.com/signin?returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdashboard%2F\&intent=developer\&ctxId=ul1749482563440) to use your own API keys in these docs.
{% endhint %}

<table data-view="cards" data-full-width="true"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><h3><strong>Checkout</strong></h3></td><td><ul><li>Set up and get paid in minutes</li><li>Connects seamlessly to your current order flow</li><li>Scales with you as your business grows</li></ul><p><a href="https://app.gitbook.com/s/HprspMZ6mwPT90S6VEht/checkout/integration-guide" class="button primary">Integration guide</a> <a href="https://app.gitbook.com/s/HprspMZ6mwPT90S6VEht/checkout/api-reference" class="button secondary">API Reference</a></p></td><td><a href="https://app.gitbook.com/s/HprspMZ6mwPT90S6VEht/checkout">Checkout</a></td><td><a href="https://317596529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxD8rHYb5mibpdaxeOWrU%2Fuploads%2Fnocg2auZRG8lNlq73e4H%2FOnline%20Checkout.png?alt=media&#x26;token=601185d5-56d1-4e8b-b81a-1bf8a7e6f50e">Online Checkout.png</a></td></tr><tr><td><h3><strong>Invoicing</strong></h3></td><td><ul><li>Send invoices and invoice reminders</li><li>Record (partial) payments and refunds</li><li>Create QR codes for invoices to get paid faster</li></ul><p><a href="https://app.gitbook.com/s/HprspMZ6mwPT90S6VEht/invoicing/api-reference" class="button secondary">API Reference</a></p></td><td><a href="https://app.gitbook.com/s/HprspMZ6mwPT90S6VEht/invoicing">Invoicing</a></td><td><a href="https://317596529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxD8rHYb5mibpdaxeOWrU%2Fuploads%2FQ7mhxJqQ2uueiYFioYxl%2FInvoicing.png?alt=media&#x26;token=7d40e505-e0de-4f8b-aefb-9e61a1acb4ab">Invoicing.png</a></td></tr><tr><td><h3><strong>JavaScript SDK</strong></h3></td><td><ul><li>Instant payment buttons, anywhere you need them</li><li>No server code needed</li><li>Customisable to match your needs</li></ul><p><a href="https://app.gitbook.com/s/HprspMZ6mwPT90S6VEht/checkout/javascript-sdk-reference" class="button secondary">SDK Reference</a></p></td><td><a href="https://app.gitbook.com/s/HprspMZ6mwPT90S6VEht/checkout/javascript-sdk-reference">JavaScript SDK Reference</a></td><td><a href="https://317596529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxD8rHYb5mibpdaxeOWrU%2Fuploads%2FPCGEPqyJ5E3ItSGTovKl%2FAPIs.png?alt=media&#x26;token=e33e6eb5-915b-4df4-ab80-a1d3f256ebc8">APIs.png</a></td></tr></tbody></table>

***

## News and information

<table data-card-size="large" data-view="cards" data-full-width="true"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4>PayPal Remote MCP Server Now Supports Anthropic API</h4></td><td>Discover how we're integrating with Anthropic's Claude to enable seamless payment operations through natural language interfaces.</td><td><a href="https://317596529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxD8rHYb5mibpdaxeOWrU%2Fuploads%2F563Wldo4UmNON7oDSbNy%2Fanthropic_paypal.webp?alt=media&#x26;token=83f2bb98-6000-40cb-be48-86a8e22f750d">anthropic_paypal.webp</a></td><td><a href="https://developer.paypal.com/community/blog/anthropic-paypalmcp/">https://developer.paypal.com/community/blog/anthropic-paypalmcp/</a></td></tr><tr><td><h4>PayPal Remote MCP Server Now Supports OpenAI</h4></td><td>Learn about our OpenAI integration that brings PayPal's payment capabilities directly into ChatGPT and other AI applications.</td><td><a href="https://317596529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxD8rHYb5mibpdaxeOWrU%2Fuploads%2FqAoDJUsg5HmP9lGSjmdS%2Fopenai_paypal.webp?alt=media&#x26;token=0cdd9647-e08b-4f9b-b7e4-b47ab79b1d72">openai_paypal.webp</a></td><td><a href="https://developer.paypal.com/community/blog/openai-paypal-mcp/">https://developer.paypal.com/community/blog/openai-paypal-mcp/</a></td></tr></tbody></table>

<table data-view="cards" data-full-width="true"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4>Expanding PayPal's Remote MCP Server Tools</h4></td><td>Exploring the expansion of our Model Context Protocol server tools to provide developers with more powerful payment integrations.</td><td><a href="https://developer.paypal.com/community/blog/mcp-server-toolexpansion/">https://developer.paypal.com/community/blog/mcp-server-toolexpansion/</a></td></tr><tr><td><h4>Meet Your New Coding Partner: Building with Agentic AI</h4></td><td>A comprehensive guide to building intelligent payment workflows using our agentic AI toolkit and best practices.</td><td><a href="https://developer.paypal.com/community/blog/building-with-agentic-ai/">https://developer.paypal.com/community/blog/building-with-agentic-ai/</a></td></tr><tr><td><h4>How PayPal's Latest AI Innovations Are Transforming Payment Integrations</h4></td><td>How artificial intelligence is revolutionizing the way developers integrate payment solutions into their applications.</td><td><a href="https://developer.paypal.com/community/blog/ai-innovation-payments-integration/">https://developer.paypal.com/community/blog/ai-innovation-payments-integration/</a></td></tr></tbody></table>

## PayPal Developer Days

Watch highlights from our 2025 PayPal Developer Days conference.

<a href="https://www.youtube.com/watch?v=CX5--aXvVbg" class="button secondary">View full YouTube Playlist</a>

{% columns fullWidth="true" %}
{% column width="41.66666666666667%" %}

### AI Developer Tools and Integration

PayPal Sr. Director, Merchant Integrations and Developer Experience shares the way new AI tools will change the way you work and think about integrations.
{% endcolumn %}

{% column %}
{% embed url="<https://youtu.be/CX5--aXvVbg>" %}
{% endcolumn %}
{% endcolumns %}

{% columns fullWidth="true" %}
{% column width="58.333333333333336%" %}
{% embed url="<https://youtu.be/G_7zh-Xebt4>" %}
{% endcolumn %}

{% column %}

### Revolutionizing Commerce Development

PayPal SVP, Head of AI Prakhar Mehotra shares how the evolution to AI powered tools and workflows will revolutionize the way developers work.

{% endcolumn %}
{% endcolumns %}

{% columns fullWidth="true" %}
{% column width="41.66666666666667%" %}

### Delivering Trust at the Speed of AI

PayPal SVP, Enterprise Payments and PSP Platform discusses how privacy, fraud protection and keeping customer data secure becomes more of a priority in agentic commerce.

{% endcolumn %}

{% column %}
{% embed url="<https://www.youtube.com/watch?v=2CMbGKNtLcE&embeds_referring_euri=https%3A%2F%2Fcdn.iframe.ly%2F&source_ve_path=MjM4NTE>" %}
{% endcolumn %}
{% endcolumns %}
