Zoho Billing
Zoho Billing is a cloud-based subscription and billing management platform for recurring revenue businesses, handling customers, subscriptions, plans, invoices, payments, and other billing operations. This connector uses the Zoho Billing REST API, which is authenticated with OAuth 2.0 and scoped to a specific organization, to move billing data in and out of Nexla.
Power end-to-end data operations for your Zoho Billing API with Nexla. Our bi-directional Zoho Billing connector is purpose-built for Zoho Billing, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to Zoho Billing or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your Zoho Billing workflows fast, secure, and fully governed.
Features
Type: API
- Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
- Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
- API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
- Request optimization with intelligent batching, retry, and caching to minimize API calls and costs
Prerequisites
Before creating a Zoho Billing credential, you need three values: the region-specific API base URL, an OAuth 2.0 access token, and your organization ID. Zoho Billing authenticates every request with an OAuth token supplied in the Authorization header, using the format Zoho-oauthtoken <token>, and requires the organization_id as a query parameter on every call.
To obtain these values, follow these steps:
-
Sign in to the Zoho Developer Console using your Zoho account, and register a new Self Client or Server-based Application to obtain a Client ID and Client Secret.
-
Using the registered client, complete the OAuth 2.0 authorization flow to generate an access token. Request scopes that cover the Zoho Billing resources you plan to read or write (for example, the subscription, invoice, and customer scopes). The authorization step returns a short-lived code, which you exchange for an access token by making a POST request to the token endpoint
https://accounts.zoho.com/oauth/v2/token. -
Copy the resulting access token. Zoho Billing access tokens expire one hour after they are issued, so you will use the refresh token from the same OAuth flow to obtain a new access token when the current one expires.
-
Determine the correct base URL for your data center. Zoho hosts each account in a specific region, and the API host differs by region, for example
https://www.zohoapis.com/billing/v1(US),https://www.zohoapis.eu/billing/v1(EU),https://www.zohoapis.in/billing/v1(India), orhttps://www.zohoapis.com.au/billing/v1(Australia). Use the host that matches the region where your Zoho Billing organization was created. -
Obtain your organization ID. It is returned in the JSON response of the
GET /organizationsAPI call, and it is also shown on the Manage Organizations page in the Zoho Billing admin console. Sign in to the admin console, click the dropdown labeled with your organization's name, and select Manage Organizations to view the ID.
For complete details about the authorization flow, token scopes, and token refresh, see the Zoho Billing OAuth documentation and the Zoho Billing API introduction.
Authenticate
Credentials required
| Field | Required | Secret | Description |
|---|---|---|---|
| Base URL | Yes | No | Region-specific Zoho Billing API base URL, e.g. https://www.zohoapis.com/billing/v1 (US), .eu, .in, .com.au, etc. |
| OAuth Access Token | Yes | No | Zoho OAuth2 access token. Sent as the Authorization header value 'Zoho-oauthtoken <token>'. |
| Organization ID | Yes | No | Zoho Billing organization_id, required on every request as a query parameter. |
Create a credential in Nexla
-
After selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
-
Enter your region-specific API host in the Base URL field, for example
https://www.zohoapis.com/billing/v1. This value must match the data center where your Zoho Billing organization is hosted. -
Enter your Zoho OAuth 2.0 access token in the OAuth Access Token field. Nexla sends this value in the
Authorizationheader asZoho-oauthtoken <token>on every request.Zoho Billing access tokens expire one hour after they are issued. Generate a fresh access token using your OAuth refresh token, and update this credential when the token expires so that connections continue to authenticate successfully.
-
Enter your Organization ID in the corresponding field. Nexla appends this value as the
organization_idquery parameter on every API request. -
Click the Save button at the bottom of the overlay. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the Zoho Billing connector tile, then select the credential that will be used to connect to Zoho Billing, and click Next; or, create a new Zoho Billing credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common Zoho Billing endpoints. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
Zoho Billing data sources can also be manually configured to ingest data from any valid Zoho Billing API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers.
Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new Zoho Billing data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.
Use as a destination
Click the + icon on the Nexset that will be sent to the Zoho Billing destination, and select the Send to Destination option from the menu. Select the Zoho Billing connector from the list of available destination connectors, then select the credential that will be used to connect to Zoho Billing, and click Next; or, create a new Zoho Billing credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure destinations to send data to common Zoho Billing endpoints. Select the endpoint to which data will be sent from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.
Manual configuration
Zoho Billing destinations can also be manually configured to send data to any valid Zoho Billing API endpoint. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, data format, endpoint URL, request headers, attribute exclusions, record batching, and response webhooks.
Zoho Billing APIs expect JSON in the request body for create and update operations. For update operations, include the ID of the object to be updated in the endpoint URL path.
Save & activate
Once all endpoint settings have been configured, click the Done button in the upper right corner of the screen to save and create the destination. To send the data to the configured Zoho Billing endpoint, open the destination resource menu, and select Activate.
The Nexset data will not be sent to the Zoho Billing endpoint until the destination is activated. Destinations can be activated immediately or at a later time, providing full control over data movement.