skills/paystack-terminal/SKILL.md
Paystack Terminal API — build in-person payment experiences with Paystack POS terminals. Send events (invoice/transaction), check terminal status, commission/decommission devices, and manage terminal details. Use this skill whenever integrating Paystack POS terminals, sending payment events to terminals, processing in-person payments, checking terminal availability, activating or deactivating terminal devices, or managing a fleet of POS terminals. Also use when you see references to /terminal endpoint, terminal_id, serial numbers, or event-based terminal communication.
npx skillsauth add rexedge/paystack paystack-terminalInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The Terminal API lets you build in-person payment experiences with Paystack POS terminals.
Depends on: paystack-setup for the
paystackRequesthelper.
| Method | Endpoint | Description |
| --- | --- | --- |
| POST | /terminal/:terminal_id/event | Send event to terminal |
| GET | /terminal/:terminal_id/event/:event_id | Check event delivery status |
| GET | /terminal/:terminal_id/presence | Check terminal availability |
| GET | /terminal | List terminals |
| GET | /terminal/:terminal_id | Fetch terminal details |
| PUT | /terminal/:terminal_id | Update terminal |
| POST | /terminal/commission_device | Commission (activate) terminal |
| POST | /terminal/decommission_device | Decommission (deactivate) terminal |
| Param | Type | Required | Description |
| --- | --- | --- | --- |
| type | string | Yes | invoice or transaction |
| action | string | Yes | For invoice: process or view. For transaction: process or print |
| data | object | Yes | Event data (see examples) |
// Send invoice to terminal for processing
const event = await paystackRequest<{ id: string }>(
`/terminal/${terminalId}/event`,
{
method: "POST",
body: JSON.stringify({
type: "invoice",
action: "process",
data: {
id: 7895939, // Invoice ID
reference: 4634337895939, // Offline reference
},
}),
}
);
// event.data.id → "616d721e8c5cd40a0cdd54a6"
// Print a transaction receipt
await paystackRequest(`/terminal/${terminalId}/event`, {
method: "POST",
body: JSON.stringify({
type: "transaction",
action: "print",
data: { id: transactionId },
}),
});
const status = await paystackRequest<{ delivered: boolean }>(
`/terminal/${terminalId}/event/${eventId}`
);
// status.data.delivered → true
Always check before sending events:
const presence = await paystackRequest<{
online: boolean;
available: boolean;
}>(`/terminal/${terminalId}/presence`);
if (presence.data.online && presence.data.available) {
// Send event to terminal
}
Uses cursor pagination:
const terminals = await paystackRequest("/terminal?perPage=50");
// terminals.meta.next → cursor for next page
// terminals.meta.previous → cursor for previous page
const terminal = await paystackRequest(`/terminal/${terminalId}`);
// terminal.data: { id, serial_number, terminal_id, name, address, status }
await paystackRequest(`/terminal/${terminalId}`, {
method: "PUT",
body: JSON.stringify({
name: "Front Desk Terminal",
address: "123 Main Street, Lagos",
}),
});
// Activate a new terminal
await paystackRequest("/terminal/commission_device", {
method: "POST",
body: JSON.stringify({ serial_number: "1111150412230003899" }),
});
// Deactivate a terminal
await paystackRequest("/terminal/decommission_device", {
method: "POST",
body: JSON.stringify({ serial_number: "1111150412230003899" }),
});
development
Paystack webhook integration — signature validation with HMAC SHA512, event parsing, IP whitelisting, retry policy, and all supported event types. Use this skill whenever setting up a webhook endpoint for Paystack, validating x-paystack-signature headers, handling charge.success or transfer.success events, debugging webhook delivery failures, implementing idempotent event processing, or building any server-side Paystack event listener. Also use when encountering webhook timeout issues or needing the list of Paystack webhook IP addresses.
tools
Paystack Verification API — KYC verification tools for resolving bank accounts, validating account ownership, and looking up card BIN information. Use this skill whenever verifying bank account details before transfers, confirming account holder names, validating customer identity for compliance, looking up card brand/type/bank from BIN, or implementing KYC flows. Also use when you see references to /bank/resolve, /bank/validate, /decision/bin endpoints, or need to match account numbers to names.
development
Paystack Transfers API — send money to bank accounts and mobile wallets. Initiate single and bulk transfers, finalize OTP-verified transfers, list, fetch, and verify transfer status. Use this skill whenever implementing payouts, disbursements, vendor payments, withdrawal flows, or any feature that sends money from your Paystack balance to recipients. Also use when you see references to transfer_code, TRF_ prefixed codes, the /transfer endpoint, or need to handle transfer OTP verification.
development
Paystack Transfer Recipients API — create, list, fetch, update, and delete transfer recipients (beneficiaries) for payouts. Supports NUBAN (Nigeria), GHIPSS (Ghana), Mobile Money, BASA (South Africa), and authorization-based recipients. Use this skill whenever adding bank accounts or mobile wallets as payout destinations, creating transfer recipients before initiating transfers, managing beneficiary lists, or doing bulk recipient creation. Also use when you see references to recipient_code, RCP_ prefixed codes, or the /transferrecipient endpoint.