SlideShare a Scribd company logo
1 of 16
Download to read offline
©2014 MasterCard.
Proprietary and Confidentialdeveloper.mastercard.com @MasterCardDev
©2014 MasterCard.
Proprietary and Confidential
Peter van der Linden
Coding to the MasterCard OpenAPIs
©2015 MasterCard.
tialdeveloper.mastercard.com @MasterCardDev
1. credit card basics
2. what the OpenAPIs do
3. choices for coding
4. how to REST with a proxy
What you'll take away
©2015 MasterCard.
tialdeveloper.mastercard.com @MasterCardDev
bit.ly/1PpWZTa
Cardholder
Issuer
Merchant
Acquirer
©2015 MasterCard.
tialdeveloper.mastercard.com @MasterCardDev
http://developer.mastercard.com
©2015 MasterCard.
tialdeveloper.mastercard.com @MasterCardDev
Consumer APIs
API What it does
Locations Gives a list of nearby ATMs, rePower and travel card agents.
MoneySend Entity-to-consumer payments (sender can be merchant,
government, NGO, person, self)
Merchant ID Expands the brief seller details on a credit card statement
rePower Top up a pre-paid card at POS, ATM, etc
Local Favorites List restaurants favored by locals in some place
Places Up-to-date info about nearby merchants (e.g. really open?)
Western Union
Money Transfer
Send/get money to/from Western Union network
©2015 MasterCard.
tialdeveloper.mastercard.com @MasterCardDev
Merchant APIs
API What it does:
Simplify Commerce Adds ability to pay by any credit card to a merchant's website. More later
MasterPass Partner
Wallet
Creates new, or links to an issuer bank's existing, MasterCard-branded wallet.
Users can add any payment card into their wallet. More later.
MasterPass
merchant checkout
Allows user to choose a payment card at checkout. Remembers billing & ship data.
Easily integrated with Simplify Commerce (2-3 lines of javascript),
Shows icons representing cart contents during checkout for better UI
Connected chkout = merchant saves user/wallet connection for speed in checkout
Express checkout = recall which card & details are used, for next time. More later.
Lost/Stolen cards Checks if a card number is on the list of lost or stolen cards
Fraud score How risky is this transaction? 0 = safe, 999 = very high risk
Retail banking
agent
Draw money from your existing pre-paid card, at a participating merchant
(Mexico only)
©2015 MasterCard.
tialdeveloper.mastercard.com @MasterCardDev
http://developer.mastercard.com
> APIs
> API name
©2015 MasterCard.
tialdeveloper.mastercard.com @MasterCardDev
Download the SDK
©2015 MasterCard.
tialdeveloper.mastercard.com @MasterCardDev
1. credit card basics
2. what the OpenAPIs do
3. Choices for use
4. How to REST with a proxy
Where we are
©2015 MasterCard.
tialdeveloper.mastercard.com @MasterCardDev
REST APIs
Most of our APIs are simple REST APIs
Exceptions: Simplify Commerce, MasterPass
Here's how the REST APIs work
©2015 MasterCard.
tialdeveloper.mastercard.com @MasterCardDev
Review REST info
©2015 MasterCard.
tialdeveloper.mastercard.com @MasterCardDev
Security – required for financials!

RSA key pair, public key delivered in a CSR

Oauth 1, with Google body-hash extension

a nonce

SHA-1 hash of request body, base64 encoded

Sign signature base string using your private key
See http://goo.gl/jDPzMm for full details
That's a lot of coding for nothing visible!
©2015 MasterCard.
tialdeveloper.mastercard.com @MasterCardDev
Hackathon Solution – proxy server!
URL as it appears in docs on developer zone:
https://sandbox.api.mastercard.com/atms/v1/atm
Proxy server URL (Oct 24/25 only)
http://dmartin.org:8024/atms/v1/atm
Full URL with args:
http://dmartin.org:8024/atms/v1/atm?
Format=XML&PageOffset=0&PageLength=10&AddressLine1=70+Main+St
&PostalCode=63366&Country=USA&InternationalMaestroAccepted=1
©2015 MasterCard.
tialdeveloper.mastercard.com @MasterCardDev
REST APIs - summary
Use proxy to Sandbox, not production URLs
Use http not https, with proxy
Don't adjust your browser or PC proxy settings
Get string, or Post XML doc
Response is sent back as an XML document
Tip: get it working in Postman first
Tip: http://xmlvalidator.com
©2014 MasterCard.
Proprietary and Confidentialdeveloper.mastercard.com @MasterCardDev
@MasterCardDev
Peter van der Linden
Developer Evangelist
©2014 MasterCard.
Proprietary and Confidentialdeveloper.mastercard.com @MasterCardDev
From the experts
– Simplify Commerce
– MasterPass

More Related Content

What's hot

Innovators simply smart-integrated ver 5
Innovators   simply smart-integrated ver 5Innovators   simply smart-integrated ver 5
Innovators simply smart-integrated ver 5
walkthis
 
Quatro Ebanking
Quatro Ebanking Quatro Ebanking
Quatro Ebanking
Aflathoon
 
Contactless Payment Pp
Contactless Payment PpContactless Payment Pp
Contactless Payment Pp
colleneakard
 
M+C Overview September 2016
M+C Overview September 2016M+C Overview September 2016
M+C Overview September 2016
Dmitry Kozelkin
 

What's hot (20)

Financial fitness oct 2015
Financial fitness oct 2015Financial fitness oct 2015
Financial fitness oct 2015
 
Innovators simply smart-integrated ver 5
Innovators   simply smart-integrated ver 5Innovators   simply smart-integrated ver 5
Innovators simply smart-integrated ver 5
 
Unicorn Business Plans - Blockchain Pitch Deck
Unicorn Business Plans - Blockchain Pitch DeckUnicorn Business Plans - Blockchain Pitch Deck
Unicorn Business Plans - Blockchain Pitch Deck
 
From Payment to Digital Wallet
From Payment to Digital WalletFrom Payment to Digital Wallet
From Payment to Digital Wallet
 
Revolut - Really the best bank ever?
Revolut - Really the best bank ever?Revolut - Really the best bank ever?
Revolut - Really the best bank ever?
 
SmartCash presentation_brochure_v1.2.4
SmartCash presentation_brochure_v1.2.4SmartCash presentation_brochure_v1.2.4
SmartCash presentation_brochure_v1.2.4
 
Top 10 Features and Benefits of eCommerce Payment Gateway
Top 10 Features and Benefits of eCommerce Payment GatewayTop 10 Features and Benefits of eCommerce Payment Gateway
Top 10 Features and Benefits of eCommerce Payment Gateway
 
BlockXen Co., Ltd. Pitch Deck for the Item_Crypto-pay System
BlockXen Co., Ltd. Pitch Deck for the Item_Crypto-pay SystemBlockXen Co., Ltd. Pitch Deck for the Item_Crypto-pay System
BlockXen Co., Ltd. Pitch Deck for the Item_Crypto-pay System
 
Thoughts on the Future of Payments
Thoughts on the Future of PaymentsThoughts on the Future of Payments
Thoughts on the Future of Payments
 
Quatro Ebanking
Quatro Ebanking Quatro Ebanking
Quatro Ebanking
 
OTPPAY payments
OTPPAY paymentsOTPPAY payments
OTPPAY payments
 
So you want to be an EMV Issuer...
So you want to be an EMV Issuer...So you want to be an EMV Issuer...
So you want to be an EMV Issuer...
 
Stripe connect for marketplaces
Stripe connect for marketplacesStripe connect for marketplaces
Stripe connect for marketplaces
 
How to fight chargebacks. part 1
How to fight chargebacks. part 1How to fight chargebacks. part 1
How to fight chargebacks. part 1
 
Payment card for dummies
Payment card for dummiesPayment card for dummies
Payment card for dummies
 
Contactless Payment Pp
Contactless Payment PpContactless Payment Pp
Contactless Payment Pp
 
ACH Tokenization - New Rules for handing bank account data
ACH Tokenization - New Rules for handing bank account dataACH Tokenization - New Rules for handing bank account data
ACH Tokenization - New Rules for handing bank account data
 
M+C Overview September 2016
M+C Overview September 2016M+C Overview September 2016
M+C Overview September 2016
 
Digital Payment Quo Vadis
Digital Payment Quo VadisDigital Payment Quo Vadis
Digital Payment Quo Vadis
 
Cryset pitch deck
Cryset pitch deckCryset pitch deck
Cryset pitch deck
 

Viewers also liked

PSFK Presents the Future of Digital Safety & Security
PSFK Presents the Future of Digital Safety & SecurityPSFK Presents the Future of Digital Safety & Security
PSFK Presents the Future of Digital Safety & Security
PSFK
 

Viewers also liked (9)

MasterCard Digital Strategy
MasterCard Digital StrategyMasterCard Digital Strategy
MasterCard Digital Strategy
 
Putting real feeling into Android Apps
Putting real feeling into Android AppsPutting real feeling into Android Apps
Putting real feeling into Android Apps
 
GDC 2014 talk Haptics Android
GDC 2014 talk  Haptics AndroidGDC 2014 talk  Haptics Android
GDC 2014 talk Haptics Android
 
Droidcon berlin Apr2013
Droidcon berlin Apr2013Droidcon berlin Apr2013
Droidcon berlin Apr2013
 
Code to go Android
Code to go AndroidCode to go Android
Code to go Android
 
Présentation des consultations communautaires
Présentation des consultations communautairesPrésentation des consultations communautaires
Présentation des consultations communautaires
 
Master pass api
Master pass apiMaster pass api
Master pass api
 
Intro to Android Programming
Intro to Android ProgrammingIntro to Android Programming
Intro to Android Programming
 
PSFK Presents the Future of Digital Safety & Security
PSFK Presents the Future of Digital Safety & SecurityPSFK Presents the Future of Digital Safety & Security
PSFK Presents the Future of Digital Safety & Security
 

Similar to Master cardapis v7.2020

RealMobileTechJun1_2015 (1) (1) (2) r3
RealMobileTechJun1_2015 (1) (1) (2) r3RealMobileTechJun1_2015 (1) (1) (2) r3
RealMobileTechJun1_2015 (1) (1) (2) r3
Chris Nolan
 
Smart card emv for dummies
Smart card emv for dummiesSmart card emv for dummies
Smart card emv for dummies
BACKSEATRIDER
 
Small_Merchant_Guide_to_Safe_Payments
Small_Merchant_Guide_to_Safe_PaymentsSmall_Merchant_Guide_to_Safe_Payments
Small_Merchant_Guide_to_Safe_Payments
Steve Abrams
 
Intercard Finance CP 2016
Intercard Finance CP 2016Intercard Finance CP 2016
Intercard Finance CP 2016
Irina Stefanova
 

Similar to Master cardapis v7.2020 (20)

Credit card processing highrisk gateways
Credit card processing   highrisk gatewaysCredit card processing   highrisk gateways
Credit card processing highrisk gateways
 
apidays LIVE LONDON - Revolut Marketplace & APIs by Stijn Pieper
apidays LIVE LONDON - Revolut Marketplace & APIs by Stijn Pieperapidays LIVE LONDON - Revolut Marketplace & APIs by Stijn Pieper
apidays LIVE LONDON - Revolut Marketplace & APIs by Stijn Pieper
 
RealMobileTechJun1_2015 (1) (1) (2) r3
RealMobileTechJun1_2015 (1) (1) (2) r3RealMobileTechJun1_2015 (1) (1) (2) r3
RealMobileTechJun1_2015 (1) (1) (2) r3
 
PCI Compliance Process
PCI Compliance ProcessPCI Compliance Process
PCI Compliance Process
 
Online Payments For Developers
Online Payments For DevelopersOnline Payments For Developers
Online Payments For Developers
 
ForgeRock Open banking - Meetup 28/06/2018
ForgeRock Open banking - Meetup 28/06/2018ForgeRock Open banking - Meetup 28/06/2018
ForgeRock Open banking - Meetup 28/06/2018
 
Smart card emv for dummies
Smart card emv for dummiesSmart card emv for dummies
Smart card emv for dummies
 
Stripe Integration With MuleSoft
Stripe Integration With MuleSoftStripe Integration With MuleSoft
Stripe Integration With MuleSoft
 
Netpay Presentation
Netpay PresentationNetpay Presentation
Netpay Presentation
 
Encap security
Encap security  Encap security
Encap security
 
Btl mastercard
Btl mastercardBtl mastercard
Btl mastercard
 
SBMS EMV Doc
SBMS EMV Doc SBMS EMV Doc
SBMS EMV Doc
 
Clever Division: Redefining Business Strategies with Red Maple Solutions
Clever Division: Redefining Business Strategies with Red Maple SolutionsClever Division: Redefining Business Strategies with Red Maple Solutions
Clever Division: Redefining Business Strategies with Red Maple Solutions
 
What Is Mobile App Payment Gateway Integration - consumer-sketch.pptx
What Is Mobile App Payment Gateway Integration - consumer-sketch.pptxWhat Is Mobile App Payment Gateway Integration - consumer-sketch.pptx
What Is Mobile App Payment Gateway Integration - consumer-sketch.pptx
 
PCI FAQs and Myths
PCI FAQs and MythsPCI FAQs and Myths
PCI FAQs and Myths
 
Small_Merchant_Guide_to_Safe_Payments
Small_Merchant_Guide_to_Safe_PaymentsSmall_Merchant_Guide_to_Safe_Payments
Small_Merchant_Guide_to_Safe_Payments
 
Startup Highway Workshop
Startup Highway WorkshopStartup Highway Workshop
Startup Highway Workshop
 
Intercard Finance CP 2016
Intercard Finance CP 2016Intercard Finance CP 2016
Intercard Finance CP 2016
 
ACI RED SHIELD
ACI RED SHIELD ACI RED SHIELD
ACI RED SHIELD
 
ACI RED SHIELD
ACI RED SHIELDACI RED SHIELD
ACI RED SHIELD
 

Recently uploaded

Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in OmanMifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
instagramfab782445
 

Recently uploaded (20)

BeMetals Investor Presentation_May 3, 2024.pdf
BeMetals Investor Presentation_May 3, 2024.pdfBeMetals Investor Presentation_May 3, 2024.pdf
BeMetals Investor Presentation_May 3, 2024.pdf
 
Over the Top (OTT) Market Size & Growth Outlook 2024-2030
Over the Top (OTT) Market Size & Growth Outlook 2024-2030Over the Top (OTT) Market Size & Growth Outlook 2024-2030
Over the Top (OTT) Market Size & Growth Outlook 2024-2030
 
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdfTVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
TVB_The Vietnam Believer Newsletter_May 6th, 2024_ENVol. 006.pdf
 
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Buy gmail accounts.pdf buy Old Gmail Accounts
Buy gmail accounts.pdf buy Old Gmail AccountsBuy gmail accounts.pdf buy Old Gmail Accounts
Buy gmail accounts.pdf buy Old Gmail Accounts
 
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 MonthsSEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
 
Cannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 UpdatedCannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 Updated
 
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business Potential
 
Cracking the 'Career Pathing' Slideshare
Cracking the 'Career Pathing' SlideshareCracking the 'Career Pathing' Slideshare
Cracking the 'Career Pathing' Slideshare
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All TimeCall 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
 
Rice Manufacturers in India | Shree Krishna Exports
Rice Manufacturers in India | Shree Krishna ExportsRice Manufacturers in India | Shree Krishna Exports
Rice Manufacturers in India | Shree Krishna Exports
 
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in OmanMifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
Mifepristone Available in Muscat +918761049707^^ €€ Buy Abortion Pills in Oman
 
CROSS CULTURAL NEGOTIATION BY PANMISEM NS
CROSS CULTURAL NEGOTIATION BY PANMISEM NSCROSS CULTURAL NEGOTIATION BY PANMISEM NS
CROSS CULTURAL NEGOTIATION BY PANMISEM NS
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 

Master cardapis v7.2020