Paystack Payments

Access Paystack's payment platform via the Paystack API. Manage customers, transactions, payment pages, transfers, products, and payment operations.
This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Paystack API access yourself.
Setup in 3 Steps
| Step 1: Install | Step 2: Pair Account | Step 3: Connect Paystack |
|:---:|:---:|:---:|
|
|
| App-specific connection GIF coming soon |
| Run the install command in OpenClaw | Sign in and approve the device | Open the dashboard and connect Paystack |
How It Works
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ OpenClaw │────▶│ ClawLink │────▶│ Paystack API │
│ (User Chat) │ │ (API Key) │ │ │
└─────────────────┘ └──────────────┘ └──────────────────┘
│ │ │
│ 1. Install Plugin │ │
│ 2. Pair Device │ │
│ 3. Connect Paystack │ │
│ │ 4. Secure Proxy │
│ │ 5. API Requests │
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SKILL │ │ Dashboard│ │ Paystack │
│ File │ │ Auth │ │ Platform │
└──────────┘ └──────────┘ └──────────┘
Install
Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.
openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Paystack again."
Quick Start
# List transactions
clawlink_call_tool --tool "paystack_list_transactions" --params '{"limit": 50}'
# Get transaction details
clawlink_call_tool --tool "paystack_get_transaction" --params '{"id": "TRANSACTION_ID"}'
# Verify a transaction
clawlink_call_tool --tool "paystack_verify_transaction" --params '{"reference": "TXN_REFERENCE"}'
Authentication
All Paystack tool calls are authenticated automatically by ClawLink using the user's Paystack API key.
No API key is required in chat. ClawLink stores the API key securely and injects it into every Paystack API request on the user's behalf.
Getting Connected
- Install the ClawLink plugin (see Install above).
- Pair the plugin with
clawlink_begin_pairingif it is not configured yet. - Open https://claw-link.dev/dashboard?add=paystack and connect Paystack.
- Call
clawlink_list_integrationsto verify the connection is active.
Connection Management
List Connections
clawlink_list_integrations
Response: Returns all connected integrations. Look for paystack in the list.
Verify Connection
clawlink_list_tools --integration paystack
Response: Returns the live tool catalog for Paystack.
Reconnect
If Paystack tools are missing or the connection shows an error:
- Direct the user to https://claw-link.dev/dashboard?add=paystack
- After they confirm, call
clawlink_list_integrationsto verify - Then call
clawlink_list_tools --integration paystack
Security& Permissions
- Access is scoped to customers, transactions, and resources within the connected Paystack account.
- All write operations require explicit user confirmation. Before executing any create, update, or delete call, confirm the target resource and intended effect with the user.
- Destructive actions (delete customer, cancel transfer) must be confirmed.
- Transfer and payment operations affect real money — confirm recipient and amount carefully.
Discovery Workflow
- Call
clawlink_list_integrationsto confirm Paystack is connected. - Call
clawlink_list_tools --integration paystackto see the live catalog. - Treat the returned list as the source of truth. Do not guess or assume what tools exist.
- If the user describes a capability but the exact tool is unclear, call
clawlink_search_toolswith a short query and integrationpaystack. - If no Paystack tools appear, direct the user to https://claw-link.dev/dashboard?add=paystack.
Execution Workflow
┌─────────────────────────────────────────────────────────────┐
│ READ OPERATIONS (Safe) │
│ list → get → search → describe → call │
│ │
│ Example: List transactions → Verify → Show status │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ WRITE OPERATIONS (Require Confirmation) │
│ list → get → describe → preview → confirm → call │
│ │
│ Example: Describe tool → Preview changes → User approves │
│ → Execute update │
└─────────────────────────────────────────────────────────────┘
- For unfamiliar tools, ambiguous requests, or any write action, call
clawlink_describe_toolfirst. - Use the returned guidance, schema,
whenToUse,askBefore,safeDefaults,examples, andfollowupsto shape the call. - Prefer read, list, search, and get operations before writes when that reduces ambiguity.
- For writes or anything marked as requiring confirmation, call
clawlink_preview_toolfirst. - Execute with
clawlink_call_tool. Pass confirmation only after the preview matches the user's intent. - If the tool call fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion.
Code Examples
List transactions
clawlink_call_tool --tool "paystack_list_transactions" \
--params '{
"per_page": 50,
"status": "success"
}'
Verify a transaction
clawlink_call_tool --tool "paystack_verify_transaction" \
--params '{
"reference": "TXN_REF_ABC123"
}'
Create a customer
clawlink_call_tool --tool "paystack_create_customer" \
--params '{
"email": "customer@example.com",
"first_name": "Jane",
"last_name": "Doe",
"phone": "+2348012345678",
"metadata": {
"plan": "premium"
}
}'
Create a payment page
clawlink_call_tool --tool "paystack_create_payment_page" \
--params '{
"name": "Product Purchase",
"description": "One-time purchase for premium plan",
"amount": 50000,
"currency": "NGN"
}'
Notes
- Paystack API has rate limits. Use exponential backoff when encountering 429 errors.
- Transaction references are unique strings — verify before using in verification calls.
- Amounts are in the smallest currency unit (kobo for NGN, cents for USD).
- Currency codes must be uppercase (e.g.,
NGN,USD,KES).
Error Handling
| Status / Error | Meaning |
|----------------|---------|
| Tool not found | The tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration paystack. |
| Missing connection | Paystack is not connected. Direct the user to https://claw-link.dev/dashboard?add=paystack. |
| not_found | Transaction, customer, or resource does not exist. Check the ID or reference. |
| validation_error | Invalid parameter or missing required field. Review the tool schema with clawlink_describe_tool. |
| Rate limited | Too many requests. Wait and retry with exponential backoff. |
| Write rejected | User did not confirm a write action. Always confirm before executing writes. |
Troubleshooting: Tools Not Visible
- Check that the ClawLink plugin is installed:
openclaw plugins list - If the plugin is installed but tools are missing, tell the user to send
/newas a standalone message to reload the catalog. - If a fresh chat does not help, run:
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json openclaw gateway restart - After restart, tell the user to send
/newagain and retry.
Troubleshooting: Invalid Tool Call
- Ensure the integration slug is exactly
paystack. - Use
clawlink_describe_toolto verify parameter names and types before calling. - For write operations, always call
clawlink_preview_toolfirst.
Resources
- Paystack API Documentation
- Transaction API
- Customer API
- ClawLink: https://claw-link.dev/?utm_source=clawhub&utm_medium=referral&utm_content=paystack-payments
- ClawLink Docs: https://docs.claw-link.dev/openclaw
- ClawLink Verification: https://claw-link.dev/verify
Related Skills
- Paystack — For this skill's native documentation
Powered by ClawLink — an integration hub for OpenClaw

微信扫一扫