Global API
Request
3 min
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 id locations 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 stripe square braintree 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 exam ples