# Buyer Payment Agent
source: https://developer.mastercard.com/mastercard-buyer-payment-agent/documentation/index.md

## Overview {#overview}

Today's business to business (B2B) payment landscape involves a growing number of solutions with various product offerings that rarely interoperate, leading to complex buyer and supplier onboarding processes, closed networks with limited reach and scalability, varying data formats, and lack of payment preference enforcement that cause reconciliation issues and increase in payment times.

Through the Buyer Payment Agent (BPA) service, Mastercard simplifies and automates payments between the suppliers and buyers. This API service saves time in reconciliation by standardizing, automating, and optimizing business payments.

Buyer Payment Agents and Supplier Payment Agents connect through this service to allow their clients to initiate and receive funds for business to business transactions easily and efficiently.

Buyer Payment Agents can use the supplier search APIs to discover new suppliers active in the supplier directory. To help streamline the procurement process, a Buyer Payment Agent can use this API service to submit payments, view payment status, deliver reconciliation data and verify Supplier details.

Buyer Payment Agents can optionally choose to register their buyers by calling a registration APIs. Buyer registration helps Buyer Payment Agents in faster payment initiation and simplifies the API payload.

## How it works {#how-it-works}

![alt text](https://static.developer.mastercard.com/content/mastercard-buyer-payment-agent/uploads/overview-02.png)

1. **Payment Initiation**: Issuer/Service Provider initiates the payment request to the supplier through the payment API, Email Connect Service, File Transfer Service or ICCP.
2. **Payment Routing**: Commercial Direct Payments sends the payment request to the Mastercard Gateway, Acquiring Partner's Gateway, or directly to the supplier for processing based on their preferred delivery method in the Supplier Directory.
3. **Remittance data**: Commercial Direct Payments delivers the remittance advice for reconciliation to suppliers based on their preferred delivery method.

## Before you start {#before-you-start}

* **User responsibilities:** Prospective users must complete an API evaluation or commercial agreement before they are able to integrate with the Buyer Payment Agent. Once the agreement is signed, a delivery and implementation manager will be assigned to assist with onboarding. The user must set up a unique [event notification URL](https://developer.mastercard.com/mastercard-buyer-payment-agent/documentation/use_cases/commercial-direct-payments/event-notifications/index.md) to receive notifications from this API service.
* **Key mapping:** The assigned delivery and integration manager will assist in mapping the customer IDs (keys).
* **Batch processing:** This API service does not support batch processing.
* **Backwards-compatibility:** This API service is backwards-compatible.
* **Pre-release information:** Release notes are published around 3 weeks before the production deployment date.
* **Region availability:** This API service is available globally, however, certain [use cases](https://developer.mastercard.com/mastercard-buyer-payment-agent/documentation/use_cases/index.md) are restricted to specific regions and will continue to expand globally.

Once you are ready to go live, follow the [Moving to production](https://developer.mastercard.com/mastercard-buyer-payment-agent/documentation/tutorials_guides/guide-1/index.md) tutorial.

## Good to know {#good-to-know}

### Roles in Buyer Payment Agent Service {#roles-in-buyer-payment-agent-service}

The various roles associated for the APIs under the Buyer Payment Agent service landscape are:  

|                  Term                  |                                                                                                            Description                                                                                                             |
|----------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Buyer Payment Agent/ Debtor Agent      | The entity acting on behalf of a Buyer to submit payment instructions. Buyer Payment Agents include procure-to-pay networks, banks, and other specialty players, such as accounts payable automation companies.                    |
| Supplier Payment Agent/ Creditor Agent | The entity acting on behalf of a Supplier to retrieve and process payment instructions. Supplier Payment Agents include procure-to-pay networks, banks, and other specialty players like accounts receivable automation companies. |
| Buyer/ Debtor                          | The entity making payments to a Supplier to procure goods or services.                                                                                                                                                             |
| Supplier/ Creditor                     | The entity receiving payments from a Buyer for selling goods or services.                                                                                                                                                          |
| Customer Service Provider              | A person (entity) that performs Program Service that is an agent of the customer, receives or otherwise benefits from Program service, whether directly or indirectly, performed by such service provider.                         |

## Next Steps {#next-steps}

For information on new and upcoming features, refer to the [Release Information](https://developer.mastercard.com/mastercard-buyer-payment-agent/documentation/release-information/new_features/index.md) section.

For information on how to onboard with the Buyer Payment Agent, refer to the [Getting Started](https://developer.mastercard.com/mastercard-buyer-payment-agent/documentation/getting-started/onboarding-with-commercial-direct-payments/index.md) section.

For more information on the Buyer Payment Agent service, refer to the [API reference](https://developer.mastercard.com/mastercard-buyer-payment-agent/documentation/api-reference/index.md) section.

For more information on Buyer Payment Agent use cases, refer to the [Use Case](https://developer.mastercard.com/mastercard-buyer-payment-agent/documentation/use_cases/index.md) section.
