Connectors / Finance · HTTP Connector
Trolley integration and API
Create a recipient, create a batch and create a payment in Trolley, and start a workflow when Trolley sends “Payment created”.
What can you do with Trolley on Tray.ai?
Trolley, formerly Payment Rails, is a payouts platform that sends payments to creators, contractors and suppliers worldwide and collects their tax and banking details. Tray.ai connects to Trolley through the HTTP Connector, so your workflows can call the Trolley API alongside the rest of your stack.
- When Trolley sends “Payment failed”, alert finance in your team chat.
- Create a recipient in Trolley when a new contractor is onboarded in your HR system.
- Create a batch each month from approved invoices in your accounting system.
- When Trolley sends “Payment processed”, mark the bill paid in your accounting system.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://api.trolley.com/v1
Set it up
Connect Trolley to Tray.ai
Each step uses Trolley's own API details, from its documentation.
Save Trolley's API key
Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.trolley.com/v1 as the base URL. Or paste a cURL example from Trolley's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List recipients”
It's one of 23 documented actions, under Recipients. The response comes back as data the next step can map into your other apps.
Start workflows from Trolley events
Give Trolley the URL of a Tray.ai webhook trigger. “Payment created” can then start a workflow, and so can 4 other events.
Workflows to build with Trolley
Connect Trolley with QuickBooks, Slack and NetSuite
Each one uses actions and events from Trolley's own API documentation.
Mark QuickBooks bills paid when Trolley payouts process
When
Payment processed
Then
- Find the recipient's matching bill in QuickBooks
- Mark the bill as paid in QuickBooks
With QuickBooks
Alert finance in Slack about failed payouts
When
Payment failed
Then
- Get a recipient for the payee details
- Post the failure to the payouts channel in Slack
With Slack
Create Trolley recipients for new NetSuite vendors
When
A vendor is created in NetSuite
Then
- Create a recipient with the vendor's name and email
- Add the recipient ID to the vendor in NetSuite
With NetSuite
Apps you can build on Trolley data
Internal tools your team can build with an AI assistant, each one using Trolley calls from its API documentation.
Payout batch approval
Lists payout batches with their payments and lets finance process an approved batch.
Failed payment queue
Shows failed and returned payments with the recipient so finance can fix details and retry.
Recipient lookup
Finds a contractor or creator and shows their payments and invoices for support staff.
Trolley MCP server for AI agents
Build an MCP server on Trolley in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works
- List recipients
- List batches
- List payments
- Create an invoice
- List offline payments
- Create a recipient
- Get a recipient
- Update a recipient
What the Trolley API covers
5 resources and 23 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.
Recipients
- List recipients
- Create a recipient
- Get a recipient
- Update a recipient
- Delete a recipient
Batches
- List batches
- Create a batch
- Get a batch
- Process a batch
- Delete a batch
Payments
- List payments
- Create a payment
- Update a payment
- Delete a payment
Invoices
- Create an invoice
- Get an invoice
- Search invoices
- Update an invoice
- Delete an invoice
Offline payments
- List offline payments
- Create an offline payment
- Update an offline payment
- Delete an offline payment
Events Trolley can send to a Tray.ai webhook trigger
- Payment created
- Payment updated
- Payment processed
- Payment returned
- Payment failed
Checked against Trolley's own documentation on 2026-10-22
How Tray.ai makes this work
Trolley plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in Trolley, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Trolley actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Trolley data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore finance apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every finance connector →
Frequently asked questions
What can a Tray.ai workflow do in Trolley?
The Trolley API documents 23 actions across 5 resources (Recipients, Batches, Payments, Invoices, Offline payments). For example: List recipients; List batches; List payments. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Trolley?
The Trolley API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Trolley events can start a Tray.ai workflow?
Trolley sends 5 events to a webhook URL, for example: Payment created; Payment updated; Payment processed; Payment returned; Payment failed. A Tray.ai webhook trigger receives them and starts a workflow.
See Trolley working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks. Someone from our team will be in touch soon.