# Mastercard To DSP
source: https://developer.mastercard.com/account-to-account-commerce-for-dsp/documentation/api-reference/mastercard-to-dsp/index.md

## Environment Domains {#environment-domains}

Mastercard will use the endpoints provided by customers during onboarding process.

To form the full endpoint URL, combine the appropriate domain portion with the path portion shown by the OpenAPI specification (see below).

API Specification: `https://static.developer.mastercard.com/content/account-to-account-commerce-for-dsp/swagger/A2A_Mastercard_To_DSP.yaml`


API Specification: `https://static.developer.mastercard.com/content/account-to-account-commerce-for-dsp/swagger/PBARFP_Mastercard_To_DSP_AR.yaml`

## Response Codes, Error Codes and Troubleshooting {#response-codes-error-codes-and-troubleshooting}

For information about the HTTP response codes that may be returned for your API requests, see [Codes and Formats](https://developer.mastercard.com/account-to-account-commerce-for-dsp/documentation/code-and-formats/index.md).   
