Ready to get started?

Download a free trial of the PayPal ODBC Driver to get started:

 Download Now

Learn more:

PayPal Icon PayPal ODBC Driver

The PayPal ODBC Driver is a powerful tool that allows you to connect with live data from PayPal, directly from any applications that support ODBC connectivity.

Access PayPal Transactions, Orders, Sales, Invoices, etc. through a standard ODBC Driver interface.

Use the CData ODBC Driver for PayPal in Microsoft Power Query



You can use the CData PayPal ODBC Driver with Microsoft Power Query. In this article, you will use the ODBC driver to import PayPal data into Microsoft Power Query.

The CData ODBC Driver for PayPal enables you to link to PayPal data in Microsoft Power Query, ensuring that you see any updates. This article details how to use the ODBC driver to import PayPal data into Microsoft Power Query.

Connect to PayPal as an ODBC Data Source

If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.

The provider surfaces tables from two PayPal APIs. The APIs use different authentication methods.

  • The REST API uses the OAuth standard. To authenticate to the REST API, you will need to set the OAuthClientId, OAuthClientSecret, and CallbackURL properties.
  • The Classic API requires Signature API credentials. To authenticate to the Classic API, you will need to obtain an API username, password, and signature.

See the "Getting Started" chapter of the help documentation for a guide to obtaining the necessary API credentials.

To select the API you want to work with, you can set the Schema property to REST or SOAP. By default the SOAP schema will be used.

For testing purposes you can set UseSandbox to true and use sandbox credentials.

Import PayPal Data

Follow the steps below to import PayPal data using standard SQL:

  1. From the ribbon in Excel, click Power Query -> From Other Data Sources -> From ODBC.

  2. Enter the ODBC connection string. Below is a connection string using the default DSN created when you install the driver: Provider=MSDASQL.1;Persist Security Info=False;DSN=CData PayPal Source
  3. Enter the SELECT statement to import data with. For example:

    SELECT Date, GrossAmount FROM Transactions
  4. Enter credentials, if required, and click Connect. The results of the query are displayed in the Query Editor Preview. You can combine queries from other data sources or refine the data with Power Query formulas. To load the query to the worksheet, click the Close and Load button.