functions (Preview)
Overview
Functions opens the Braintree API to execute code that you provide. The code could execute payment authorizations for payment methods we don't natively accept, send transactions to your accounting systems, get a fraud score from a vendor you use, or some custom workflow unique to you.
How Functions Works
We've defined triggers within the Braintree ecosystem that can execute code you've uploaded to the Braintree platform. The code you provide is responsible for interacting with partners and vendors your business works with. In some cases you'll need to map the response from a vendor to Braintree.
Example
Fraud Services
Use functions to run all your payments through a fraud service.
Example
Custom Payments
Use functions to initiate complex workflows with third-parties such as Twilio to take payment information over the phone.
Works with your existing integration
With functions, you can take advantage of your existing Braintree integration.
Next Steps
- Download Our CLI Tool
- Accept a New Payment Method
- Act on a Fraud Score From a Vendor
- Stream Data to Another System
- Import Data
- Advanced Topics
- Packaging and Publishing
Next Page: Download Our CLI Tool →