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 Card API

The Card API from Mastercard — 14 operation(s) for card.

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

Tagged areas include Cards. 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 12 operations across 5 paths, and defines 37 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 4 base URLs: https://api.ethocaweb.com/ethoca/merchant-self-services, https://sandbox.api.ethocaweb.com/ethoca/merchant-self-services, https://apiedge.mastercard.com/commercial, https://mtf.apiedge.mastercard.com/commercial.

12 operations 5 paths 37 schemas 4 DELETE4 GET3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.ethocaweb.com/ethoca/merchant-self-services
Resource Areas
1

Paths & Operations 12

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

Card 12
POST
/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-ids
Mastercard Create Sub-merchant Card Acceptor Id Config
createAlertsCardAcceptorIdConfig 5 params body → 200400401403404422default
GET
/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-ids
Mastercard Get Sub-merchant Card Acceptor Id Configs
getAlertsCardAcceptorIdConfigs 9 params → 200400401403404default
DELETE
/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-ids
Mastercard Delete Sub-merchant Card Acceptor Id Config
deleteAlertsCardAcceptorIdConfig 6 params → 200400401403404default
POST
/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-names
Mastercard Create Sub-merchant Card Acceptor Name Config
createAlertsCardAcceptorNameConfig 5 params body → 200400401403404422default
GET
/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-names
Mastercard Get Sub-merchant Card Acceptor Name Configs
getAlertsCardAcceptorNameConfigs 8 params → 200400401403404default
DELETE
/alerts/merchants/{member_id}/sub-merchants/{sub_merchant_id}/card-acceptor-names
Mastercard Delete Sub-merchant Card Acceptor Name Config
deleteAlertsCardAcceptorNameConfig 6 params → 200400401403404default
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
DELETE
/real-card-accounts/{account_guid}
Delete all virtual cards linked to a real card
DeleteVcnsByRealCardAccountGuid 1 param → 204400401403404

Schemas 37

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

AlertsMerchantConfigId
string
Internal Universally Unique Identifier (UUID) which uniquely identifies the merchants configuration
ResponseTime
string
Total response time in ms
Errors
object
Errors object
1 property 1 required
CardAcceptor
string
Merchant Card Acceptor
CardAcceptorCountry
string
A sub-element of the merchant descriptor indicating the country of the merchant as it appears on the cardholder's statement. Value is not case-sensitive and ca…
FirstName
stringnull
The individual's first name
PageableCardAcceptorNamesResource
object
Pageable card acceptor names resource with pagination metadata
2 properties
BulkOperationResource
object
Resource with responseCode and details
3 properties 1 required
CardAcceptorCity
string
A sub-element of the merchant descriptor indicating the merchant city/location as it appears on the cardholder's billing statement.
AlertsMerchantIdentifierConfigIdOnly
object
Merchant identifier configuration Id (referring to card acceptor id or name configuration)
1 property
AlertsCardAcceptorNameConfigs
object
Card acceptor name configurations for a merchant
2 properties
ResourceId
stringnull
Unique identifier of resource
AlertsCardAcceptorIdConfigs
object
Card acceptor id configurations for a merchant
2 properties
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…
CardAcceptorData
object
2 properties 2 required
UserId
string
The user id of the submitter/technical contact.
MerchantGuid
string
Consumer Clarity internal merchant's GUID
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…
Error
object
Error object
5 properties
CardAcceptorDataResource
object
4 properties 4 required
ResponseHeader
object
4 properties
AlertsCardAcceptorNameConfig
object
Card acceptor name configuration
5 properties 1 required
Etag
string
Etag is a response header which is an identifier for a specific version of a resource.
CardAcceptorNamesBulkResource
object
Set of Card Acceptor Names resource
1 property
CardAcceptorName
string
A sub-element of the merchant descriptor that contains the merchant's name or doing business as name as it appears on the cardholder's billing statement.
ClarityResponseHeader
CardAcceptorRegion
string
A sub-element of the merchant descriptor indicating either the state, province, or region of the merchant as it appears on the cardholder's statement. Value is…
CardAcceptorNamesBulk
object
1 property 1 required
ErrorResponse
object
Error Response object
1 property 1 required
LastName
stringnull
The individual's last name
AlertsMerchantMemberId
string
Internal Universally Unique Identifier (UUID) which uniquely identifies the merchants
AlertsCardAcceptorIdConfig
object
Map of acquirer reference id and the corresponding card acceptor id
3 properties 2 required
ErrorWrapper
object
1 property 1 required
Error_2
object
5 properties
ErrorList
array
Errors_2
object
1 property 1 required
ResourceIdentifier
string
A UUID which uniquely identifies a resource

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mastercard-card-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 Card 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.