Skip to main content

Setup Guide

This guide walks you through creating a PayPal sandbox business account and obtaining the API credentials required to use the PayPal Subscriptions connector.

Prerequisites

Step 1: Create a sandbox business account

  1. Open the PayPal Developer Dashboard.

  2. Under Testing Tools, select Sandbox Accounts.

    Sandbox accounts

  3. Select Create account and choose Business as the account type.

    Create business account

note

Some PayPal options and features may vary by region or country — check availability before creating an account.

Step 2: Create a REST API app

  1. Navigate to the Apps & Credentials tab.

  2. Select Create App, provide a name, and select the sandbox business account you created.

    Create app

Step 3: Get the client ID and client secret

After creating the app, copy the Client ID and Client Secret displayed on the app details page.

Client ID and client secret

tip

Store the Client ID and Client Secret securely. Do not commit them to source control. Use Ballerina's configurable feature and a Config.toml file to supply them at runtime.

What's next