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

## Mastercard Gateway API Reference Documentation {#mastercard-gateway-api-reference-documentation}

The Mastercard Gateway provides a number of [APIs](https://developer.mastercard.com/mastercard-gateway/documentation/api-reference/index.md) and [JavaScript libraries](https://developer.mastercard.com/mastercard-gateway/documentation/api-reference/js-libraries/index.md) that allow you to connect to the gateway and manage payments using the different [integration methods](https://developer.mastercard.com/mastercard-gateway/documentation/getting-started/choosing-int-method/index.md).

You can learn to use the APIs by understanding the following basics:

* To understand how to send a request and handle a response, see [Making a Server API Request](https://developer.mastercard.com/mastercard-gateway/documentation/getting-started/make-server-api-req/index.md).
* To authenticate yourself so that the gateway accepts your incoming requests, you have to implement one of two available authentication solutions. For more information, see [Authentication Options](https://developer.mastercard.com/mastercard-gateway/documentation/getting-started/authentication-options/index.md).
* To understand how the gateway handles a situation where multiple payment sources are provided for a single transaction, see [Using Multiple Payment Sources](https://developer.mastercard.com/mastercard-gateway/documentation/tutorials-and-guides/multiple-payment-sources/index.md).
* To identify the source of the problem and take appropriate remedial actions when receiving an error response, see [API Error Handling](https://developer.mastercard.com/mastercard-gateway/documentation/testing/api-error-handling/index.md).

## Ready to redefine your payment experience? {#ready-to-redefine-your-payment-experience}

Join Mastercard Gateway today and unlock a world where getting paid is not a hurdle but a seamless, simple process.

##### Mastercard Gateway API Reference Documentation - REST {#mastercard-gateway-api-reference-documentation---rest}

View Documentation

##### Mastercard Gateway API Reference Documentation - NVP {#mastercard-gateway-api-reference-documentation---nvp}

View Documentation
