Skip to main content

Overview

This page contains full documentation for both JavaScript SDK tracks:
  • Latest SDK: @tender-cash/js-sdk
  • Legacy SDK (Old Version): @tender-cash/agent-sdk-react

Package

@tender-cash/js-sdk

Current JavaScript SDK package

Installation


Usage in React

Use TenderSdk as the primary component. TenderAgentSdk is still exported as a backward-compatible alias.
When referenceId and amount are provided, the modal auto-opens on component mount.

API Reference

Component Props (TenderAgentProps)

Applies to both TenderSdk and TenderAgentSdk.

Required Props

Optional Props


Ref Usage

Ref Methods (TenderRef)


Callback Data (onFinishResponse)


Features

  • Shadow DOM style isolation
  • Auto-open mode from props
  • Programmatic control with refs
  • TypeScript support
  • Works across desktop and mobile

Next Steps

API Reference

Explore the full API documentation

Webhooks

Set up webhook notifications

GitHub

View source repositories

Support

Contact our support team