CasPay SDK Demo

CasPay SDK HTML Demo

Configuration
Set your merchant credentials
Pay with Wallet Full Management
CasPay handles wallet connection, transfer & recording
Record Payment Tracking Only
Merchant handles payment, CasPay records & tracks analytics
â„šī¸ Tracking Mode: Merchant integrates Casper Wallet in their dApp, makes the payment, then records it here. You must use a real deploy hash, the API verifies it on-chain.
How to test (no mainnet cost):
  1. Choose Testnet in the header and connect Casper Wallet.
  2. Get free test CSPR from the Casper testnet faucet.
  3. Send CSPR to your merchant "Wallet Address" in Configuration. On-chain amount must be â‰Ĩ product price; enter the exact catalog price in Amount.
  4. Copy the transfer's deploy hash (cspr.live or wallet), paste below, then submit.
  5. If that hash was already used (e.g. after Pay with Wallet), use a new transfer.
Subscribe with Wallet Full Management
CasPay handles recurring subscription payments
Record Subscription Tracking Only
Merchant handles subscription, CasPay tracks renewals
â„šī¸ Tracking Mode: For recurring subscriptions managed by merchant. Real deploy hash required, verified on-chain.
How to test (testnet): Same as Record Payment, use the faucet, send â‰Ĩ plan price to the merchant wallet, enter the exact plan price, paste a new deploy hash (not already recorded).
Check Subscription Status Check
Verify status via API
API Response
No requests sent yet. Submit a form above to test the API.