AdvancedIntegrations

Integrations

Learn how to connect Protuno with external services, payment processors, and other tools via integrations and webhooks.

Overview

Protuno supports seamless integrations with payment gateways, accounting software, e-commerce platforms, and custom webhooks. You configure these connections through the Protuno dashboard at https://dashboard.example.com/integrations. This enables automated data sync, real-time payments, and custom event handling.

Enable integrations in your account settings first. Generate API keys from https://dashboard.example.com/settings/api.

Payment Gateway Setup

Set up payment processors like Stripe or PayPal to accept payments directly in Protuno.

Choose Provider

Select your gateway in the dashboard under Integrations > Payments.

Enter Credentials

Provide your {API_KEY} and secret from the provider's dashboard.

Test Connection

Run a test transaction to verify the setup.

Use these parameters for Stripe:

header
Stripe-Signaturestring
Required

Webhook signature header.

const stripe = require('stripe')('sk_test_YOUR_STRIPE_SECRET');
const paymentIntent = await stripe.paymentIntents.create({
  amount: 2000,
  currency: 'usd',
  metadata: { protuno_order_id: 'order_123' }
});

Accounting Software Sync

Connect Protuno to QuickBooks or Xero for automatic invoice and payment syncing.

Authorize via OAuth in the dashboard.

const QuickBooks = require('node-quickbooks');
const qbo = new QuickBooks(
  'clientId',
  'clientSecret',
  'accessToken',
  false,
  false,
  'realmId',
  false,
  false,
  'refreshToken'
);
await qbo.createInvoice(invoiceData);

Link Protuno with popular e-commerce tools for order fulfillment.

Custom Webhook Configuration

Set up webhooks to receive Protuno events like order.created or payment.failed.

// Dashboard: POST https://dashboard.example.com/webhooks
{
  "url": "https://your-webhook-url.com/webhook",
  "events": ["order.created", "payment.failed"],
  "secret": "whsec_YOUR_WEBHOOK_SECRET"
}

Verify incoming payloads:

const crypto = require('crypto');
const sig = req.headers['protuno-signature'];
const hmac = crypto.createHmac('sha256', 'YOUR_WEBHOOK_SECRET');
hmac.update(req.body);
const computedSig = 'protuno-signature=' + hmac.digest('hex');
if (sig !== computedSig) {
  throw new Error('Invalid signature');
}

Partner Ecosystem

Track integration status across partners.

Active
2

Stripe Payments

Full payment processing

QuickBooks Sync

Invoice automation

Beta
1

Square POS

In-store payments

Jan 15, 2025
Planned
1

Amazon Pay

Marketplace integration

Contact support@protuno.com for custom partner requests or API access.