# API Reference
source: https://developer.mastercard.com/mastercard-agent-pay/documentation/api-reference/index.md

## Registration {#registration}

* Sandbox
* Production

```Sandbox
https://sandbox.api.mastercard.com/src/onboarding
```

```Production
https://api.mastercard.com/src/onboarding
```


API Specification: `https://static.developer.mastercard.com/content/mastercard-agent-pay/swagger/dpa_registration_v1.yaml`

Note: The *{src client id}* placeholder in the path should be your SRC Client ID provided in the [Project Dashboard](https://developer.mastercard.com/mastercard-agent-pay/tutorial/onboarding-sandbox/step6/index.md).

## Card {#card}

* Sandbox-Global
* Production-Global
* Sandbox-India
* Production-India

```Sandbox-Global
https://sandbox.api.mastercard.com/src/api/digital/payments
```

```Production-Global
https://api.mastercard.com/src/api/digital/payments
```

```Sandbox-India
https://sandbox.api.mastercard.co.in/src/api/digital/payments
```

```Production-India
https://api.mastercard.co.in/src/api/digital/payments
```

Note: Refer to [Card Encryption](https://developer.mastercard.com/mastercard-checkout-solutions/tutorial/perform-encryption/) tutorial for details on how to encrypt a sample unencrypted **card** object.
API Specification: `https://static.developer.mastercard.com/content/mastercard-agent-pay/swagger/card_v1.yaml`

## Authentication {#authentication}

<br />

* Sandbox-Global
* Production-Global
* Sandbox-India
* Production-India

```Sandbox-Global
https://sandbox.api.mastercard.com/src/api
```

```Production-Global
https://api.mastercard.com/src/api
```

```Sandbox-India
https://sandbox.api.mastercard.co.in/src/api
```

```Production-India
https://api.mastercard.co.in/src/api
```


API Specification: `https://static.developer.mastercard.com/content/mastercard-agent-pay/swagger/authentication_v1.yaml`

<br />

Note: MTLS authentication protocol is currently available for [Enroll Card](https://developer.mastercard.com/mastercard-agent-pay/documentation/api-reference/index.md#card), [Get Card](https://developer.mastercard.com/mastercard-agent-pay/documentation/api-reference/index.md#card), [Card Notifications](https://developer.mastercard.com/mastercard-agent-pay/documentation/api-reference/index.md#notifications) and [Checkout](https://developer.mastercard.com/mastercard-agent-pay/documentation/api-reference/index.md#checkout) APIs. Work with your [Mastercard representative](https://developer.mastercard.com/mastercard-agent-pay/documentation/support/index.md#get-help) for more details.   

## Notifications {#notifications}


API Specification: `https://static.developer.mastercard.com/content/mastercard-agent-pay/swagger/notifications_v1.yaml`

## Verifiable Intent {#verifiable-intent}

<br />

* Sandbox
* Production

```Sandbox
https://sandbox.api.mastercard.com/
```

```Production
https://api.mastercard.com/
```


API Specification: `https://static.developer.mastercard.com/content/mastercard-agent-pay/swagger/verifiable_intent_v1.yaml`

<br />

## Checkout {#checkout}

* Sandbox-Global
* Production-Global
* Sandbox-India
* Production-India

```Sandbox-Global
https://sandbox.api.mastercard.com/src/api/digital/payments
```

```Production-Global
https://api.mastercard.com/src/api/digital/payments
```

```Sandbox-India
https://sandbox.api.mastercard.co.in/src/api/digital/payments
```

```Production-India
https://api.mastercard.co.in/src/api/digital/payments
```


API Specification: `https://static.developer.mastercard.com/content/mastercard-agent-pay/swagger/checkout_scof_v1.yaml`

Note: Refer to [Card Encryption](https://developer.mastercard.com/mastercard-checkout-solutions/tutorial/perform-encryption/) tutorial for details on how to encrypt a sample unencrypted **card** object.

## Next Steps {#next-steps}

Now that you have a good understanding of all the services endpoints, proceed to the [Testing](https://developer.mastercard.com/mastercard-agent-pay/documentation/testing/index.md) section to learn how to integrate and make sure you are ready to begin testing.
