How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Mastercard Locations API

Self serve APIs for Consumer Clarity sub-merchants to onboard their locations

Mastercard Locations API is one of 249 APIs that Mastercard publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Locations. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, code examples, a changelog, a support channel, and a getting-started guide.

This API exposes 11 operations across 5 paths, and defines 35 schemas. It is described by OpenAPI 2.0, at version 1.0.

Requests are made against the base URL https://api.example.com.

11 operations 5 paths 35 schemas 3 DELETE4 GET2 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
1.0
Base URL
https://api.example.com
Resource Areas
1

Paths & Operations 11

Across 5 paths, the API surfaces 11 operations — 3 DELETE, 4 GET, 2 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Locations 11

Self serve APIs for Consumer Clarity sub-merchants to onboard their locations

GET
/sub-merchants/{guid}/locations/{location_id}
Mastercard Get Location by Id
getLocationById 5 params → 200400404default
PUT
/sub-merchants/{guid}/locations/{location_id}
Mastercard Update an Existing Location
updateLocation 6 params body → 200400404default
DELETE
/sub-merchants/{guid}/locations/{location_id}
Mastercard Delete an Existing Location
deleteLocation 5 params → 204400404default
POST
/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names
Mastercard Add Card Acceptor Names
addCardAcceptorNames 5 params body → 200400default
GET
/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names
Mastercard Get Card Acceptor Names
getCardAcceptorNames 10 params → 200400404default
GET
/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names/{id}
Mastercard Get Card Acceptor Name by Id
getCardAcceptorNameById 6 params → 200400404default
PUT
/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names/{id}
Mastercard Update Card Acceptor Name by Id
updateCardAcceptorNameById 7 params body → 200400404default
DELETE
/sub-merchants/{guid}/locations/{location_id}/card-acceptor-names/{id}
Mastercard Delete Existing Card Acceptor Name
deleteCardAcceptorById 6 params → 204400404default
POST
/sub-merchants/{guid}/locations/{location_id}/acquirer-merchant-ids
Mastercard Add Acquirer Reference Id and Card Acceptor Id Pairs
addAcquirerMerchantIds 5 params body → 200400default
GET
/sub-merchants/{guid}/locations/{location_id}/acquirer-merchant-ids
Mastercard Get Accepted Acquirer Reference Id and Card Acceptor Id Pairs
getAcceptedAcquirerMerchantIds 10 params → 200400404default
DELETE
/sub-merchants/{guid}/locations/{location_id}/acquirer-merchant-ids/{acquirer_merchant_id}
Mastercard Delete Existing Acquirer Reference Id and Card Acceptor Id Pair
deleteAcceptedAcquirerMerchantId 6 params → 204400404default

Schemas 35

The contract defines 35 schemas that model the data the API accepts and returns. The most detailed are ShortAddress (6 properties), Error (5 properties), ResponseHeader (4 properties), CardAcceptorDataResource (4 properties). Each schema is shown below with its type and property counts.

AcquirerMerchantIds
array
Set of acquirer reference ID & card acceptor ID pairs
LocationWithoutCardAcceptors
object
1 required
AcquirerMerchant
object
Acquirer & Merchant IDs information
1 property 1 required
AcquirerMerchantIdsResource
object
Set of acquirer reference ID & card acceptor ID pairs resource
2 properties
ShortEmail
string
Email address
UserId
string
The user id of the submitter/technical contact.
AcquirerReferenceId
string
The acquirer BINs that a partner currently services under their portfolio. This is represented by Mastercard DE 31 - Subfield 2 (Clearing), DE 32 (Authorizatio…
ResourceId
string
Unique identifier of resource
ClarityResponseHeader
CardAcceptor
string
Merchant Card Acceptor
AcceptedAcquirerMerchantIdsResource
array
Accepted acquirer reference ID & card acceptor ID pairs
CardAcceptorId
string
Identifies the card acceptor ID assigned by the acquirer. This ID must represent a unique identifier for each merchant name/location within the acquirer BIN. T…
LocationWithoutCardAcceptorsResource
object
CardAcceptorDataResource
object
4 properties 4 required
ErrorResponse
object
Error Response object
1 property 1 required
FirstName
string
The individual's first name
Etag
string
Etag is a response header which is an identifier for a specific version of a resource.
MerchantGuid
string
Consumer Clarity internal merchant's GUID
ResponseHeader
object
4 properties
AcquirerMerchantIdResource
object
Acquirer reference ID & card acceptor ID resource
1 required
CardAcceptorData
object
2 properties 2 required
PageableCardAcceptorNamesResource
object
Pageable card acceptor names resource with pagination metadata
2 properties
Email
string
Email address
PageableAcceptedAcquirerMerchantIdsResource
object
Pageable accepted acquirer reference ID & card acceptor ID pairs resource with pagination metadata
2 properties
CardAcceptorNamesBulk
object
1 property 1 required
BulkOperationResource
object
Resource with responseCode and details
3 properties 1 required
CardAcceptorNamesBulkResource
object
Set of Card Acceptor Names resource
1 property
AcquirerMerchantId
object
Acquirer reference ID & card acceptor ID pair
3 properties 2 required
Errors
object
Errors object
1 property 1 required
Address
Address entity associated to merchant's location and legal address.
1 required
ShortAddress
object
Address.
6 properties
CountryCode
string
The [ISO 3166-1](https://www.iso.org/obp/ui/search) alpha-3 compliant country code.
LastName
string
The individual's last name
ResponseTime
string
Total response time in ms
Error
object
Error object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mastercard-locations-api-openapi.yml Raw ↑

Other APIs Mastercard publishes across the network.

Mastercard Universal Specification Submission API
Mastercard Account to Account Commerce for Creditor Service Providers
Mastercard Debtor Service Provider Resources API
Mastercard Automatic Billing Updater API
Mastercard Benefit Eligibility Service API
Mastercard Bill Pay API
Mastercard Bill Payment Validator
Mastercard BIN Lookup API
Mastercard Business Payment Controls
Mastercard Carbon Calculator API
Mastercard Carbon Calculator Experience API
Mastercard Checkout Solutions
Where this information came from

This is an independent, third-party profile of Mastercard Locations API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.