> ## Documentation Index
> Fetch the complete documentation index at: https://docs.serval.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Zuora

> Connect Zuora Billing to automate account, subscription, and invoice operations.

Connect Zuora Billing with an OAuth client ID and client secret. Serval obtains
and renews access tokens automatically. This connection doesn't require a callback
URL or a Zuora MCP server.

## Before you begin

Ask your Zuora administrator to create an OAuth client for a dedicated Billing
API user. Grant that user access to the accounts, subscriptions, and invoices
your workflows need. Write operations require the corresponding Zuora permissions.

Follow Zuora's [OAuth client setup guide](https://developer.zuora.com/docs/get-started/oauth-client-setup-steps)
to obtain the client ID, client secret, and REST endpoint for your tenant.
Copy the secret when Zuora displays it; it is only shown once.

> [!NOTE]
>
> Use a Zuora Billing OAuth client. The OneID client used by Zuora's remote MCP
> server is a separate authentication flow and isn't used by this integration.

## Connect to Serval

1. Open **Integrations**, select **All integrations**, and find **Zuora**.
2. Select the **API Domain** that matches your Zuora tenant's REST endpoint.
   Production and sandbox tenants use different endpoints and credentials.
3. Enter an **Instance Name**, **Client ID**, and **Client Secret**.
4. Submit the connection form and run the account, subscription, and invoice
   health checks. These checks read one record at most and don't change billing data.

Health checks run separately after setup. The account check requires permission to read accounts. An empty account list
is a successful check; you don't need to create sample billing data.

## Supported operations

* **Accounts**: List, retrieve, create, update, delete, and read account summaries.
* **Subscriptions**: List, retrieve, create, update, cancel, renew, suspend, and resume.
* **Invoices**: List, retrieve, create, update, delete, cancel, send by email, and read invoice items.
* **Catalog**: List and retrieve products.

For `/object-query` list operations, use the returned `nextPage` value as the next
request's `cursor`. The subscriptions-by-account operation uses a numeric `page`
parameter instead.
Zuora permissions and enabled tenant features determine which operations succeed.
This connector doesn't include Zuora Revenue, OneID administration, file uploads,
or file downloads.

## Updating credentials

You can rotate the secret for the same OAuth client. Leaving the secret unchanged
preserves its current stored value. To use a different client ID or API domain,
create a separate connection so existing workflows keep their billing destination.

For POST or PATCH requests, set `idempotencyKey` to a unique key for the operation
(1–255 visible ASCII characters, with no spaces or other whitespace). Reuse that key when retrying the same operation after an
uncertain result. Use a different key for each new operation.

## Troubleshooting

When Zuora returns HTTP 200 with `success: false`, Serval reports its recognized
error codes without including billing data from the vendor's error message.
HTTP failures report the HTTP status; their response bodies are not exposed. Look up the code in
[Zuora's error-code guide](https://developer.zuora.com/docs/guides/error-codes).

* **Invalid client credentials**: Verify that the client belongs to the tenant
  selected in **API Domain**. A sandbox client can't authenticate to production.
* **Permission denied**: Ask your Zuora administrator to check the Billing API
  user's permissions for the failed operation.
* **Callback URL requested**: Confirm that you're creating a Billing OAuth client
  using the setup guide above, rather than an MCP or authorization-code client.

For multi-entity tenants, use credentials restricted to the intended entity.
This connector doesn't provide an entity-selection field.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.