Skip to content

Connectors / Finance · HTTP Connector

ChargeDesk integration and API

Create a charge, create a customer and create a subscription in ChargeDesk, and start a workflow when ChargeDesk sends “Charge paid”.

What can you do with ChargeDesk on Tray.ai?

ChargeDesk lets support teams look up and act on customer payments, refunds and subscriptions from inside their help desk, across gateways such as Stripe, PayPal and Braintree. Tray.ai connects to ChargeDesk through the HTTP Connector, so your workflows can call the ChargeDesk API alongside the rest of your stack.

  • When ChargeDesk sends “Charge failed”, open a ticket in your help desk for the account owner.
  • When ChargeDesk sends “Subscription past due”, flag the account in your CRM.
  • Refund a charge when a support agent approves a refund in your help desk.
  • Notify customer success in your team chat when ChargeDesk sends “Charge disputed”.
Connects through
HTTP Connector
Authentication
Basic authentication
Base URL
https://api.chargedesk.com/v1

Set it up

Connect ChargeDesk to Tray.ai

Each step uses ChargeDesk's own API details, from its documentation.

Save ChargeDesk's username and password

Save the credentials ChargeDesk gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay 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.chargedesk.com/v1 as the base URL. Or paste a cURL example from ChargeDesk's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List charges”

It's one of 18 documented actions, under Charges. The response comes back as data the next step can map into your other apps.

Start workflows from ChargeDesk events

Give ChargeDesk the URL of a Tray.ai webhook trigger. “Charge paid” can then start a workflow, and so can 7 other events.

Workflows to build with ChargeDesk

Connect ChargeDesk with Zendesk, Salesforce and QuickBooks

Each one uses actions and events from ChargeDesk's own API documentation.

Open Zendesk tickets for disputed ChargeDesk charges

When

Charge disputed

Then

  1. List charges in ChargeDesk to get the charge and customer
  2. Create a ticket in Zendesk for the support team to respond

With Zendesk

Flag past due ChargeDesk subscriptions in Salesforce

When

Subscription past due

Then

  1. Find the customer's account in Salesforce
  2. Create a follow-up task for the account owner in Salesforce

With Salesforce

Log ChargeDesk refunds in QuickBooks

When

Charge refunded

Then

  1. Find the customer in QuickBooks
  2. Record the refund against the customer in QuickBooks

With QuickBooks

Apps you can build on ChargeDesk data

Internal tools your team can build with an AI assistant, each one using ChargeDesk calls from its API documentation.

Refund request desk

Finds a customer's charges and lets a support agent refund a charge from one screen.

Past due subscriptions board

Lists past due subscriptions with the customer so billing staff can update or cancel each one.

Failed payment log

Collects failed and disputed charges with the customer in one list so a finance team can follow up.

Give your AI agents ChargeDesk tools

Build an MCP server on ChargeDesk 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 charges
  • List customers
  • List subscriptions
  • List products
  • Create an agent
  • Create a charge
  • Update a charge
  • Refund a charge

What the ChargeDesk API covers

5 resources and 18 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.

Charges

  • List charges
  • Create a charge
  • Update a charge
  • Refund a charge
  • Delete a charge

Customers

  • List customers
  • Create a customer
  • Update a customer
  • Delete a customer

Subscriptions

  • List subscriptions
  • Create a subscription
  • Update a subscription
  • Cancel a subscription

Products

  • List products
  • Create a product
  • Update a product

Agents

  • Create an agent
  • Delete an agent

Events ChargeDesk can send to a Tray.ai webhook trigger

  • Charge paid
  • Charge refunded
  • Charge failed
  • Charge disputed
  • Customer created
  • Subscription canceled
  • Subscription past due
  • Subscription trial ending

Checked against ChargeDesk's own documentation on 2026-10-22

chargedesk.com/api-docs

Frequently asked questions

What can a Tray.ai workflow do in ChargeDesk?

The ChargeDesk API documents 18 actions across 5 resources (Charges, Customers, Subscriptions, Products, Agents). For example: List charges; List customers; List subscriptions. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with ChargeDesk?

The ChargeDesk API uses basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which ChargeDesk events can start a Tray.ai workflow?

ChargeDesk sends 8 events to a webhook URL, for example: Charge paid; Charge refunded; Charge failed; Charge disputed; Customer created; Subscription canceled; Subscription past due; Subscription trial ending. A Tray.ai webhook trigger receives them and starts a workflow.

See ChargeDesk working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.