Cost+Docs

SDKs & Libraries

Official Cost+ SDKs for integrating payments into your application

Official SDKs that simplify integrating Cost+ payments into your application. Each SDK handles order creation, HMAC signing, webhook verification, and more.

Available SDKs

LanguagePackageInstall
Node.js / TypeScriptnopayn-node-sdknpm install nopayn-node-sdk
Pythonnopayn-sdkpip install nopayn-sdk
PHPnopayn/sdkcomposer require nopayn/sdk
Java / Kotlinio.nopayn:nopayn-sdkGradle / Maven
C# / .NETNoPayndotnet add package NoPayn
Rubynopayngem install nopayn

What the SDKs Handle

  • Order creation — create payment orders via the Cost+ API
  • Payment URL generation — get HPP or direct payment URLs
  • HMAC-SHA256 signing — automatic signature generation and constant-time verification
  • Webhook verification — parse webhook payloads and verify order status via API
  • Refunds — issue full or partial refunds
  • Full type support — TypeScript types, Python type hints, C# records, Kotlin data classes

Custom Integration

If an SDK isn't available for your language, you can integrate directly using the API Reference. The API uses HTTP Basic authentication and standard REST conventions.

On this page