Skip to main content

PayPal

This page contains the setup guide and reference information for PayPal.

Features

FeatureSupported?
Full Refresh SyncYes
Incremental Append SyncYes
NamespacesNo

Prerequisites

  • A PayPal business account with access to the Transaction Search API.
  • Permission to authorize Daspire from the PayPal account you want to sync.

Setup guide

Step 1: Set up PayPal in Daspire

  1. Select PayPal from the Source list.

  2. Enter a Source Name.

  3. Click Connect with OAuth and authorize Daspire in PayPal.

  4. Choose if your account is sandbox.

  5. Enter the date you want your sync to start from.

  6. Click Save & Test.

Daspire manages the PayPal OAuth app credentials and stores the returned refresh token securely. You do not need to paste a PayPal client ID, client secret, or refresh token into the source form.

Supported streams

This source is capable of syncing the following streams:

Data type mapping

Integration TypeDaspire Type
stringstring
numbernumber
arrayarray
objectobject

Performance considerations

PayPal transaction API has some limits:

  • start_date_min = 3 years, API call lists transaction for the previous three years.
  • start_date_max = 1.5 days, it takes a maximum of three hours for executed transactions to appear in the list transactions call. It is set to 1.5 days by default based on experience, otherwise API throw an error.
  • stream_slice_period = 7 day, the maximum supported date range is 31 days.
  • records_per_request = 10000, the maximum number of records in a single request.
  • page_size = 500, the maximum page size is 500.
  • requests_per_minute = 30, maximum limit is 50 requests per minute from IP address to all endpoint

By default, syncs are performed with a slice period of 7 days. If you see errors with the message Result set size is greater than the maximum limit. Change the filter criteria and try again., lower the size of the slice period in your source configuration.

Troubleshooting

Max number of tables that can be synced at a time is 6,000. We advise you to adjust your settings if it fails to fetch schema due to max number of tables reached.