X.Commerce, eBay's conglomeration of e-commerce platforms and services, has created the Segmentation Service to empower website and application owners with data about the buying and usage habits of different segments of their user population. When webmasters have the email address of visitors with PayPal accounts, they can employ the Segmentation Service to gain insights to user purchasing habits.
The Segmentation Service lets webmasters obtain information such as the average buying frequency of a customer, their average spending value, or how recently they used PayPal to complete a transaction. This API uses OAuth, and can return data as either XML or JSON.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.