# API Reference
source: https://developer.mastercard.com/merchant-self-services/documentation/api-reference/index.md

## Environment Domains {#environment-domains}

Note: If you are already using the api.mastercard.com URL in your sandbox or production environments, you can continue to do so.
* Sandbox
* Production

```Sandbox
https://sandbox.api.ethocaweb.com/ethoca/merchant-self-services
```

```Production
https://api.ethocaweb.com/ethoca/merchant-self-services
```

## APIs {#apis}

Note: The API request below shows example data for each individual field. Test cases are available to use in the sandbox, which include sets of request data that return expected responses. Contact your integration representative for details.
API Specification: `https://static.developer.mastercard.com/content/merchant-self-services/swagger/merchant-self-serve-api-spec.yml`

### Error handling {#error-handling}

See [Code and Formats](https://developer.mastercard.com/merchant-self-services/documentation/code-and-formats/index.md) for detailed information about error response handling for the Merchant Self Services API.
