paypal platform: evolving for simplicity and reach - ibm silicon valley lab

14
PAYPAL PLATFORM EVOLVING FOR SIMPLICITY AND REACH IBM May 13, 2014 Deepak Nadig Head of Platform Engineering

Upload: deepak-nadig

Post on 15-Nov-2014

224 views

Category:

Internet


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

PAYPAL PLATFORM EVOLVING FOR SIMPLICITY AND REACH

IBMMay 13, 2014

Deepak NadigHead of Platform Engineering

Page 2: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

PayPal …– 148 million active accounts– 193 markets in 26 currencies

– 2013– Total Payment Volume was $180 billion– $27 billion in mobile payments

– Q1 2014– Total Payment Volume of $52 Billion– At $6688 TPV / second– 834 million payments, 9+ million every day

– $1 in every $6 spent on e-commerce– 25% spent on cross-border trade

THE PAYPAL CONTEXT

In a dynamic environment– 300+ features per quarter– We roll 100,000+ lines of code every two weeks

Page 3: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

PAYPAL PLATFORM HAS EVOLVEDTO SUPPORT NEW INTEGRATION NEEDS

PayPal API

PayPal Capabilities

2001 Instant Payment Notification

2004 Transaction, Mass Pay API

2005 Direct Payment API, Express Checkout

2007 Payment APIs (NVP)

2009 Adaptive APIs (SOAP/XML, NV, JSON)

2013 Payment APIs (REST)

Page 4: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

BACK TO 2012CHALLENGES

• Inconsistent APIs

• Complex developer experience

• Not designed for mobile

• Tightly-coupled internal SOA

• Long product development cycle time

Page 5: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

RETHINKING API AND DEVELOPER EXPERIENCE

Who are the end users?

Who are the developers?

How should we design our API?

How should we ease learning?

How should we simplify integration?

Page 6: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

WHO ARE THE END USERS?

segmentsexperiencesexpectations

Page 7: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

WHO ARE THE DEVELOPERS?

tools and processestechnology preferences role of our api

Page 8: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

HOW SHOULD WE DESIGN OUR API?

internal api vs. external apiapi portfolio vs. apicapability api vs. experience api

API Design Team

Page 9: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

HOW SHOULD WE EASE LEARNING?

good documentationsdk and code samplessandbox

Page 10: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

HOW SHOULD WE SIMPLIFY INTEGRATION?

familiar integration modelapi call dashboardcustomer support

Page 11: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

11

PLATFORM PRINCIPLES

API First

API Design

• Think API before experience• API is a product

• Externalize-able• Domain model & Integration scenarios

Developer Experience• Easy to learn, integrate, diagnose• Be the ‘developer’

API Quality Attributes• Response-time• Availability

Service Architecture• Encapsulated, Isolated• Craftsmanship

Page 12: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

12

INTEGRATION ARCHITECTURE

API Facade

Payments Wallet Customer

Credit Risk Compliance

Invoicing

Disputes

PayPal OODC* Applications

(Wallet, POS)

2nd-party Applications

(eBay, Braintree)

3nd-party Server Applications

(Uber, PhotoCard)

PayPal Web Applications

(Falcon, Hawk)

Experience APIs

Capability APIs

Event Bus

Webhooks

3nd-party Mobile Applications

(Uber, PhotoCard)

BatchProcessing

Notification APIs

Batch APIs

Page 13: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

SUMMARY

• PayPal has grown phenomenally since its inception

• PayPal APIs have evolved to support this growth

• We revisited the basics to create a real platform

• That is founded on principles around ‘API as a product’

• We are rethinking integration with focus on simplicity and reach

Page 14: Paypal Platform: Evolving for simplicity and reach - IBM Silicon Valley Lab

[email protected]@deepak_nadig