
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 Attribute | Mapped PayPal Attribute | PayPal Attribute Description |
Customer Id | /identity/userinfo.user_id | The Private Personal Identifier (PPID) that is unique for the end user and Relying Party. |
First Name | /identity/userinfo.given_name | The given, or first, name of the user. |
Last Name | /identity/userinfo.family_name | The 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.value | The 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_address | The full street address component. Can include house number, street name. |
Postal Address Line 2 | ||
Postal Address Town | /identity/userinfo/address.locality | The city or locality. |
Postal Address Region | /identity/userinfo/address.region | The state, province, prefecture, or region. |
Postal Address Country | /identity/userinfo/address.country | The country name. |
Postal Address Postcode | /identity/userinfo/address.postal_code | The 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 Attribute | Mapped PayPal Attribute | PayPal Attribute Description |
Product Id | /catalogs/products.id | The ID of the product. |
Product Name | /catalogs/products.name | The product name. |
Precis | /catalogs/products.description | The product description. |
Thumbnail URL | ||
Image URL | /catalogs/products/{product_id}.image_url | The image URL for the product. |
Shop URL | /catalogs/products/{product_id}.home_url | The home page URL for the product. |
Available | ||
List Price – Excluding Tax | ||
List Price – Including Tax | ||
Price Breaks Description | ||
Category | /catalogs/products/{product_id}.category | The 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 Attribute | Mapped PayPal Attribute | PayPal Attribute Description |
Id | checkout/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.