# API Reference
source: https://developer.mastercard.com/merchant-identifier/documentation/midv2/v2-api-reference/index.md

### ***Note : Version 2 has been deprecated*** {#_note--version-2-has-been-deprecated_}

## Implementation Detail {#implementation-detail}

### Client Authentication {#client-authentication}

The Merchant Identifier API requires all requests to be signed using OAuth 1.0a Please see: [Using OAuth 1.0a to Access Mastercard APIs](https://developer.mastercard.com/platform/documentation/security-and-authentication/using-oauth-1a-to-access-mastercard-apis/)

### Generating client libraries {#generating-client-libraries}

Client libraries can be generated for a simplified integration with the Merchant Identifier service, refer to Mastercard's generic page on [Generating and Configuring a Mastercard API Client for more details](https://developer.mastercard.com/platform/documentation/security-and-authentication/generating-and-configuring-a-mastercard-api-client/)  

## Environment Domains {#environment-domains}

* Sandbox
* Production

```Sandbox
https://sandbox.api.mastercard.com/merchant-id
```

```Production
https://api.mastercard.com/merchant-id
```

## Sandbox {#sandbox}

For list of Sandbox Merchant Descriptors, please click [here](https://static.developer.mastercard.com/content/merchant-identifier/uploads/merchant-identifier-v2-sandbox-merchant-descriptors.xlsx)

## APIs {#apis}


API Specification: `https://static.developer.mastercard.com/content/merchant-identifier/swagger/merchant-identifier-v2.yaml`

