---
title: Request
slug: payments/request
description: Learn how Breadwinner Payments seamlessly integrates with popular payment gateways like Stripe, Braintree, and Square. This document covers the essential keys required to build requests, including version, action, requestJSON, and processorId. Discover su
docTags: 
createdAt: 2022-06-08T05:59:49.000Z
---

### Request Types

Breadwinner Payments currently connects with the Stripe, Braintree, and Square Payment gateways.

### Building Requests

Breadwinner accepts requests in the form of a Map\<String, Object>.

These are the supported keys:

| **Key (String)** | **Value (Object)**                                                                            | **Required** |
| ---------------- | --------------------------------------------------------------------------------------------- | ------------ |
| version          | '1.0'                                                                                         | True         |
| action           | See the list of available actions below.                                                      | True         |
| requestJSON      | Pass the data as a JSON string, based on the specified action                                 | True         |
| processorId      | ID of the processor the request should be sent to [(Find this)](docId\:F3Cm5zoC-AUraeoAn2Xb1) | True         |



Breadwinner Payments Global API currently supports the creating and updating of Customers and also charging the Customer actions.

See the table below to see actions supported for each processor.

### Actions

|                                    | :::BlockQuote
Stripe
::: | :::BlockQuote
Square
::: | :::BlockQuote
Braintree
:::<br /> |
| ---------------------------------- | ------------------------ | ------------------------ | --------------------------------- |
| createCustomer                     |                 Yes      |                 Yes      |                  Yes              |
| updateCustomer                     |                 Yes      |                 Yes      |                  Yes              |
| chargeCustomer (createTransaction) |                 Yes      |                 Yes      |                  Yes              |
| createSubscription                 |                 Yes      |                 No       | Not supported by processor        |

### Examples

See the related actions in the left menu for examples.

