# Testing
source: https://developer.mastercard.com/payment-account-management/documentation/testing/index.md

You can import the yaml file available on the [API reference](https://developer.mastercard.com/payment-account-management/documentation/api-reference/index.md) page into Insomnia and use the Mastercard plugin to test this API with the OAuth Authentication [Insomnia Plugin](https://developer.mastercard.com/platform/documentation/using-oauth-1a-to-access-mastercard-apis/#insomnia-plugin). Refer to [Environment Domains](https://developer.mastercard.com/payment-account-management/documentation/environment-domains/index.md) for the detailed URLs.

## Prerequisites {#prerequisites}

You will require the following artefacts:

* The P12 Certificate file for your project for OAuth authorization to the API.
* The Public and Private encryption keys that are used for field level encryption in the API calls -- [Encryption keys](https://developer.mastercard.com/payment-account-management/documentation/api-basics/index.md#encryption).
