Public APIs / Development / Mastercard APIs
Mastercard APIs
14 REST APIs from mastercard.com, each with an OpenAPI spec. Mastercard APIs documented with an OpenAPI spec.
Open the Mastercard APIs documentation Build something with it
Key facts
- Category
- Development
- Authentication
- See docs
- HTTPS
- Yes
- CORS
- Unknown
- Listed in
- APIs.guru
Authentication is described in the provider's OpenAPI spec and documentation. Most need a key or OAuth.
What you could build with Mastercard APIs
Development APIs are tools for developers: screenshots, code, QR codes, IP lookups, mock data and much more.
- Internal tools that save developer hours
- Automated website screenshots and reports
- A status page and uptime monitor
OpenAPI spec
Mastercard APIs has a machine-readable OpenAPI definition. Load it into Postman, Insomnia or a code generator to get every endpoint and a typed client in minutes.
14 Mastercard APIs REST APIs
- rePower V2 spec
- MATCH API 1.0.0
Helps acquirers identify potentially high-risk merchants before entering to a merchant agreement spec - Locations API 1.0.0
The Locations API provides access to MasterCard's ATM and Merchant location database spec - Spending Pulse 1.0
This API will provide monthly data which includes metrics such as sales volume and growth rate spec - MasterCard ABU API 1.1.0
Mastercard ABU API spec - Personalized Offers 1.3
This API provides content for financial instutions participating in Mastercard Personalized Offers to use in online and mobile banking applications for cardholders spec - MDES Customer Service 2.0.7
This API provides our Issuer partners with resources to help resolve consumer queries about payment accounts enabled through our digitization platform spec - Bill Payment Validator 1.0
The Bill Payment Validator service allows RPPS origination (payment sender) customers to identify if a potential RPPS transaction would process successfully before transmitting the formal payment spec - Send Person to Merchant V1 spec
- Merchant Identifier API V2 2.0.0
API for Merchant Identifier spec - MasterCard Bin Table Listing 1.0
MasterCard Bin Table Listing API spec - Payment Account Reference Inquiry API 1.1
The Payment Account Reference Inquiry API is the unified Mastercard interface for allowing Mastercard Customers involved in payment card acceptance -- whether Merchants, Acquirers, or Digital spec - Open Banking - Payments initiation service 1.16.0
Open Banking - Payments initiation service spec - API for the Settlement Currency Rate converter 1.0.0
This API provides a range of functions to get back currency conversion rates and amounts based on current Mastercard currency conversion values spec
How we would integrate Mastercard APIs
- Generate a typed client from the OpenAPI spec, so every endpoint and field is checked at build time.
- Sign up with the provider, get a key and store it on the server in an env.php or secret store.
- Put a small backend in front of it, so the browser talks to your server and your server talks to the API.
- Cache results in your own database, so pages stay fast and you stay inside rate limits.
- Add monitoring: if the API goes down or changes, you get an alert before your customers notice.
Questions about Mastercard APIs
Does the Mastercard APIs need an API key?
Authentication is described in the provider's OpenAPI spec and documentation. Most need a key or OAuth.
Is there an OpenAPI (Swagger) spec for Mastercard APIs?
Yes. The spec is linked on this page, so you can generate a client or import it into Postman.
Can I call Mastercard APIs from the browser?
It is not documented. Plan for a small server-side proxy to be safe.
Does Mastercard APIs support HTTPS?
Yes, it is served over HTTPS.
Can you build an app with Mastercard APIs for me?
Yes. FullStack Partner has developers who build and run products on APIs like this one. Send us a few lines and we reply with a plan and a fixed price.