Get started with PayPal Commerce Platform

There are four steps to get started with your PayPal integration:

  1. Create a PayPal account.
  2. Create a REST API app.
  3. Get your API credentials.
  4. Create sandbox accounts for testing.

Step 1: Create a PayPal account

Before you begin, you need a PayPal account. There are two types of accounts to choose from:

  • Developer account – Easiest way to get started. Requires only your country of residence and email address. Allows sandbox (test) API calls only.
  • Merchant account – A few more steps, but a lot more features. You need a merchant account to get your live API credentials.

To create a Developer account:

  1. Log in to the Dashboard.
  2. Select Sign Up.
  3. Enter your country of residence, email, and a password.
  4. Select Create Account.

Sign up

To upgrade your Developer account to a Merchant account:

  1. Log in to the Dashboard.
  2. Select My Account.
  3. Under Business Account, select Upgrade and complete the online form.

My account

Step 2: Create a REST API app

The first step in getting your API credentials is to create a REST API app. The app is a set of stored configurations used to authenticate calls to PayPal APIs. You can have multiple apps associated with your account.

To create a REST API app:

  1. Log in to the Dashboard.
  2. Select Create App.
  3. Enter an App Name; for example, 'My App'.
  4. Select Create App.

Rest app

Step 3: Get your API credentials

Your API credentials consist of a Client ID and Secret, which are required to make API calls and process transactions in the sandbox and live environments.

To get your sandbox API credentials:

  1. Log in to the Dashboard.
  2. Under My Apps & Credentials, select your REST API app from the list.
  3. Copy your Client ID.
  4. Under Secret, select Show to view the system-generated secret for your Client ID.

Credentials

Step 4: Create sandbox accounts for testing

Now that you have your API credentials, the last step is to create test buyer and merchant accounts so you can simulate transactions in the PayPal Sandbox environment.

What is the PayPal sandbox?

The PayPal sandbox https://sandbox.paypal.com is a test version of the live PayPal environment https://paypal.com where you test transactions and ensure your integration is working as expected before you go live.

Environment Base URL Test here
Sandbox https://api.sandbox.paypal.com www.sandbox.paypal.com
Live https://api.paypal.com www.paypal.com

Create sandbox accounts

To create sandbox test accounts:

  1. Log in to the Dashboard.
  2. Under sandbox, select Accounts.
  3. Select Create Account.

Create account

  1. Select Personal or Business, then select a Country/Region for the test buyer or seller.
  2. Select Create. A sandbox email account is generated with a PayPal balance, credit card, bank account information, and more.

Create sandbox account

To change the default settings for your sandbox accounts:

  1. Under Manage Accounts, select (…) then select View/Edit Account.
  2. Select Edit, then make your changes.
  3. When finished, select Save.

To log in to the sandbox:

  1. Go to https://www.sandbox.paypal.com/.
  2. Log in using the email and password for your test buyer or seller.
  3. As you integrate, you can alternate between your test buyer and seller accounts to verify that transactions are working as expected before going live.

Sandbox result

Next steps

Now that you’ve got the basics covered, you’re ready to explore our powerful PayPal Commerce Platform: