# API Basics
source: https://developer.mastercard.com/rpps-biller-maintenance-service/documentation/api-basics/index.md

## API Security {#api-security}

### Client Authentication {#client-authentication}

Mastercard uses OAuth 1.0a for authenticating your application. You can manage your authentication keys from your [Developer Dashboard](https://developer.mastercard.com/dashboard) after you created a project using Remote Payment and Presentment Service (RPPS) Biller Maintenance Service.
Tip: Do you want to learn more about the authentication scheme Mastercard uses? For that, read our [Using OAuth 1.0a to Access Mastercard APIs](https://developer.mastercard.com/platform/documentation/security-and-authentication/using-oauth-1a-to-access-mastercard-apis/) guide.

## How to Consume the Remote Payment and Presentment Service (RPPS) Biller Maintenance Service? {#how-to-consume-the-remote-payment-and-presentment-service-rpps-biller-maintenance-service}

Note: There are multiple ways of integrating with RPPS Biller Maintenance Service:

1. Using a generated API client (recommended)
2. Using a method of your choice

### Generating your own RPPS Biller Maintenance Service Client {#generating-your-own-rpps-biller-maintenance-service-client}

Create customizable API clients from the Biller Maintenance API specification and let Mastercard open-source client libraries handle the authentication for you. This approach offers the more flexibility and is strongly recommended.

For this, please follow our \[Generating and Configuring a Mastercard API Client\] (<https://developer.mastercard.com/platform/documentation/security-and-authentication/generating-and-configuring-a-mastercard-api-client/>) tutorial with:

* The following API specification: [rpps-biller-maintenance-service.yaml](https://static.developer.mastercard.com/content/rpps-biller-maintenance-service/swagger/rpps-biller-maintenance-service.yaml) (46KB)

### Using a method of your choice {#using-a-method-of-your-choice}

RPPS Biller Maintenance Service exposes a REST API: you are free to use the REST/HTTP client of your choice and can still leverage the Mastercard open-source [client libraries](https://developer.mastercard.com/platform/documentation/security-and-authentication/using-oauth-1a-to-access-mastercard-apis/#client-libraries) for signing your requests.

For that, please refer to the RPPS Biller Maintenance Service [REST API Reference](https://developer.mastercard.com/rpps-biller-maintenance-service/documentation/api-reference/index.md).

## Environments {#environments}

The table below describes the sandbox environment that is available.

|        **Environment**         |                                                                                                                                  **Description**                                                                                                                                   |
|--------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Sandbox                        | Environment containing limited-capability mock API, which is intended to help assist with initial integration for new clients. The Sandbox returns mock responses for a defined request. The JSON samples can be used as a reference for sending requests and receiving responses. |
| Mastercard Test Facility (MTF) | Pre-production test environment intended for full integration testing prior to moving to production.                                                                                                                                                                               |
| Production                     | Full production environment containing the latest production API release.                                                                                                                                                                                                          |

