The PaymentKit Node.js SDK is designed to handle a wide range of billing scenarios. This section provides practical guides for implementing the most common payment workflows. Whether you're setting up simple one-time charges, managing recurring subscriptions, or building a sophisticated credit-based system, these guides will walk you through the key concepts and implementation steps.
Each guide focuses on a specific billing model, providing code examples and explanations to help you integrate payments quickly and effectively.
One-Time Payments
Learn how to create single charges for goods or services using Checkout Sessions, Payment Intents, or Payment Links.
Subscriptions
Implement recurring billing for your products and services, and learn how to manage the subscription lifecycle.
Credit-Based Billing
Set up usage metering, grant credits to customers, and track consumption for pay-as-you-go billing models.
Credit Top-Up
Configure credit currencies to allow customers to purchase credits and add them to their account balance.
Webhooks
Receive and handle asynchronous events from the PaymentKit API to automate backend processes and workflows.
After exploring these core concepts, you may want to dive deeper into the specific methods and parameters available. For a comprehensive overview of all SDK functionalities, please see the API Reference.