
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
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
The npm package robuxpay receives a total of 1 weekly downloads. As such, robuxpay popularity was classified as not popular.
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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.