
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Official RobuxPAY SDK for Node.js - Accept Robux payments in your applications
Official Node.js SDK for RobuxPAY - Accept Robux payments in your applications.
npm install robuxpay
import RobuxPAY from 'robuxpay';
// Initialize client
const robuxpay = new RobuxPAY({
apiKey: 'rpay_your_api_key_here'
});
// List products
const products = await robuxpay.products.list();
console.log(products);
// Create a payment
const payment = await robuxpay.payments.create({
productId: 'prod_123',
userId: '568128963'
});
console.log('Payment URL:', payment.paymentUrl);
// Verify a payment
const verified = await robuxpay.payments.verify('pay_abc123');
console.log('Payment status:', verified.status);
const robuxpay = new RobuxPAY({
apiKey: 'rpay_xxx', // Required: Your API key
baseUrl: 'https://...' // Optional: Custom API URL
});
const products = await robuxpay.products.list();
const product = await robuxpay.products.get('prod_123');
const payment = await robuxpay.payments.create({
productId: 'prod_123',
userId: '568128963',
metadata: { orderId: '12345' } // Optional
});
const payment = await robuxpay.payments.verify('pay_abc123');
const payments = await robuxpay.payments.list();
Verify webhook signatures to ensure requests are from RobuxPAY:
import express from 'express';
app.post('/webhook', express.raw({ type: 'application/json' }), (req, res) => {
const signature = req.headers['x-robuxpay-signature'];
const payload = req.body.toString();
const isValid = robuxpay.verifyWebhook(
payload,
signature,
'your_webhook_secret'
);
if (!isValid) {
return res.status(401).send('Invalid signature');
}
const event = JSON.parse(payload);
if (event.type === 'payment.completed') {
console.log('Payment completed:', event.data);
// Handle successful payment
}
res.send('OK');
});
This SDK is written in TypeScript and includes type definitions:
import RobuxPAY, { Product, Payment } from 'robuxpay';
const robuxpay = new RobuxPAY({ apiKey: 'rpay_xxx' });
const products: Product[] = await robuxpay.products.list();
const payment: Payment = await robuxpay.payments.verify('pay_123');
try {
const payment = await robuxpay.payments.create({
productId: 'prod_123',
userId: '568128963'
});
} catch (error) {
if (error.response) {
console.error('API Error:', error.response.data);
} else {
console.error('Network Error:', error.message);
}
}
MIT
FAQs
Official RobuxPAY SDK for Node.js - Accept Robux payments in your applications
We found that robuxpay demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.