js-stronghold-sdk

Integrate Stronghold Pay's JS SDK and REST API v2 into web applications.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/padparadscho/skills --skill js-stronghold-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: js-stronghold-sdk
Source: https://github.com/padparadscho/skills/tree/main/skills/js-stronghold-sdk
Command: npx skills add https://github.com/padparadscho/skills --skill js-stronghold-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables developers to simplify the integration and management of Stronghold Pay's JavaScript SDK and REST API, consolidating frontend and backend payment flows in a single workflow.

Core Features & Use Cases

  • Frontend integration of the Pay.JS drop-in UI for linking payment sources, charges, and tips.
  • Backend control over customers, payment sources, charges, tips, and PayLinks via REST API v2.
  • Use cases include onboarding a customer, linking a bank account, creating charges, issuing PayLinks, and token management for secure frontend operations.

Quick Start

Initialize the Stronghold Pay SDK in your web app with a publishable key and environment, generate a customer token on the server, then link a payment source and create charges or PayLinks as needed.

Frequently Asked Questions about js-stronghold-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Stronghold Pay into a web application?

Integrate Stronghold Pay by initializing the JS SDK with a publishable key, generating a customer token on your server, then using the drop-in UI to link payment sources and create charges. This consolidates frontend and backend payment flows into a single workflow.

What is Stronghold Pay token management and how does it work?

Stronghold Pay token management generates secure customer tokens on the backend to authorize frontend operations. This allows the web app to safely link bank accounts, create charges, and process tips without exposing sensitive payment credentials.

Can I use Stronghold Pay to create charges and link bank accounts via REST API?

Yes, Stronghold Pay supports backend control over customers, payment sources, charges, tips, and PayLinks via REST API v2. You can onboard customers, link bank accounts, and process charges directly through the server-side API endpoints.

Does the Stronghold Pay JS SDK support both sandbox and live environments?

Yes, the Stronghold Pay JS SDK supports both sandbox and live environments. You specify the environment during initialization alongside your publishable key to route payment flows, token generation, and API calls to the correct processing environment.

What are PayLinks in Stronghold Pay and when should I use them?

PayLinks are hosted payment pages created via REST API v2 for processing charges. Use PayLinks when you need to send a payment link to a customer for checkout, rather than embedding the drop-in UI directly within your web application interface.