PulsePay

One SDK. Every payment.

Payments for
people.
And agents.

Accept crypto at checkout, run subscriptions, and let agents pay for services. Connect it all with one SDK, from the first invoice to a verifiable receipt.

⊙ Scroll to dive in

001 / THE SDK

One component to a
live checkout.

📄 packages/sdk-react/examples/checkout-page.tsx FRONTEND CHECKOUT
$ pnpm add @pulsepay/sdk-react viem
import React, { useState } from "react";
import { PulsePayProvider, PulsePayCheckout, PulsePayReceipt } from "@pulsepay/sdk-react";
import type { PulsePayConfig } from "@pulsepay/sdk-core";

// 1. Configure PulsePay client for Whitechain Sepolia & Hedera Testnet
const config: PulsePayConfig = {
  whitechain: {
    rpcUrl: "https://rpc-testnet.whitechain.io",
    merchantHubAddress: "0x7894F749B28Aca8A79c6B18D3b584742f36fB4C5",
    settlementTokenAddress: "0x2e061806ebde9eeb7ce9466ad13fecfeab362b51" // USDT
  },
  hedera: {
    network: "testnet",
    merchantAccount: "0.0.5482910"
  }
};

export function CheckoutModal({ invoiceId }: { invoiceId: `0x${string}` }) {
  const [settledHash, setSettledHash] = useState<string | null>(null);

  return (
    <PulsePayProvider config={config}>
      <div className="pulsepay-checkout-shell">
        {!settledHash ? (
          <PulsePayCheckout
            invoiceId={invoiceId}
            enablePayWithAnyToken={false}
            onSuccess={(txHash) => {
              console.log("Invoice settled on Whitechain:", txHash);
              setSettledHash(txHash);
            }}
            onError={(err) => {
              console.error("Payment failed:", err.message);
            }}
          />
        ) : (
          <PulsePayReceipt
            invoiceId={invoiceId}
            txHash={settledHash}
            explorerUrl={`https://testnet.whitechain.io/tx/${settledHash}`}
          />
        )}
      </div>
    </PulsePayProvider>
  );
}
~/pulsepay $ pnpm add @pulsepay/sdk-react viem RUNTIME TESTED · ZERO DEPENDENCY LEAK
$ npm install @pulsepay/sdk-core viem

▸ Unified client for invoices, subscriptions, universal checkout quotes, and multi-chain settlement.

002 / THE PAYMENT PATH

Every payment
has a next step.
We built it in.

From the first invoice to the last line in your ledger. One workspace, ten connected pieces.

Universal checkout.

One checkout surface for your customers. Direct USDT settlement is live on Whitechain; cross-chain token bridging is powered by Chainlink CCIP 2.0.

The amount stays exact.

Price invoices in USDT base units. The contract checks the invoice and the amount before it records a payment.

Refunds have a reserve.

Keep a configurable share of settlement in reserve. Send a full or partial refund back to the original payer, with an onchain record.

Billing that keeps time.

Create a plan, let a subscriber authorize it, and charge eligible renewals. Every cycle has a unique renewal ID.

Cross-chain token bridging.

Chainlink CCIP 2.0 bridges tokens across Ethereum Sepolia and Hedera Testnet directly to recipient wallets with zero callback gas overhead.

A 402 is an invitation.

An agent discovers a service, receives a payment challenge and settles native HBAR. A verified receipt unlocks the saved response.

Policy before payment.

Tool and merchant allowlists, per-request limits and a daily transfer budget are evaluated before the agent spends.

Every call leaves a trail.

The worker journals its HCS audit message. If consensus submission fails, it retains the record and reconciles before retrying.

Your accountant gets a file.

Export confirmed activity with the shared CSV formatter: UTC time, asset, raw units, payer, recipient and explorer evidence.

React. Drop in. Settle.

Use PulsePayProvider, PulsePayCheckout and PulsePayReceipt from the workspace SDK. The widget reads the invoice and waits for settlement evidence.

003 / THE COST OF FRICTION

Less payment code.
More product.

SDK

Your app owns the experience. PulsePay handles invoice reads, token allowances, settlement checks and refunds, with tools for agents to pay for services.

Integration taskBuild yourselfWith PulsePay
01 Read the invoiceContract calls and status mappingAmount, customer and due date
02 Authorize tokensAllowance checks and approvalsApprove when allowance is insufficient
03 Confirm paymentSubmit, wait and decode logsVerify a matching settlement event
04 Handle refundsPayer checks and balance accountingFull or partial refund to the payer
05 Let agents payChallenge parsing and receipt verification402 tools with spend policy hooks

Direct checkout: USDT on Whitechain. Agent payments: Hedera. Wallet or agent signing is required.

004 / FROM MANY, ONE

Different inputs.
A clear settlement.

Tokens / Bridge on Chainlink CCIP USDT / Settle on Whitechain

Direct USDT settlement is live on Whitechain; cross-chain bridging across Ethereum Sepolia and Hedera Testnet is handled directly through Chainlink CCIP 2.0 Routers.

Read the bridge guide ↗

005 / INTEGRATION TOOLS

Inspect the rails.
Use the real integrations.

Agent Skill Installer / NPX
$ npx skills add https://github.com/lviffy/PulsePay --skill pulsepay
Target: Auto-detects active agent (.agents, .claude, .cursor)
Universal installer. Detects your coding tool and places the skill in the appropriate directory.

YOUR NEXT PAYMENT STARTS HERE

Make it settle.

Whitechain · Chainlink CCIP 2.0 · Hedera x402