Forte is in private beta. The endpoints and parameters below describe the integration shape; final names may change before public launch.
Forte ships as a single <script> tag you drop on any page where you want to take a payment. The script renders a styled button; clicking it opens a hosted checkout, runs the charge, and redirects to your success URL.
<!-- 1. Drop this snippet anywhere on your page -->
<script src="https://viridianlabs.co/embed.js"
data-merchant="acct_1A2B3C"
data-amount="4900"
data-currency="usd"
data-label="Buy now — $49"
data-success="https://yoursite.com/thanks"
data-cancel="https://yoursite.com/cancelled"></script>That’s it. The button styling matches your site colors via CSS custom properties, and Forte handles the rest: PCI-compliant card entry, Apple Pay / Google Pay, 3-D Secure, receipts, and webhook delivery.
Every parameter is set as a data-* attribute on the <script> tag.
Set your webhook endpoint in the merchant dashboard. Forte forwards the following events with HMAC-SHA256 signatures in the Forte-Signature header.
import crypto from 'node:crypto'
function verifyForteSignature(req) {
const signature = req.headers['forte-signature']
const expected = crypto
.createHmac('sha256', process.env.FORTE_WEBHOOK_SECRET)
.update(req.rawBody)
.digest('hex')
return crypto.timingSafeEqual(
Buffer.from(signature, 'hex'),
Buffer.from(expected, 'hex'),
)
}Forte retries failed webhooks with exponential backoff (1m, 5m, 30m, 2h, 12h) for up to 24 hours. After that the event is marked dead-letter and visible in the dashboard.
The REST API is the programmatic alternative to the embed for teams that need full control. All requests must include a Bearer token from https://forte.viridianlabs.co/dashboard/api-keys.
Forte ships with a full sandbox environment. Sandbox merchant IDs start with acct_test_ and use a separate base URL: https://sandbox.forte.viridianlabs.co. No charges are made and no payouts are issued.
Toggle a key as “Test mode” in the dashboard to receive test events without affecting your live account.
In sandbox mode the following card numbers behave deterministically:
Forte is a small team and we read every email. hello@viridianlabs.co for product questions, abuse@viridianlabs.co to report a violation, or open the dashboard chat once your account is active.
See also: Forte landing · Merchant Agreement · Acceptable Use.