Description
n8n-nodes-paystack
This is an n8n community node to interact with Paystack, a leading payment gateway in Africa.
Paystack allows businesses to accept payments via various channels including cards, bank transfers, USSD, and mobile money.
Features
- Transactions: Initialize, verify, fetch, and list transactions.
- Customers: Create, update, fetch, and list customers.
- Plans & Subscriptions: Manage recurring billing.
- Refunds: Process and track refunds.
- Transfers: Create recipients and initiate transfers.
- Balance & Banks: Check your balance and resolve bank accounts.
- Webhook Trigger: Listen for real-time events from Paystack.
Installation
Follow the installation guide in the n8n community nodes documentation.
npm install n8n-nodes-paystack
Credentials
To use this node, you need a Paystack account.
1. Go to your Paystack Dashboard.
2. Navigate to Settings > API Keys & Webhooks.
3. Copy your Secret Key (use the sktest... key for testing and sklive... for production).
4. In n8n, create a new Paystack API credential and paste your Secret Key.
Operations
Transaction
Customer
Refund
Plan
Subscription
Transfer
Balance
Usage
Webhook Trigger
Use the Paystack Trigger node to receive notifications for events like charge.success, transfer.success, and subscription.create. Ensure you copy the Webhook URL from the node and paste it into your Paystack Dashboard settings.
Development
1. Clone the repository:
git clone https://github.com/tjava/n8n-nodes-paystack.git
2. Install dependencies:
npm install
3. Build the node:
npm run build
4. Link for local development:
npm link
5. In your local n8n directory:
npm link n8n-nodes-paystack