Partner Onboarding
Last updated: Aug 15th, 7:29am
To get started integrating the PayPal Commerce Platform for Marketplaces and Platforms, you must onboard as a partner. During onboarding, PayPal conducts vetting and approval to ensure our solution is a match for your business. Once onboarding is complete, you will have a sandbox and live account ready for you to begin integrating.
1. Complete online onboarding
Use the link your PayPal sales manager sends you to complete online onboarding.
Step result
After onboarding is complete, you can log into the
1<ExperimentHoc experimentName="reboot">2 <a href="https://www.paypal.com/bizsignup/entry">3 Log in to the Developer Dashboard4 </a>5</ExperimentHoc>6<ExperimentHoc experimentName="reboot" control>7 <a href="https://www.paypal.com/signin?returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Fapplications">8 Log in to the Developer Dashboard9 </a>10</ExperimentHoc> to access your sandbox and live accounts.
2. Get API credentials
Your API credentials are a client ID and secret, which authenticate API requests from your account. While you're developing code, use these credentials when you test API calls in our sandbox (test) environment. You get these credentials from a REST API app in the Developer Dashboard.
- Click My Apps & Credentials.
- Select Sandbox to view your Sandbox apps or Live to view your Live apps. The app name is Platform Partner App.
- Select your app.
Step result
The page displays your Platform Partner App, including your client ID and secret and the settings for the app. To change these settings, contact your PayPal sales manager.
Exchange your API credentials for an access token
Your access token authorizes you to use the PayPal REST API server. To call a REST API in your integration, exchange your client ID and secret for an access token.
You can make the API call in any programming language. The following sections explain how to get your access token using cURL or Postman.
cURL
Copy the following code and modify it.
1curl -v POST https://api-m.sandbox.paypal.com/v1/oauth2/token \2 -H "Accept: application/json" \3 -H "Accept-Language: en_US" \4 -u "CLIENT_ID:SECRET" \5 -d "grant_type=client_credentials"
- Change
CLIENT_ID
to your client ID. - Change
SECRET
to your secret.
Postman
In the Postman app, complete the following:
- Set the verb to POST.
- Enter
https://api-m.sandbox.paypal.com/v1/oauth2/token
as the request URL. - Select the Authorization tab.
- From the TYPE list, select Basic Auth.
- In the Username field, enter your client ID.
- In the Password field, enter your secret.
- Select the Body tab.
- Select the x-www-form-urlencoded option.
- In the KEY field, enter
grant_type
. - In the VALUE field, enter
client_credentials
. - Select Send.
Step result
PayPal returns an access token and the number of seconds the access token is valid. When you make calls to a REST API, include the access token in the Authorization header with the designation as Bearer
. Reuse the access token until it expires.
When your token expires, call the oauth2/token
method again to request a new token.