# Zapier — AffiniPay Integrations
> zapier.com/apps/affinipay/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## 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

## Identity
AffiniPay is the only digital payment solution tailored to professionals.

- App slug: affinipay
- Operations published here: 9 (1 event, 5 functions, 3 queries)

## Authentication
Zapier connects to AffiniPay 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 affinipay
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/affinipay/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect AffiniPay through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action affinipay write create_charge \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing AffiniPay's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "affinipay" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions affinipay --page-size 50 --max-items 200 --json
```

### Events (1)

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

#### Events
Triggers when new AffiniPay webhook events are created.

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

### Functions (5)

Functions change something in AffiniPay.

#### Create Charge
Creates a charge.

- Type: write · Key: `create_charge`
- Requires: amount, method
- Optional: reference, account_id
- SDK: `runAction({ app: "affinipay", actionType: "write", action: "create_charge" })`
- CLI: `npx zapier-sdk run-action affinipay write create_charge`

#### Create Contact
Creates a contact.

- Type: write · Key: `create_contact`
- Requires: first_name, last_name, email
- Optional: source_id
- SDK: `runAction({ app: "affinipay", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action affinipay write create_contact`

#### Create Info Request
Creates an  InfoRequest  for a given Contact to save their own payment method for future charges. The  InfoRequest  will be sent to the Contact via email by AffiniPay, so the Contact must have at least one email address defined. After the Contact submits this information, the payment method is saved and available for future charges. For more information see:  Creating an InfoRequest .

- Type: write · Key: `create_info_request`
- Requires: contact_id, subject, body
- SDK: `runAction({ app: "affinipay", actionType: "write", action: "create_info_request" })`
- CLI: `npx zapier-sdk run-action affinipay write create_info_request`

#### Create Quick Bill
Creates a quick bill.

- Type: write · Key: `create_quick_bill`
- Requires: deposit_account_id, email, amount
- Optional: first_name, last_name
- SDK: `runAction({ app: "affinipay", actionType: "write", action: "create_quick_bill" })`
- CLI: `npx zapier-sdk run-action affinipay write create_quick_bill`

#### Format Amount
Formats the amount field on a transaction event from cents.

- Type: write · Key: `format_amount`
- Requires: amount
- SDK: `runAction({ app: "affinipay", actionType: "write", action: "format_amount" })`
- CLI: `npx zapier-sdk run-action affinipay write format_amount`

### Queries (3)

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

#### Get Contact
Returns a contact by contactId

- Type: search · Key: `get_contactSearch`
- Requires: nothing
- Optional: contact_id, source_id
- SDK: `runAction({ app: "affinipay", actionType: "search", action: "get_contactSearch" })`
- CLI: `npx zapier-sdk run-action affinipay search get_contactSearch`

#### Search Contacts
Returns contacts by query.

- Type: search · Key: `search_contacts`
- Requires: nothing
- Optional: custom_query, source_id, display_name, preferred_email
- SDK: `runAction({ app: "affinipay", actionType: "search", action: "search_contacts" })`
- CLI: `npx zapier-sdk run-action affinipay search search_contacts`

#### Get Payment Methods
Returns payment methods by contactId.

- Type: search · Key: `search_paymentmethods`
- Requires: contactId
- SDK: `runAction({ app: "affinipay", actionType: "search", action: "search_paymentmethods" })`
- CLI: `npx zapier-sdk run-action affinipay search search_paymentmethods`

## Popular integrations
- [AffiniPay + QuickBooks Online](zapier.com/apps/affinipay/integrations/quickbooks.md)
- [AffiniPay + Zoho CRM](zapier.com/apps/affinipay/integrations/zoho-crm.md)
- [AffiniPay + AWeber](zapier.com/apps/affinipay/integrations/aweber.md)
- [AffiniPay + Zoho Invoice](zapier.com/apps/affinipay/integrations/zoho-invoice.md)
- [AffiniPay + Google Calendar](zapier.com/apps/affinipay/integrations/google-calendar.md)
- [AffiniPay + LeadConnector](zapier.com/apps/affinipay/integrations/leadconnector.md)
- [AffiniPay + monday.com](zapier.com/apps/affinipay/integrations/monday.md)
- [AffiniPay + Google Ads](zapier.com/apps/affinipay/integrations/google-ads.md)
- [AffiniPay + ActiveCampaign](zapier.com/apps/affinipay/integrations/activecampaign.md)
- [AffiniPay + Kit](zapier.com/apps/affinipay/integrations/kit.md)
- [AffiniPay + Xero](zapier.com/apps/affinipay/integrations/xero.md)
- [AffiniPay + Cognito Forms](zapier.com/apps/affinipay/integrations/cognito-forms.md)
- [AffiniPay + ClickBank](zapier.com/apps/affinipay/integrations/clickbank.md)
- [AffiniPay + WildApricot](zapier.com/apps/affinipay/integrations/wildapricot.md)
- [AffiniPay + Join It](zapier.com/apps/affinipay/integrations/join-it.md)
- [AffiniPay + Assembly.com](zapier.com/apps/affinipay/integrations/assemblycom.md)
- [AffiniPay + Smart Sender](zapier.com/apps/affinipay/integrations/smart-sender.md)
- [AffiniPay + BTCPay Server](zapier.com/apps/affinipay/integrations/btcpay-server.md)

## Links
- Full app page: zapier.com/apps/affinipay/integrations
- MCP: zapier.com/mcp/affinipay
- SDK: npmjs.com/package/@zapier/zapier-sdk