Global API

API Overview

2min

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


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.

Updated 17 Jun 2024
Doc contributor
Did this page help you?