# Razorpay + EditionGuard Integrations: Connect with Zapier MCP
> zapier.com/apps/razorpay-1/integrations/editionguard
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Razorpay and EditionGuard in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · send_download_links`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "editionguard", owner: "me" });

const { data } = await zapier.runAction({
  app: "editionguard",
  actionType: "write",
  action: "send_download_links",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action editionguard write send_download_links \
  --inputs '{}'
```

## Razorpay

### Identity
Razorpay is India’s first full-stack financial solutions company. We enable businesses to accept and disburse payments, raise capital and park money.

- App slug: razorpay-1
- Operations published here: 7 (7 events)

### Authentication
Zapier connects to Razorpay via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection razorpay-1
```

### Capabilities

#### Events (7)

Events fire when something happens in Razorpay. Use them to start a run.

##### Invoice Paid
Triggers when an invoice is fully paid.

- Type: read · Key: `invoice_paid`
- Requires: nothing
- SDK: `runAction({ app: "razorpay-1", actionType: "read", action: "invoice_paid" })`
- CLI: `npx zapier-sdk run-action razorpay-1 read invoice_paid`

##### Invoice Partially Paid
Triggers when a partial payment is made against an invoice.

- Type: read · Key: `invoice_partially_paid`
- Requires: nothing
- SDK: `runAction({ app: "razorpay-1", actionType: "read", action: "invoice_partially_paid" })`
- CLI: `npx zapier-sdk run-action razorpay-1 read invoice_partially_paid`

##### Payment Captured
Triggers when a new payment is successfully captured.

- Type: read · Key: `payment_captured`
- Requires: nothing
- SDK: `runAction({ app: "razorpay-1", actionType: "read", action: "payment_captured" })`
- CLI: `npx zapier-sdk run-action razorpay-1 read payment_captured`

##### Payment Failed
Triggers when a new payment fails.

- Type: read · Key: `payment_failed`
- Requires: nothing
- SDK: `runAction({ app: "razorpay-1", actionType: "read", action: "payment_failed" })`
- CLI: `npx zapier-sdk run-action razorpay-1 read payment_failed`

##### Payment Link Paid
Triggers when a Payment Link is paid.

- Type: read · Key: `payment_link_paid`
- Requires: nothing
- SDK: `runAction({ app: "razorpay-1", actionType: "read", action: "payment_link_paid" })`
- CLI: `npx zapier-sdk run-action razorpay-1 read payment_link_paid`

##### Payment Link Partially Paid
Triggers when a partial payment is made on a Standard Payment Link.

- Type: read · Key: `payment_link_partially_paid`
- Requires: nothing
- SDK: `runAction({ app: "razorpay-1", actionType: "read", action: "payment_link_partially_paid" })`
- CLI: `npx zapier-sdk run-action razorpay-1 read payment_link_partially_paid`

##### Payment Page Paid
Triggers when a payment page is paid.

- Type: read · Key: `payment_page_paid`
- Requires: page_id
- SDK: `runAction({ app: "razorpay-1", actionType: "read", action: "payment_page_paid" })`
- CLI: `npx zapier-sdk run-action razorpay-1 read payment_page_paid`

## EditionGuard

### Identity
EditionGuard provides you freedom with eBook selling tools that are easy to use and customize, built on top of an industry standard DRM system for security. Now you can sell eBooks the way that makes you happy, without having to give up on your profits.

- App slug: editionguard
- Operations published here: 3 (1 event, 1 function, 1 query)

### Authentication
Zapier connects to EditionGuard via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection editionguard
```

### Capabilities

#### Events (1)

Events fire when something happens in EditionGuard. Use them to start a run.

##### Get Books
Triggers when getting list of book resource ids under your account.

- Type: read · Key: `get_books`
- Requires: nothing
- SDK: `runAction({ app: "editionguard", actionType: "read", action: "get_books" })`
- CLI: `npx zapier-sdk run-action editionguard read get_books`

#### Functions (1)

Functions change something in EditionGuard.

##### Send eBook Download Links
This action will create a transaction for a given e-book and send the download link(s) to your customers. The returned response will include a download link for fulfillment of the transaction. You may extract and deliver this link to your end-users by any means you prefer through other Zapier integrations.

- Type: write · Key: `send_download_links`
- Requires: ebook_title, resource, website_name, customer_email, order_number, quantity
- SDK: `runAction({ app: "editionguard", actionType: "write", action: "send_download_links" })`
- CLI: `npx zapier-sdk run-action editionguard write send_download_links`

#### Queries (1)

Queries read from EditionGuard and return data. They change nothing.

##### Find EBook by Resource Id
Using this search, you can find an eBook on your EditionGuard account using its unique resource id.

- Type: search · Key: `find_ebook_by_resource_id`
- Requires: nothing
- Optional: resource_id
- SDK: `runAction({ app: "editionguard", actionType: "search", action: "find_ebook_by_resource_id" })`
- CLI: `npx zapier-sdk run-action editionguard search find_ebook_by_resource_id`

## Links
- Razorpay integrations: zapier.com/apps/razorpay-1/integrations.md
- EditionGuard integrations: zapier.com/apps/editionguard/integrations.md
- Full page: zapier.com/apps/razorpay-1/integrations/editionguard
- SDK: npmjs.com/package/@zapier/zapier-sdk