HsrcPay SDK
Get started quickly with payment, customer, and checkout integration using the HsrcPay SDK.
The SDK aims to expose the REST API through a surface that stays close to your application code. Conceptual guidance for payment orchestration, routing, and webhook discipline lives in Documentation; endpoint schemas are under API Reference.
Two layers
Business rules and lifecycle: documentation pages. Request/response fields: API Reference. SDK pages provide practical examples that bridge both.
Where should I start?
Quickstart
Your first payment with create + confirm in sandbox.
Installation
Package, env vars, and your first client.
Environments
Test and live key separation.
Pre-Prod Checklist
Checklist before going live.
Recommended order
Setup
installation, configuration, environments
Flows
payments, checkout-sessions, customers
Reliability
webhooks, errors-and-retries, security-and-compliance
Go live
pre-production-checklist, changelog-policy