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

The Accounts API from Mastercard — 9 operation(s) for accounts.

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

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

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

15 operations 9 paths 48 schemas 3 DELETE4 GET5 POST3 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 15

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

Accounts 15
POST
/bin-ranges/account-searches
Search by 6 - 8 Digit BINs, or up to the 11th digit of an account range
search-by-account-range-resources body → 200400401403404
POST
/user-account-activity-searches
View identity lifecycle activities which have occurred in a time period.
retrieveUserActivities 2 params body → 200400401403404
GET
/users/{user_guid}/virtual-card-accounts
Retrieve a list of all virtual cards linked to a user
findVcnCardsByUser 1 param → 200400401403404
POST
/users/{user_guid}/virtual-card-accounts
Register a virtual card linked to a user
createVirtualCardWithControls 1 param body → 201400401403404
GET
/users/{user_guid}/virtual-card-accounts/{account_guid}
Retrieve virtual card account details linked to a user
findVcnCardByUser 2 params → 200400401403404
PUT
/users/{user_guid}/virtual-card-accounts/{account_guid}
Update virtual card account details linked to a user
updateUserCardAndControls 2 params body → 200400401403404
DELETE
/users/{user_guid}/virtual-card-accounts/{account_guid}
Delete a virtual card account linked to a user
deleteUserVirtualCard 2 params → 204400401403404
DELETE
/real-card-accounts/{account_guid}
Delete all virtual cards linked to a real card
DeleteVcnsByRealCardAccountGuid 1 param → 204400401403404
POST
/users/{user_guid}/virtual-card-accounts/{account_guid}/tokens
Register a token linked to a user and a virtual card
TokenCreate 2 params body → 201400401403404
GET
/users/{user_guid}/virtual-card-accounts/{account_guid}/tokens/{token_guid}
Retrieve token details linked to a user and a virtual card
getTokenById 3 params → 200400401403404
PUT
/users/{user_guid}/virtual-card-accounts/{account_guid}/tokens/{token_guid}
Update a token linked to a user and a virtual card
updateTokenById 3 params body → 200400401403404
DELETE
/users/{user_guid}/virtual-card-accounts/{account_guid}/tokens/{token_guid}
Delete a token linked to a user and a virtual card
deleteTokenById 3 params → 204400401403404
PUT
/accounts
Updates details for an enrolled account.
updateAccount body → 200400
POST
/accounts
Enrolls a new account for an existing User. An Account is a unique card, as compared to a User which is a unique cardholder. Use this operation only for subsequent account enrollments of an existing…
enrollAccount body → 201400
GET
/accounts/{id}
Retrieves Account details using the Account Id, including the Account standing, enrollment date, and more.
getAccount 5 params → 200400

Schemas 48

The contract defines 48 schemas that model the data the API accepts and returns. The most detailed are Account (37 properties), AccountEnroll (26 properties), BinResource (23 properties), AccountUpdate (20 properties). Each schema is shown below with its type and property counts.

Errors
array
SearchByAccountRange
object
1 property 1 required
ErrorResponse
object
1 property 1 required
BinResourceArray
array
BinResource
object
23 properties
Error
object
5 properties 3 required
UserAccountActivitySearch
object
5 properties 4 required
PDS
string
Encrypted Personal Device Storage (PDS) which hosts the users identity attributes. The PDS can be retrieved from the MIDS Core SDK, please refer to the SDK gui…
UserAccountActivities
object
2 properties 1 required
UserAccountActivityItemContents
object
4 properties 1 required
UserAccountActivityItems
object
3 properties 2 required
ErrorResponse_2
object
The error response model used by all the API endpoints.
1 property 1 required
SdkVersion
string
Mastercard SDK version integrated with TP App, it is a constant extracted from MIDS SDK Configurations (generated while bundling SDK artifacts). If the TP app…
UserConsent
string
Confirmation provided by the TP that the user has consented that the ID-Network can have access to their identity for the purposes of the API call. Should be A…
VelocityControl
object
The VelocityControl can limit the frequency, and the total cumulative amount of authorizations performed on the cardholders account within a specified time per…
8 properties 2 required
CurfewControl
object
Curfew Control
5 properties 4 required
Vcn
Token
object
4 properties
TransactionLimitControl
object
The TransactionLimit control provides the ability to limit individual transaction authorizations to a maximum amount
2 properties 2 required
VirtualCardAccount
object
2 required
UpdateVirtualCardAccount
object
1 required
MerchantIdControl
object
The Merchant ID control provides the ability to limit authorizations to particular merchants
3 properties 3 required
ResourceIdentifier
string
A UUID which uniquely identifies a resource
ValidityPeriodControl
object
The ValidityPeriod control provides the ability to limit authorization activity to a defined time period
4 properties 3 required
MccControl
object
The Card Acceptor Business Codes (MCC) control can control the type of purchases for which a card is used
2 properties 2 required
Controls
array
In Control Card Controls
Card
object
2 properties 2 required
ErrorWrapper
object
1 property 1 required
AgeingVelocityControl
object
The AgingVelocityControl provides the requester with the ability to set a notional credit line through the CumulativeControl. This control keeps track of the c…
7 properties 4 required
AmountRangeControl
object
The exact amount range control will approve a transaction only if the requested amount is equal or greater than MinAmount and less than or equal to MaxAmount.…
6 properties 4 required
VcnUserDetail
object
3 properties 3 required
UpdateVCN
object
2 properties
TokenUpdate
object
1 property
TimeOfDayControl
object
The TimeOfDayControl provides the ability to limit authorization activity to defined time periods for each day
3 properties 3 required
Errors_2
object
1 property 1 required
Control
object
In Control Rule
12 properties 2 required
GeographyControl
object
The GeographicControl provides the ability to control where a card is physically used
2 properties 2 required
ErrorList
array
TimeOfDay
object
3 properties 3 required
Error_2
object
5 properties
AccountSearchDetails
object
5 properties 1 required
Account
object
accounts
37 properties 5 required
AccountEnroll
object
26 properties 8 required
AccountUpdate
object
20 properties 2 required
EnrolledAccount
object
2 properties
ErrorItem
object
Error Details
5 properties
Errors_3
object
1 property 1 required
ErrorsWrapper
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mastercard-accounts-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 Accounts 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.