---
title: API Overview
slug: payments/api-overview
description: Learn about the BreadwinnerPaymentsAPI, a versatile global class for seamless integration with Payment Processors via Breadwinner. Discover how to utilize the static method "call" to effortlessly make API requests, with request and response data in the fl
docTags: 
createdAt: 2021-10-28T14:54:18.000Z
---

### Global Class

BreadwinnerPaymentsAPI is a global class that can be used to make requests to Payment Processors via Breadwinner. As it is a part of the managed package, you must prepend the namespace “bw\_payments”.

### Methods

A method call(Map\<String, Object> request) is a static global method within the BreadwinnerPaymentsAPI class, which can be used to make an API request.

```apex
bw_payments.BreadwinnerPaymentsAPI.call(Map<String, Object> request);
```

Breadwinner accepts the request data in the form of Map\<String, Object>, and even returns the response data as a Map\<String, Object>, thus making the requests and responses dynamic.

For more information, please refer to the Example Requests and Responses section.


