---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# BTCPay Server + Paystack Integrations: Connect with Zapier MCP
> zapier.com/apps/btcpay-server/integrations/paystack
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate BTCPay Server and Paystack 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).

## 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** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `btcpay-server` and `paystack`, then `enable_zapier_action`. If BTCPay Server or Paystack isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **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**: once Add Product is enabled, call `paystack_add_product`. Each operation below lists its MCP tool name.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "paystack",
  actionType: "write",
  action: "addProduct",
  connection: connection.id,
  inputs: {
    name: "",
    description: "",
    price: "",
    currency: "",
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action paystack write addProduct \
  --inputs '{"name":"","description":"","price":"","currency":""}'
```

## BTCPay Server

### Identity
Start Accepting Bitcoin Payments With 0% Fees & No Third-party

- App slug: btcpay-server
- Operations published here: 23 (7 events, 13 functions, 3 queries)

### Authentication
Zapier connects to BTCPay Server 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 btcpay-server
```

### Capabilities

#### Events (7)

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

##### Invoice Created
Triggers when a new invoice is created.

- Type: read · Key: `InvoiceCreated`
- Requires: store_id
- MCP tool: `btcpay_server_invoice_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "read", action: "InvoiceCreated" })`
- CLI: `npx zapier-sdk run-action btcpay-server read InvoiceCreated`

##### Invoice Expired
Triggers when an invoice expires, meaning the customer did not pay in the time he or she was supposed to.

- Type: read · Key: `InvoiceExpired`
- Requires: store_id
- MCP tool: `btcpay_server_invoice_expired` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "read", action: "InvoiceExpired" })`
- CLI: `npx zapier-sdk run-action btcpay-server read InvoiceExpired`

##### Invoice Invalid
Triggers when an invoice becomes invalid.

- Type: read · Key: `InvoiceInvalid`
- Requires: store_id
- MCP tool: `btcpay_server_invoice_invalid` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "read", action: "InvoiceInvalid" })`
- CLI: `npx zapier-sdk run-action btcpay-server read InvoiceInvalid`

##### Invoice Payment Settled
Triggers when a (potentially partial) payment related to an invoice has enough confirmations on the blockchain according to your store's configuration, making the payment final.

- Type: read · Key: `InvoicePaymentSettled`
- Requires: store_id
- MCP tool: `btcpay_server_invoice_payment_settled` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "read", action: "InvoicePaymentSettled" })`
- CLI: `npx zapier-sdk run-action btcpay-server read InvoicePaymentSettled`

##### Invoice Processing
Triggers when an invoice is fully paid, but doesn't have the required amount of confirmations on the blockchain yet according to your store's settings.

- Type: read · Key: `InvoiceProcessing`
- Requires: store_id
- MCP tool: `btcpay_server_invoice_processing` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "read", action: "InvoiceProcessing" })`
- CLI: `npx zapier-sdk run-action btcpay-server read InvoiceProcessing`

##### Payment Received
Triggers when a full or partial payment was received. The payment is not settled yet, meaning it does not have enough confirmations on the blockchain yet.

- Type: read · Key: `InvoiceReceivedPayment`
- Requires: store_id
- MCP tool: `btcpay_server_payment_received` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "read", action: "InvoiceReceivedPayment" })`
- CLI: `npx zapier-sdk run-action btcpay-server read InvoiceReceivedPayment`

##### Invoice Settled
Triggers when an invoice is fully paid and has enough confirmations on the blockchain according to your store's configuration, making the invoice settled.

- Type: read · Key: `InvoiceSettled`
- Requires: store_id
- MCP tool: `btcpay_server_invoice_settled` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "read", action: "InvoiceSettled" })`
- CLI: `npx zapier-sdk run-action btcpay-server read InvoiceSettled`

#### Functions (13)

Functions change something in BTCPay Server.

##### Create Invoice
Creates an Invoice

- Type: write · Key: `CreateInvoice`
- Requires: store_id, amount, currency_code
- Optional: order_id, order_url, redirect_url, buyer_name, buyer_email, buyer_country, buyer_zip, buyer_state, buyer_city, buyer_address1, buyer_address2, buyer_phone
- MCP tool: `btcpay_server_create_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "write", action: "CreateInvoice" })`
- CLI: `npx zapier-sdk run-action btcpay-server write CreateInvoice`

##### Create Payment Request
Creates a Payment Request

- Type: write · Key: `CreatePaymentRequest`
- Requires: store_id, amount, title, currency_code
- Optional: email, description, expiry_date, allow_custom_payment_amounts, reference_id
- MCP tool: `btcpay_server_create_payment_request` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "write", action: "CreatePaymentRequest" })`
- CLI: `npx zapier-sdk run-action btcpay-server write CreatePaymentRequest`

##### Create an On-Chain Transaction
Create an on-chain transaction from a store wallet to another address.

- Type: write · Key: `CreateStoreOnChainWalletTransaction`
- Requires: store_id, destination, amount, crypto_code, fee_rate, subtract_fee_from_amount
- MCP tool: `btcpay_server_create_an_on-chain_transaction` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "write", action: "CreateStoreOnChainWalletTransaction" })`
- CLI: `npx zapier-sdk run-action btcpay-server write CreateStoreOnChainWalletTransaction`

##### Create User
Creates a User

- Type: write · Key: `CreateUser`
- Requires: email
- Optional: name, is_administrator, send_invitation_email
- MCP tool: `btcpay_server_create_user` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "write", action: "CreateUser" })`
- CLI: `npx zapier-sdk run-action btcpay-server write CreateUser`

##### Generate Store's Lightning Wallet Address
Generates a new address for a store's lightning wallet.

- Type: write · Key: `GenerateStoreLightningWalletAddress`
- Requires: store_id, crypto_code
- MCP tool: `btcpay_server_generate_store_s_lightning_wallet_ad` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "write", action: "GenerateStoreLightningWalletAddress" })`
- CLI: `npx zapier-sdk run-action btcpay-server write GenerateStoreLightningWalletAddress`

##### Generate On-Chain Wallet Address
Generates a new address for a store wallet.

- Type: write · Key: `GenerateStoreOnChainWalletAddress`
- Requires: store_id, crypto_code
- Optional: force_generate
- MCP tool: `btcpay_server_generate_on-chain_wallet_address` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "write", action: "GenerateStoreOnChainWalletAddress" })`
- CLI: `npx zapier-sdk run-action btcpay-server write GenerateStoreOnChainWalletAddress`

##### Get Store Lightning Node URI
Get the clearnet and tor URI of your store's lightning node.

- Type: write · Key: `GetStoreLightningNodeUri`
- Requires: store_id, crypto_code
- MCP tool: `btcpay_server_get_store_lightning_node_uri` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "write", action: "GetStoreLightningNodeUri" })`
- CLI: `npx zapier-sdk run-action btcpay-server write GetStoreLightningNodeUri`

##### Get Store On-Chain Wallet Balance
Get the balance of your On-Chain Store wallet.

- Type: write · Key: `GetStoreOnChainBalance`
- Requires: store_id, crypto_code
- MCP tool: `btcpay_server_get_store_on-chain_wallet_balance` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "write", action: "GetStoreOnChainBalance" })`
- CLI: `npx zapier-sdk run-action btcpay-server write GetStoreOnChainBalance`

##### Mark Invoice Settled
Marks an invoice as settled

- Type: write · Key: `MarkInvoiceComplete`
- Requires: store_id, invoice_id
- MCP tool: `btcpay_server_mark_invoice_settled` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "write", action: "MarkInvoiceComplete" })`
- CLI: `npx zapier-sdk run-action btcpay-server write MarkInvoiceComplete`

##### Mark Invoice Invalid
Marks an invoice as invalid

- Type: write · Key: `MarkInvoiceInvalid`
- Requires: store_id, invoice_id
- MCP tool: `btcpay_server_mark_invoice_invalid` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "write", action: "MarkInvoiceInvalid" })`
- CLI: `npx zapier-sdk run-action btcpay-server write MarkInvoiceInvalid`

##### Open Store Lightning Channel
Open a Lightning Channel for the Store's Lightning Node.

- Type: write · Key: `OpenStoreLightningChannel`
- Requires: store_id, crypto_code, node_uri, amount, fee_rate
- MCP tool: `btcpay_server_open_store_lightning_channel` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "write", action: "OpenStoreLightningChannel" })`
- CLI: `npx zapier-sdk run-action btcpay-server write OpenStoreLightningChannel`

##### Pay a Lightning Invoice
Pay a Lightning Invoice using your Store's Lightning Wallet.

- Type: write · Key: `PayLightningInvoice`
- Requires: store_id, crypto_code, bolt11
- MCP tool: `btcpay_server_pay_a_lightning_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "write", action: "PayLightningInvoice" })`
- CLI: `npx zapier-sdk run-action btcpay-server write PayLightningInvoice`

##### Update Payment Request
Updates a Payment Request

- Type: write · Key: `UpdatePaymentRequest`
- Requires: store_id, payment_request_id
- Optional: title, amount, currency_code, email, description, expiry_date, allow_custom_payment_amounts, reference_id
- MCP tool: `btcpay_server_update_payment_request` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "write", action: "UpdatePaymentRequest" })`
- CLI: `npx zapier-sdk run-action btcpay-server write UpdatePaymentRequest`

#### Queries (3)

Queries read from BTCPay Server and return data. They change nothing.

##### Find Invoice by Order ID
Finds an Invoice for a given order.

- Type: search · Key: `FindInvoice`
- Requires: store_id, order_id
- MCP tool: `btcpay_server_find_invoice_by_order_id` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "search", action: "FindInvoice" })`
- CLI: `npx zapier-sdk run-action btcpay-server search FindInvoice`

##### Find Payment Request
Finds a payment request by its ID or reference ID and gets the details.

- Type: search · Key: `FindPaymentRequest`
- Requires: store_id
- Optional: payment_request_id, reference_id
- MCP tool: `btcpay_server_find_payment_request` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "search", action: "FindPaymentRequest" })`
- CLI: `npx zapier-sdk run-action btcpay-server search FindPaymentRequest`

##### Get Store Details
Finds a Store for a given ID and get the details.

- Type: search · Key: `FindStore`
- Requires: store_id
- MCP tool: `btcpay_server_get_store_details` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "btcpay-server", actionType: "search", action: "FindStore" })`
- CLI: `npx zapier-sdk run-action btcpay-server search FindStore`

## Paystack

### Identity
Paystack helps African merchants accept one-time and recurring payments online with a modern, safe, and secure payment gateway.

- App slug: paystack
- Operations published here: 32 (12 events, 13 functions, 7 queries)

### Authentication
Zapier connects to Paystack 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 paystack
```

### Capabilities

#### Events (12)

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

##### Abandoned Transaction
Triggers when a transaction is abandoned

- Type: read · Key: `getabandonedtransaction`
- Requires: timeout
- MCP tool: `paystack_abandoned_transaction` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getabandonedtransaction" })`
- CLI: `npx zapier-sdk run-action paystack read getabandonedtransaction`

##### Cancelled Subscription
Triggers when there's a an existing subscription is cancelled by you or the customer.

- Type: read · Key: `getcancelledsubscription`
- Requires: nothing
- MCP tool: `paystack_cancelled_subscription` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getcancelledsubscription" })`
- CLI: `npx zapier-sdk run-action paystack read getcancelledsubscription`

##### New Customer
Triggers when a new customer is created.

- Type: read · Key: `getcustomer`
- Requires: nothing
- MCP tool: `paystack_new_customer` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getcustomer" })`
- CLI: `npx zapier-sdk run-action paystack read getcustomer`

##### New Chargeback
Triggers when a chargeback is logged against your account and awaiting your feedback

- Type: read · Key: `getdispute`
- Requires: nothing
- MCP tool: `paystack_new_chargeback` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getdispute" })`
- CLI: `npx zapier-sdk run-action paystack read getdispute`

##### New Invoice
Triggers when an invoice is created or paid.

- Type: read · Key: `getinvoice`
- Requires: status
- MCP tool: `paystack_new_invoice` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getinvoice" })`
- CLI: `npx zapier-sdk run-action paystack read getinvoice`

##### New Order
Triggers when a new order is made on your account

- Type: read · Key: `getorder`
- Requires: nothing
- MCP tool: `paystack_new_order` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getorder" })`
- CLI: `npx zapier-sdk run-action paystack read getorder`

##### New Payment Page  Transaction
Triggers when there's a new successful or failed transaction from a Payment Page

- Type: read · Key: `getpaymentpagetransaction`
- Requires: status, getpage
- MCP tool: `paystack_new_payment_page_transaction` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getpaymentpagetransaction" })`
- CLI: `npx zapier-sdk run-action paystack read getpaymentpagetransaction`

##### New Refund
Triggers when a refund happens on your account

- Type: read · Key: `getrefund`
- Requires: nothing
- MCP tool: `paystack_new_refund` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getrefund" })`
- CLI: `npx zapier-sdk run-action paystack read getrefund`

##### Subsciption Renewal
Triggers when there's a new successful or failed subscription renewal.

- Type: read · Key: `getrenewal`
- Requires: status
- MCP tool: `paystack_subsciption_renewal` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getrenewal" })`
- CLI: `npx zapier-sdk run-action paystack read getrenewal`

##### New Subscription
Triggers when there's a newly created or cancelled subscription.

- Type: read · Key: `getsubscription`
- Requires: state
- MCP tool: `paystack_new_subscription` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "getsubscription" })`
- CLI: `npx zapier-sdk run-action paystack read getsubscription`

##### New Transaction
Triggers when there's a new successful or failed transaction.

- Type: read · Key: `gettransaction`
- Requires: status
- MCP tool: `paystack_new_transaction` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "gettransaction" })`
- CLI: `npx zapier-sdk run-action paystack read gettransaction`

##### New Transfer
Triggers when a new transfer is queued, or an existing transfer resolves successfully or fails.

- Type: read · Key: `gettransfer`
- Requires: status
- MCP tool: `paystack_new_transfer` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "read", action: "gettransfer" })`
- CLI: `npx zapier-sdk run-action paystack read gettransfer`

#### Functions (13)

Functions change something in Paystack.

##### Add Product
Add a product

- Type: write · Key: `addProduct`
- Requires: name, description, price, currency
- Optional: unlimited, quantity
- MCP tool: `paystack_add_product` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "addProduct" })`
- CLI: `npx zapier-sdk run-action paystack write addProduct`

##### Add Phone Number to Virtual Terminal
Add phone number to a virtual terminal to receive WhatsApp notifications

- Type: write · Key: `addvirtualterminalphonenumber`
- Requires: vtCode, target
- Optional: name
- MCP tool: `paystack_add_phone_number_to_virtual_terminal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "addvirtualterminalphonenumber" })`
- CLI: `npx zapier-sdk run-action paystack write addvirtualterminalphonenumber`

##### Cancel Subscription
Cancel an existing subscription

- Type: write · Key: `cancelSubscription`
- Requires: code, token
- MCP tool: `paystack_cancel_subscription` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "cancelSubscription" })`
- CLI: `npx zapier-sdk run-action paystack write cancelSubscription`

##### Initiate a Direct Debit Request
Create a direct debit link for a customer to authorise their bank account for recurring charges (Only available in Nigeria)

- Type: write · Key: `createdirectdebitlink`
- Requires: email, channel, callback_url
- Optional: number, bank_code, state, city, street
- MCP tool: `paystack_initiate_a_direct_debit_request` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "createdirectdebitlink" })`
- CLI: `npx zapier-sdk run-action paystack write createdirectdebitlink`

##### Create Refund
Refunds a transaction.

- Type: write · Key: `createrefund`
- Requires: transaction
- Optional: reason, amount
- MCP tool: `paystack_create_refund` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "createrefund" })`
- CLI: `npx zapier-sdk run-action paystack write createrefund`

##### Create Subscription
Creates a new subscription

- Type: write · Key: `createsubscription`
- Requires: customer, plan
- Optional: invoice_limit, start_date
- MCP tool: `paystack_create_subscription` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "createsubscription" })`
- CLI: `npx zapier-sdk run-action paystack write createsubscription`

##### Create Virtual Terminal
Creates a new virtual terminal

- Type: write · Key: `createvirtualterminal`
- Requires: terminal_name, whatsapp_number
- MCP tool: `paystack_create_virtual_terminal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "createvirtualterminal" })`
- CLI: `npx zapier-sdk run-action paystack write createvirtualterminal`

##### Initialize Transaction
Generates a Paystack checkout Link

- Type: write · Key: `initializeTransaction`
- Requires: email, amount
- Optional: currency, reference, callback_url, plan, split_code, ubaccount, bearer
- MCP tool: `paystack_initialize_transaction` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "initializeTransaction" })`
- CLI: `npx zapier-sdk run-action paystack write initializeTransaction`

##### Push Invoice to Terminal
Send an invoice from your application to the Paystack Terminal for processing

- Type: write · Key: `pushinvoice`
- Requires: terminal, invoiceID, offlineReference
- MCP tool: `paystack_push_invoice_to_terminal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "pushinvoice" })`
- CLI: `npx zapier-sdk run-action paystack write pushinvoice`

##### Remove Phone Number From Virtual Terminal
Remove phone number from the virtual terminal to stop it from receiving WhatsApp notifications

- Type: write · Key: `removevirtualterminalphonenumber`
- Requires: vtCode, target
- MCP tool: `paystack_remove_phone_number_from_virtual_terminal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "removevirtualterminalphonenumber" })`
- CLI: `npx zapier-sdk run-action paystack write removevirtualterminalphonenumber`

##### Send Simple Invoice
Send a payment request to your customers

- Type: write · Key: `sendsimpleinvoice`
- Requires: email, amount, description
- Optional: first_name, last_name, currency, invoice_number
- MCP tool: `paystack_send_simple_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "sendsimpleinvoice" })`
- CLI: `npx zapier-sdk run-action paystack write sendsimpleinvoice`

##### Share Link for Updating Subscription Card
Send a request to the customer to update the card on their subscription

- Type: write · Key: `sendsubscriptioncardupdatelink`
- Requires: code
- MCP tool: `paystack_share_link_for_updating_subscription_card` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "sendsubscriptioncardupdatelink" })`
- CLI: `npx zapier-sdk run-action paystack write sendsubscriptioncardupdatelink`

##### Update Order
Updates the status of an order.

- Type: write · Key: `updateorder`
- Requires: order_id, status
- MCP tool: `paystack_update_order` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "write", action: "updateorder" })`
- CLI: `npx zapier-sdk run-action paystack write updateorder`

#### Queries (7)

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

##### Check Terminal Status
Check the availiability of a Terminal before sending an event to it.

- Type: search · Key: `checkterminal`
- Requires: terminal
- MCP tool: `paystack_check_terminal_status` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "checkterminal" })`
- CLI: `npx zapier-sdk run-action paystack search checkterminal`

##### Find Customer
Find a customer record using their email address

- Type: search · Key: `findcustomer`
- Requires: email
- MCP tool: `paystack_find_customer` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "findcustomer" })`
- CLI: `npx zapier-sdk run-action paystack search findcustomer`

##### Find Order
Find a order record using the Order ID

- Type: search · Key: `findorder`
- Requires: getorder
- MCP tool: `paystack_find_order` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "findorder" })`
- CLI: `npx zapier-sdk run-action paystack search findorder`

##### Find Transaction
Find a transaction record using the reference

- Type: search · Key: `findtransaction`
- Requires: reference
- MCP tool: `paystack_find_transaction` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "findtransaction" })`
- CLI: `npx zapier-sdk run-action paystack search findtransaction`

##### Find Transfer
Find a transfer record using the transfer code

- Type: search · Key: `findtransfer`
- Requires: transfer_code
- MCP tool: `paystack_find_transfer` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "findtransfer" })`
- CLI: `npx zapier-sdk run-action paystack search findtransfer`

##### Get Customer Totals
Get a customer's total spend on your Paystack business

- Type: search · Key: `getcustomertotals`
- Requires: email
- MCP tool: `paystack_get_customer_totals` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "getcustomertotals" })`
- CLI: `npx zapier-sdk run-action paystack search getcustomertotals`

##### Resolve Account Number
Retrieve the full name tied to a Nigerian account number

- Type: search · Key: `resolvebank`
- Requires: account_number, bank_code
- MCP tool: `paystack_resolve_account_number` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paystack", actionType: "search", action: "resolvebank" })`
- CLI: `npx zapier-sdk run-action paystack search resolvebank`

## Frequently asked questions about automating with BTCPay Server and Paystack

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- BTCPay Server integrations: zapier.com/apps/btcpay-server/integrations.md
- Paystack integrations: zapier.com/apps/paystack/integrations.md
- Full page: zapier.com/apps/btcpay-server/integrations/paystack
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk