payment-integration

Integrate SePay and Polar payment workflows with webhook verification.

3|2|Updated Dec 2, 2025
One-click install
npx skills add https://github.com/hotriluan/ai-command-center --skill payment-integration-hotriluan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: payment-integration
Source: https://github.com/hotriluan/ai-command-center/tree/main/payment-integration
Command: npx skills add https://github.com/hotriluan/ai-command-center --skill payment-integration-hotriluan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Integrating payment gateways and managing subscriptions can be complex, requiring careful handling of APIs, webhooks, and security best practices. This skill provides comprehensive guidance and scripts for integrating with popular payment platforms like Polar and Sepay, simplifying the process of setting up checkouts, products, subscriptions, and webhook verification.

Core Features & Use Cases

  • Polar Integration: Detailed references for Polar's API, SDK, checkouts, products, subscriptions, and webhook verification.
  • Sepay Integration: Guides for Sepay's API, SDK, QR codes, and webhook verification.
  • Webhook Verification: Scripts for securely verifying webhooks from payment providers, ensuring data integrity and preventing fraud.
  • Best Practices: Comprehensive guidelines for secure and efficient payment integration.
  • Use Case: A developer needs to add subscription billing to a new SaaS application using Polar. This skill can provide a Node.js script to help verify Polar webhooks, along with detailed references on setting up products, managing subscriptions, and implementing secure checkouts, significantly accelerating the payment integration process and reducing potential security risks.

Quick Start

Explain how to set up a new product and a subscription plan using Polar.

Frequently Asked Questions about payment-integration

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

FAQPage Schema
How do I integrate payment gateways like Polar and Sepay into my Node.js application?

Integrate payment gateways by connecting Polar (global) and Sepay (Vietnamese) APIs to your Node.js app. This Skill provides scripts for checkout flows, subscription management, webhook verification, and secure API authentication using keys and OAuth2, accelerating setup while reducing security risks.

How do I verify webhooks from payment providers securely?

Webhook verification ensures data integrity and prevents fraud from payment providers. This Skill includes scripts for verifying webhooks from both Polar and Sepay, implementing cryptographic validation to authenticate incoming payment events and maintain secure transactions.

Can I set up subscription billing and usage-based pricing with Polar?

Yes, Polar supports subscription plans and metered pricing models. This Skill covers setting up products, subscription tiers, and usage-based billing workflows in Polar, enabling recurring revenue and consumption-tracked pricing for SaaS applications.

What payment methods does Sepay support for Vietnamese and global customers?

Sepay supports QR code payments, bank transfers, and Vietnamese payment methods. This Skill provides guidance on integrating these payment types and order-based virtual accounts, enabling diverse payment options across Vietnamese and international markets.

Do I need to handle customer benefit delivery and licensing after payment processing?

Yes, automated benefit delivery and license provisioning follow successful payments. This Skill includes event-driven workflows for provisioning customer benefits and access rights post-payment, supporting self-service portals and automated customer workflows.

What authentication methods are required for integrating Polar and Sepay APIs?

Both Polar and Sepay require API key authentication and OAuth2 flows. This Skill covers secure credential management, API key configuration, and OAuth2 implementation across TypeScript, JavaScript, Python, PHP, Go, and framework-specific SDKs like Laravel and Next.js.