Global API
API Overview
2min
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”.
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.
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.