@montte/hyprpay/overview

Create, retrieve, update, and list HyprPay customers via the Montte SDK.

6|4|Updated Nov 1, 2025
One-click install
npx skills add https://github.com/Montte-erp/montte-nx --skill montte-hyprpay-overview
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: @montte/hyprpay/overview
Source: https://github.com/Montte-erp/montte-nx/tree/main/libraries/hyprpay/skills/hyprpay
Command: npx skills add https://github.com/Montte-erp/montte-nx --skill montte-hyprpay-overview

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill makes it easy to keep your application's user records synchronized with Montte by providing a simple SDK for creating, retrieving, updating, and listing HyprPay customers while ensuring idempotent lookups and clear error handling.

Core Features & Use Cases

  • Client Setup: Simple createHyprPayClient initialization with API key and optional baseUrl configuration for server-side integrations.
  • Customer Lifecycle: Create customers with externalId for idempotent lookups, retrieve by externalId, update customer fields, and list customers with pagination.
  • Error Handling & Plugins: Typed HyprPayError inspection for robust handling and a better-auth plugin to automatically create customers on signup without blocking authentication.
  • Use Case: On user signup, automatically provision a HyprPay customer using the better-auth plugin and then use customers.get/externalId to link payments and billing records.

Quick Start

Invoke the @montte/hyprpay client to create a customer with externalId set to your app user ID and then call customers.get to confirm the record.

Frequently Asked Questions about @montte/hyprpay/overview

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

FAQPage Schema
How do I sync customer records with Montte using an SDK?

To sync customer records with Montte, you use the @montte/hyprpay SDK to create, retrieve, update, and list HyprPay customers on the server side. It ensures idempotent lookups using an externalId mapped to your app user ID.

How do I automatically create a HyprPay customer on user signup?

You can automatically create a HyprPay customer on signup by integrating the optional better-auth plugin. This hooks into your authentication flow to provision customers without blocking the authentication process.

What is required to initialize the HyprPay client in a server-side application?

Initializing the HyprPay client requires configuring an API key and an optional baseUrl. You use the createHyprPayClient function to set up the server-side integration for managing your customer lifecycle.

How do I handle API errors when managing HyprPay customers?

To handle API errors when managing HyprPay customers, inspect the typed HyprPayError exceptions in your code. This allows your application to robustly handle failures during customer creation, retrieval, updates, or listing.

Can I list and paginate HyprPay customer records?

Yes, the HyprPay SDK supports listing customers with pagination. This allows your server-side application to systematically retrieve and sync large sets of customer records from Montte.