Skip to content

IntegrationsPayment Gateway

ChargeDesk API integration

Put ChargeDesk in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

Elaichi

From the team behind Truto

Control plane for MCP servers

Put your team’s own apps to work in their AI. Connect an app once, and everyone’s AI can use it.

Works in

  • Each person’s AI gets exactly their access. Nothing more.
  • Share an app with your team, not a password.
  • Every call is checked and logged.

No credit card required · 1000+ apps

01Proxy API

Call the ChargeDesk API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the ChargeDesk API. You call us, we call ChargeDesk, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APIChargeDesk

GEThttps://api.truto.one/proxy/charges?integrated_account_id=…

  • GET/proxy/customers
  • GET/proxy/subscriptions
  • GET/proxy/products

ChargeDesk’s own response, passed back

02MCP server

ChargeDesk tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets ChargeDesk tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin ChargeDesk
  • ChargesList, Get one, Create, Update, Delete, Email, Preview
  • Gateway chargesCreate, Refund, Capture, Void
  • CustomersList, Get one, Create, Update, Delete
  • SubscriptionsList, Get one, Create, Update
  • ProductsList, Get one, Create, Update
  • WebhookCreate, Delete
  • AgentsCreate, Bulk delete
  • Charge itemsList
  • Customer groupsList
  • Webhook notificationsList
  • Agent activity logsList
  • Subscription cancellationsList
  • GatewaySubscriptions cancel, Subscriptions update plans
Show tool names35 tools, for developers
  • create_a_charge_desk_chargeCreate a charge record in ChargeDesk. Creates a record of an external charge. NB: this is not a gateway method, so will not create a live charge on your gateway. Use the Create Charge gateway method to create a live charge. This only records an external charge in ChargeDesk; use gateway_charges.create to charge a card through the gateway. Returns the charge with fields such as added_tax, amount, amount_formatted, amount_refunded, amount_refunded_formatted, amount_symbol, charge_id, company, currency, customer_country, customer_email, customer_id, customer_name, customer_phone, … Required: amount, currency, customer.id.
  • list_all_charge_desk_chargesList charges in ChargeDesk. Get all charges associated with the secret key provided in the request Returns charge records with fields such as added_tax, amount, amount_formatted, amount_refunded, amount_refunded_formatted, amount_symbol, charge_id, company, currency, customer_country, customer_email, customer_id, customer_name, customer_phone, … Paginate with count and offset (max 500 per page). Required: none.
  • get_single_charge_desk_charge_by_idGet a charge in ChargeDesk. Retrieves a charge that has previously been created. Returns the charge with fields such as added_tax, amount, amount_formatted, amount_refunded, amount_refunded_formatted, amount_symbol, charge_id, company, currency, customer_country, customer_email, customer_id, customer_name, customer_phone, … Required: id.
  • update_a_charge_desk_charge_by_idUpdate a charge in ChargeDesk. Updates an existing charge with new information. Returns the charge with fields such as added_tax, amount, amount_formatted, amount_refunded, amount_refunded_formatted, amount_symbol, charge_id, company, currency, customer_country, customer_email, customer_id, customer_name, customer_phone, … Required: id, customer.id.
  • charge_desk_charges_emailEmail a charge notification in ChargeDesk. Send an email notification (such as receipt) to the customer. The type of email sent will depend on the current status of the charge. Paid or Pending charges will send a receipt. Refunded charges will send a refund notification. Authorized charges will send an authorized notification. Voided charges will send a void email. Returns the charge. Required: charge_id.
  • charge_desk_charges_previewPreview charge totals in ChargeDesk. Preview the subtotal, any tax rates and the final total amount for a charge or product. Calculations are based on the country and tax ID provided. Useful for previews in checkout forms. Returns: subtotalAmount, taxRates, totalAmount and their formatted forms. Required: none.
  • delete_a_charge_desk_charge_by_idDelete a charge in ChargeDesk. Deletes a charge record. Returns an empty response on success. Required: id.
  • create_a_charge_desk_gateway_chargeCreate a live charge, subscription or payment request through the connected payment gateway in ChargeDesk. Charge a customer's card on file with using=card, amount, currency and customer.id; add product.interval (and optional product.trial_period_days) to start a subscription instead; or pass contact (an email or phone number) in place of a customer to send a payment request the customer pays through a link. This is a gateway method: the object is created on the gateway as well as in ChargeDesk. Returns the created charge, plus subscription or pay_link when applicable, with fields such as added_tax, amount, amount_formatted, amount_refunded, amount_refunded_formatted, amount_symbol, charge_id, company, currency, customer_country, customer_email, customer_id, customer_name, customer_phone, … Required: using, amount, currency, and customer.id or contact.
  • charge_desk_gateway_charges_refundRefund a charge in ChargeDesk. Process a refund for a charge. Will return a success or failure from the originating payment gateway. This is a gateway method: the change is applied on the originating payment gateway as well as in ChargeDesk, and may not be supported by every gateway. Returns the charge with fields such as added_tax, amount, amount_formatted, amount_refunded, amount_refunded_formatted, amount_symbol, charge_id, company, currency, customer_country, customer_email, customer_id, customer_name, customer_phone, … Required: charge_id.
  • charge_desk_gateway_charges_captureCapture an authorized charge in ChargeDesk. Capture or void an authorized charge. Will return a success or failure from the originating payment gateway. This is a gateway method: the change is applied on the originating payment gateway as well as in ChargeDesk, and may not be supported by every gateway. Returns the charge with fields such as added_tax, amount, amount_formatted, amount_refunded, amount_refunded_formatted, amount_symbol, charge_id, company, currency, customer_country, customer_email, customer_id, customer_name, customer_phone, … Required: charge_id.
  • charge_desk_gateway_charges_voidCancel a payment request in ChargeDesk. Cancel the payment request. The payment page will show that the charge no longer needs to be paid. This is a gateway method: the change is applied on the originating payment gateway as well as in ChargeDesk, and may not be supported by every gateway. Returns the charge with fields such as added_tax, amount, amount_formatted, amount_refunded, amount_refunded_formatted, amount_symbol, charge_id, company, currency, customer_country, customer_email, customer_id, customer_name, customer_phone, … Required: charge_id.
  • charge_desk_gateway_subscriptions_cancelCancel a subscription in ChargeDesk. Cancels any future recurring charges through the original payment gateway. May not be supported on all gateways. This is a gateway method: the change is applied on the originating payment gateway as well as in ChargeDesk, and may not be supported by every gateway. Returns the subscription with fields such as amount, amount_formatted, amount_symbol, billing_cycles_current, billing_cycles_total, canceled_at, charges, company, currency, current_period_end, current_period_start, customer_id, ended_at, first_seen, … Required: subscription_id.
  • charge_desk_gateway_subscriptions_update_plansEdit subscription plans in ChargeDesk. Edits a subscription's plans and recurring details. This is a gateway method: the change is applied on the originating payment gateway as well as in ChargeDesk, and may not be supported by every gateway. Returns the subscription with fields such as amount, amount_formatted, amount_symbol, billing_cycles_current, billing_cycles_total, canceled_at, charges, company, currency, current_period_end, current_period_start, customer_id, ended_at, first_seen, … Required: subscription_id.
  • create_a_charge_desk_customerCreate a new customer in ChargeDesk. Returns the full customer record including customer_id, email, name, phone, and metadata. Required: customer_id. Pass duplicate='update' to update an existing customer with the same id instead of creating a new one.
  • list_all_charge_desk_customersList all ChargeDesk customers. Returns customer records including customer_id, email, name, phone, and country. Supports optional filters email, customer_id, and country.
  • get_single_charge_desk_customer_by_idGet a single ChargeDesk customer by id. Returns the full customer record including customer_id, email, name, phone, metadata, and manage_url. Required: id.
  • update_a_charge_desk_customer_by_idUpdate the data stored for an existing ChargeDesk customer. Returns the updated customer record including customer_id, email, name, phone, and metadata. Required: id.
  • delete_a_charge_desk_customer_by_idDelete a ChargeDesk customer by id. Deletes all associated data such as charges and tickets by default; pass delete_all=0 to keep it or delete_all=2 to keep anonymised charges and subscriptions. Returns an empty 204 response on success.
  • create_a_charge_desk_subscriptionCreate a subscription record in ChargeDesk. Creates a record of an external subscription. NB: this is not a gateway method, so will not create a live subscription on your gateway. Use the Create Subscription gateway method to create a live subscription. This only records an external subscription in ChargeDesk; use gateway_charges.create with product.interval to bill through the gateway. Returns the subscription with fields such as amount, amount_formatted, amount_symbol, billing_cycles_current, billing_cycles_total, canceled_at, charges, company, currency, current_period_end, current_period_start, customer_id, ended_at, first_seen, … Required: subscription_id.
  • list_all_charge_desk_subscriptionsList subscriptions in ChargeDesk. Get all subscriptions associated with the secret key provided in the request Returns subscription records with fields such as amount, amount_formatted, amount_symbol, billing_cycles_current, billing_cycles_total, canceled_at, charges, company, currency, current_period_end, current_period_start, customer_id, ended_at, first_seen, … Paginate with count and offset (max 500 per page). Required: none.
  • get_single_charge_desk_subscription_by_idGet a subscription in ChargeDesk. Retrieves a subscription that has previously been created. Returns the subscription with fields such as amount, amount_formatted, amount_symbol, billing_cycles_current, billing_cycles_total, canceled_at, charges, company, currency, current_period_end, current_period_start, customer_id, ended_at, first_seen, … Required: id.
  • update_a_charge_desk_subscription_by_idUpdate a subscription in ChargeDesk. Update the data stored for an existing subscription. Returns the subscription with fields such as amount, amount_formatted, amount_symbol, billing_cycles_current, billing_cycles_total, canceled_at, charges, company, currency, current_period_end, current_period_start, customer_id, ended_at, first_seen, … Required: id.
  • create_a_charge_desk_productCreate a product in ChargeDesk with a custom product_id, name, amount, currency, and optional billing interval. Returns the created product object including product_id, name, amount, currency, and status. Required: product_id. Set duplicate to 'update' to update an existing product instead of creating a duplicate.
  • list_all_charge_desk_productsList all products in ChargeDesk. Returns product objects including product_id, name, amount, currency, status, and url.
  • get_single_charge_desk_product_by_idGet a single ChargeDesk product by id. Returns the product object including product_id, name, amount, currency, status, and url. Required: id (product_id).
  • update_a_charge_desk_product_by_idUpdate an existing ChargeDesk product by id. Returns the updated product object including product_id, name, amount, currency, and status. Required: id (product_id). Pass name to update the product's name.
  • create_a_charge_desk_webhookCreate a webhook in ChargeDesk that delivers notifications to a URL endpoint. Returns: webhook_id. Required: url. Specify all to receive every notification type, or notifications to subscribe to specific ones such as charge_new or customer_new.
  • delete_a_charge_desk_webhook_by_idDelete a ChargeDesk webhook by id. Returns an empty 204 response on success. Required: id.
  • create_a_charge_desk_agentCreate a ChargeDesk agent and send them an invite email; if an agent with that email already exists, their role is updated instead. Returns the agent including name, email, and role. Requires name, email, and role.
  • charge_desk_agents_bulk_deleteDelete an existing ChargeDesk agent identified by their email address. Returns an empty 204 response on success. Required: agent_email.
  • list_all_charge_desk_charge_itemsList the line items and taxes on a ChargeDesk charge. Returns: items, taxes. Required: charge_id.
  • list_all_charge_desk_customer_groupsList ChargeDesk customers with their charges and subscriptions grouped together. Returns grouped records each containing a charge object plus any related subscription and pay_link.
  • list_all_charge_desk_webhook_notificationsList all possible webhook notification types in ChargeDesk. Returns: object, webhook_id.g. charge_new, charge_refunded, subscription_canceled, agent_log_new). Takes no parameters.
  • list_all_charge_desk_agent_activity_logsList ChargeDesk agent activity logs — the actions performed in your account, such as refunds and other agent-driven events. Returns log entries with: action_type, description, event, object_id, object_type, occurred, source, ip, company, and action_reason.
  • list_all_charge_desk_subscription_cancellationsList ChargeDesk subscription cancellation log entries. Returns log records including charge_id, subscription_id, customer_id, amount, status, and occurred.

AMCP serverno code

For any MCP client

One URL per connected ChargeDesk account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every ChargeDesk tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified API

One API for ChargeDesk and every other Payment Gateway app. One mapping to go.

The Unified Payment Gateway API gives every Payment Gateway app the same call and the same data shape. ChargeDesk is not mapped to it yet. Map it yourself, or ask us.

ChargeDeskon Truto
  1. Sign-in and tokensTruto handles themReady
  2. Proxy APIWorks today, on FreeReady
  3. Unified Payment Gateway APIOne mapping to goTo do

Then: one call for every Payment Gateway app

  • Path 1 Self-serve

    Map it yourself

    • Mapping editor, with version history
    • Live for every connected account
    • No deploy

    Get a free sandbox

  • Path 2 We do it

    Ask Truto

    • Tell us the ChargeDesk data you need
    • We add the mapping

    Talk to us

  • Price Add-on

    $499 per category a month

    • 30-day trial on Free
    • Your own unified models: Pro add-on, $499 a month

    See pricing

04Sync and webhooks

Sync ChargeDesk data on a schedule. Sent to your webhook.

A sync job reads ChargeDesk records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any ChargeDesk endpoint. With the Truto CLI.

Need a ChargeDesk endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any ChargeDesk path through the Custom API.

On every plan, including Free. Truto CLI

For your own AI tools

Use ChargeDesk in ChatGPT, Claude or Cursor with Elaichi.

Truto puts ChargeDesk in the product you build. To use ChargeDesk yourself, in the AI your team already has, we recommend Elaichi.

For your product

Ship ChargeDesk tools in your product

Give the AI in your product access to each customer’s own ChargeDesk account, with one MCP server per connected account.

Get a sandbox with ChargeDesk

Rather talk it through? Book a demo

Elaichi

For your own team

Use ChargeDesk in your own AI

Connect your company’s ChargeDesk once, then ask in the AI you already use, with exactly your own access.

Works in

ChargeDesk on Elaichi

From the team behind Truto · 14-day free trial

Use cases

Why integrate with ChargeDesk.

  1. Embed billing actions inside support tools

    Helpdesks, CRMs, and omnichannel inboxes can let support agents view charges, issue refunds, and manage subscriptions without leaving a ticket. ChargeDesk routes those actions to the underlying payment gateway, so your users don't need direct Stripe or Braintree access.

  2. Power AI agents that resolve billing tickets autonomously

    AI support platforms can look up a customer's charges and subscriptions, cancel recurring billing, process refunds, and email receipts — all through ChargeDesk — so the bot resolves 'cancel and refund me' tickets end-to-end without gateway-specific logic.

  3. Generate async payment links during live conversations

    Sales engagement, live chat, and omnichannel SaaS can let agents create ChargeDesk gateway charges addressed to a contact (email or phone) and drop a payment link into the conversation to collect upgrades, overages, or unpaid balances.

  4. Audit refund and churn behavior across support teams

    Workforce management and QA analytics platforms can ingest agent activity logs and subscription cancellation records to build dashboards on refund volume per agent, policy violations, and the financial impact of support interactions.

  5. Unify multi-gateway billing data into a single customer view

    If your users run Stripe, PayPal, Braintree, and others in parallel, you can surface a normalized customer profile with all charges, subscriptions, and payment links via ChargeDesk's grouped customer endpoints instead of integrating each gateway individually.

What you can build

Ship these with Truto and ChargeDesk.

  • In-ticket billing sidebar

    Fetch a customer and their grouped charges, subscriptions, and payment links to render a complete billing panel alongside any support conversation.

  • One-click refund and void controls

    Let agents trigger live refunds, captures, or voids on the underlying payment gateway directly from your UI using ChargeDesk's gateway charge actions.

  • Subscription management workflows

    Allow agents or AI to cancel subscriptions or switch plans on the gateway, and log every change for churn and revenue reporting.

  • Pay-by-link generator for live chat and email

    Create gateway charges against a contact email or phone to produce a hosted payment link your agents can send mid-conversation, with preview endpoints for accurate totals and tax.

  • Refund and churn analytics dashboards

    Pull agent activity logs and subscription cancellation records to track refund volume, reasons, agent attribution, and churn trends over time.

  • Automated receipt and payment confirmation emails

    Trigger ChargeDesk's charge email action after any refund, update, or new charge to send branded receipts without building your own transactional email flow.

Security

Your customers’ ChargeDesk data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Truto managed OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s ChargeDesk account

    Use Truto’s frontend SDK to connect your customer’s ChargeDesk account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call ChargeDesk

    Truto’s Proxy API is a 1-to-1 mapping of the ChargeDesk API. You call us, we call ChargeDesk, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate ChargeDesk’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about ChargeDesk on Truto.

How does authentication to ChargeDesk work through Truto?

Truto handles the ChargeDesk API credential exchange and storage for each of your end users. You call Truto's unified endpoints with a connection identifier, and we attach the right auth headers to every ChargeDesk request — your product never has to store or rotate ChargeDesk keys itself.

Which ChargeDesk operations are available via Truto?

Truto exposes charges, gateway charges (refund, capture, void), customers, subscriptions (including gateway cancel and plan updates), products, webhooks, agents, charge items, customer groups, webhook notifications, agent activity logs, and subscription cancellation logs. Both read and write operations are supported for each of these resources.

Can we trigger refunds and subscription changes on the underlying payment gateway?

Yes. ChargeDesk's gateway endpoints — exposed through Truto as gateway charge refund, capture, void, and subscription cancel or plan update — write directly to the connected gateway (Stripe, PayPal, Braintree, etc.), so you don't need to integrate each processor separately.

How do we keep billing data fresh in our product?

You can register ChargeDesk webhooks through Truto to receive real-time events, and fall back to the list endpoints (charges, subscriptions, customer groups, activity logs) for polling or backfills. Truto normalizes pagination so you can iterate without writing gateway-specific cursor logic.

Can we build audit and compliance features on top of agent activity?

Yes. The agent activity logs endpoint returns action type, object ID, action reason, agent email, timestamp, and IP, and the subscription cancellations endpoint provides a dedicated churn ledger. Together they're enough to power refund-threshold alerts, policy audits, and agent-level revenue impact dashboards.

How do we generate hosted payment links for a customer who doesn't have a stored card?

Call create gateway charge with the contact (email or phone) instead of a stored customer ID. ChargeDesk returns a hosted pay link your product can embed in chat, email, or SMS for the customer to complete payment asynchronously.

ChargeDesk

Get ChargeDesk integrated into your app

Sign up free, connect a test ChargeDesk account and make your first call today. No card and no sales call.