L

Locations API

REST discovered

Details Spec supplied by APIs.guru
URL
https://api.mastercard.com
Spec
https://api.apis.guru/v2/specs/mastercard.com/Locations/1.0.0/swagger.json
Docs
https://developer.mastercard.com/product/location-intelligence/
Authentication
Mastercard OAuth key pair (consumer key/client ID + private key, with OAuth 2.0 key ID when applicable) app discovered Get key ↗
Authorization: OAuth <credential>

Sign in to Mastercard Developers, open your project, then go to Sandbox credentials or Production credentials and add a project key as described in OAuth Keys. For OAuth 1.0a, Mastercard gives you a consumer key and you sign each request with your private key. For OAuth 2.0, Mastercard gives you a client ID and kid for a public key you register; you use your private key to sign a private_key_jwt and obtain bearer tokens. The easiest path is to generate a new private key in the browser from the project credentials screen, then download and store it securely.