Skip to Content
SourcesPayPalOverview

PayPal

Source — Vendo imports transaction data from PayPal and transforms it into payment events and customer profiles for revenue analytics.

What Vendo Syncs

Source Streams

Vendo fetches two raw data streams from the PayPal Transaction Search API:

StreamDescription
TransactionsParent transaction records with amounts, payer info, status, and fees
Transaction ItemsLine-item details within each transaction

Produced Events

Raw transactions are transformed into four production tables:

EventDescription
Payment ReceivedSuccessfully completed payments with customer and product details
Payment RefundedRefunded payments with amount and refund status
Account CreatedCustomer’s first payment (used as an account lifecycle proxy)
CustomersCustomer master profiles with aggregated transaction history

Transaction Fields

FieldDescription
Transaction IDUnique payment identifier
Amount & CurrencyPayment amount with currency code
Fee AmountPayPal processing fees
StatusSucceeded, denied, pending, or reversed
Invoice IDMerchant invoice reference
Payment MethodInstrument type and subtype
Payer EmailCustomer email address
Payer NameCustomer first and last name
Payer CountryGeographic origin
Shipping InfoShipping address and method

Revenue Breakdowns

FieldDescription
Sales TaxTax amount collected
Shipping AmountShipping charges
Discount AmountDiscounts applied
Tip AmountTips included
Credit FeesTransactional and promotional credit fees

Installment Detection

Vendo automatically detects recurring payments by analyzing product names for installment patterns (e.g., “monthly”, “payment plan”). Installment transactions are numbered sequentially per customer and product for cohort and retention analysis.

Currency Conversion

PayPal transactions can be in any currency. Vendo automatically:

  1. Reads the transaction’s source currency
  2. Applies daily exchange rates to convert to your reporting currency
  3. Exports both source and reporting currency amounts

Authentication

PayPal uses OAuth 2.0 Client Credentials flow.

  • Requires a Client ID and Client Secret from your PayPal Developer account
  • Vendo manages token acquisition and refresh automatically
  • Supports both Live and Sandbox environments

Setup

  1. In the Vendo app, navigate to Apps and click Add App
  2. Select PayPal from the integration catalog
  3. Enter your Client ID and Client Secret
    • Found in your PayPal Developer Dashboard under Apps & Credentials
  4. Select Live or Sandbox environment
  5. Configure your reporting currency
  6. Vendo validates the credentials and begins syncing transaction history

Platform Details

SettingValue
Sync MethodServer-side via PayPal Transaction Search API
Page SizeUp to 500 transactions per request
Query Window7-day rolling windows (max 31 days per API call)
Event CodesT0000, T0002, T0006, T0007 (standard payment events)
Deduplicationtransaction_id on transactions, transaction_id + index on items
Test FilteringTransactions matching “test” in product name are excluded

Verify Setup

  1. After connecting, check the app status shows Active
  2. Verify payment events appear in your Vendo BigQuery dataset
  3. Compare recent transaction totals against your PayPal dashboard
  4. Check that customer profiles are being created from payer data
  5. Review Vendo job logs for sync activity and any errors
Last updated on