Paypal Integration

“However you wish to get paid, PayPal has the solution for your business.”

The PayPal integration brings in Customer, Product and Purchase History datasets. The standard set of attributes that are brought for this integration are shown in the table below. If you have made any customisations to your PayPal setup then bringing these in can be discussed during Supported Onboarding.

Customer Attributes

Customer in Distil.ai is aligned to Identity in PayPal.

Distil.ai AttributeMapped PayPal AttributePayPal Attribute Description
Customer Id/identity/userinfo.user_idThe Private Personal Identifier (PPID) that is unique for the end user and Relying Party.
First Name/identity/userinfo.given_nameThe given, or first, name of the user.
Last Name/identity/userinfo.family_nameThe surname or family name of the user. Also known as the last name. Used also to store multiple surnames including the matronymic, or mother’s, surname.
Email Address/identity/userinfo/emails.valueThe internationalized email address.
Mobile Phone Number
GDPR Status – Marketing Subscribed
GDPR Status – Right of Access Requested
GDPR Status – Anonymise Data
Facebook Slug
Twitter Handle
Instagram Handle
LinkedIn Slug
Postal Address Line 1/identity/userinfo/address.street_addressThe full street address component. Can include house number, street name.
Postal Address Line 2
Postal Address Town/identity/userinfo/address.localityThe city or locality.
Postal Address Region/identity/userinfo/address.regionThe state, province, prefecture, or region.
Postal Address Country/identity/userinfo/address.countryThe country name.
Postal Address Postcode/identity/userinfo/address.postal_codeThe zip code or postal code.
Billing Address Line 1
Billing Address Line 2
Billing Address Town
Billing Address Region
Billing Address Country
Billing Address Postcode

Additional Customer Attributes available from PayPal can be found here. These may added as Custom Attributes into the Distil.ai Customers dataset.

Product Attributes

Distil.ai AttributeMapped PayPal AttributePayPal Attribute Description
Product Id/catalogs/products.idThe ID of the product.
Product Name/catalogs/products.nameThe product name.
Precis/catalogs/products.descriptionThe product description.
Thumbnail URL
Image URL/catalogs/products/{product_id}.image_urlThe image URL for the product.
Shop URL/catalogs/products/{product_id}.home_urlThe home page URL for the product.
Available
List Price – Excluding Tax
List Price – Including Tax
Price Breaks Description
Category/catalogs/products/{product_id}.categoryThe product category.

Additional Product Attributes available from PayPal can be found here. These may added as Custom Attributes into the Distil.ai Products dataset.

Purchase History Attributes

Purchase History attributes in Distil.ai are aligned to Purchase Units in PayPal.

Distil.ai AttributeMapped PayPal AttributePayPal Attribute Description
Idcheckout/orders/{order_id}.purchase-unit.reference_id
Customer Id
Order Id
Product Id
Order Timestamp UTC
Quantity
Line Value Excluding Tax
Line Value Including Tax
Payment method
Currency
Postal Address Line 1
Postal Address Line 2
Postal Address Town
Postal Address Region
Postal Address Country
Postal Address Postcode
Billing Address Line 1
Billing Address Line 2
Billing Address Town
Billing Address Region
Billing Address Country
Billing Address Postcode

Additional Purchase History Attributes available from PayPal can be found here. These may added as Custom Attributes into the Distil.ai Purchase History dataset.