
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
squad-gateway
Advanced tools
A simple and efficient Node.js wrapper for the SquadCo Payment Gateway API.
✅ Easy Integration – Simple API for handling payments
✅ TypeScript Support – Fully typed for better development experience
✅ Lightweight – No unnecessary dependencies
Using pnpm:
pnpm add squad-gateway
Using npm:
npm install squad-gateway
Using yarn:
yarn add squad-gateway
import SquadGateway from 'squad-gateway'
const squad = new SquadGateway('your-api-key')
const payment = await squad.initializePayment({
amount: 5000,
currency: 'NGN',
email: 'customer@example.com'
})
console.log(payment) // Response from SquadCo
const verification = await squad.verifyPayment('transaction-reference')
console.log(verification)
| Method | Description |
|---|---|
initializePayment(data) | Creates a new payment request |
verifyPayment(ref) | Verifies a completed transaction |
getTransaction(ref) | Fetches transaction details |
refundTransaction(ref) | Initiates a refund process |
More features coming soon! 🚀
Set your API key via environment variables:
export SQUAD_API_KEY='your-secret-api-key'
Or pass it as a parameter:
const squad = new SquadGateway('your-api-key')
git checkout -b feature-name)git commit -m "Added new feature")git push origin feature-name)This project is licensed under the MIT License.
FAQs
A Node.js wrapper for SquadCo payment gateway API.
We found that squad-gateway demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.