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.