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

The States API from Mastercard — 2 operation(s) for states.

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

Tagged areas include States. 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 2 operations across 2 paths, and defines 17 schemas. It is described by OpenAPI 2.0, at version 1.0.

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

2 operations 2 paths 17 schemas 2 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 2

Across 2 paths, the API surfaces 2 operations — 2 PUT. Each is listed below with its method, path, parameters, and response codes.

States 2
PUT
/fraud-states
Delete an Existing Fraud Record or Confirm a Suspended Fraud Record for Both Mastercard and Issuer Built Transactions.
fraudState body → 200400401403429
PUT
/sub-merchants/{guid}/states
Mastercard Activate/deactivate a Sub-merchant.
changeSubMerchantState 4 params body → 204400404default

Schemas 17

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

Error_2
object
Error object
5 properties
FraudBase
object
3 properties
SafeFraudProvider
string
Indicates the originator of the request. Value 10 is for Issuer and 20 for Acquirer.
UserId
string
The user id of the submitter/technical contact.
ErrorResponse
object
Error Response object
1 property 1 required
FirstName
string
The individual's first name
MerchantGuid
string
Consumer Clarity internal merchant's GUID
ErrorWrapper
object
Object containing the list of combination of error reason codes and their corresponding description (can provide up to 5 errors for a record). It will be absen…
1 property 1 required
FraudState
string
Indicates the type of operation to be performed for the given audit control number. The value FDD is to indicate delete operation and FDE is to indicate confir…
FraudDeleteAndConfirm
Errors
object
1 property 1 required
Errors_2
object
Errors object
1 property 1 required
Fraud
SubMerchantState
object
2 properties 1 required
LastName
string
The individual's last name
APIDataElement
object
4 properties 3 required
Error
object
5 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mastercard-states-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 States 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.