Integration Guides

PayKrypt TypeScript SDK: install, authenticate, create a Payment Intent

Install the TypeScript SDK, authenticate, and create a first Payment Intent from server code.

Published
2026-07-12

The TypeScript SDK path starts on the server. Store the secret key outside client code, create a Payment Intent, and redirect the customer to the hosted checkout URL returned by the API.

Use one idempotency key per logical checkout attempt and keep webhook verification in the backend where the signing secret is available.

Source citations

  • TypeScript SDK docs
  • Quickstart docs
  • Payment Intents API reference