Developer Documentation · Robinhood Chain

RobinPay Documentation

Integrate non-custodial crypto checkouts, recurring billing, invoices, and payouts on Robinhood Chain Testnet (Chain ID 46630) with zero database requirements.

Official Network Configuration

Active Testnet
Network Name

Robinhood Chain Testnet

Chain ID

46630 (0xb626 hex)

RPC Endpoint

https://rpc.testnet.chain.robinhood.com

Native Currency

ETH (18 Decimals)

Testnet USDC Contract

0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238 (6 Decimals)

Quickstart Integration

1

Install Dependencies

Install the official RobinPay TypeScript SDK and viem peer dependency:

npm install @robinpay/sdk viem
2

Generate a Signed Invoice Token

Create an invoice on your backend or via our REST API. No database required:

// POST https://robinpay.xyz/api/v1/invoices/create
const response = await fetch('https://robinpay.xyz/api/v1/invoices/create', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    merchant: '0x2ae25f1c0e6431bc7d93c26be79762e7e02c8ead',
    amount: '49.00',
    token: 'USDC',
    description: 'Pro Subscription',
    externalRef: 'ORD-2026-1049',
    expiresInMinutes: 1440,
  }),
});

const { token, url } = await response.json();
// Send 'url' directly to customer or open in modal
3

Listen to Webhooks or Verify On-Chain

When the buyer pays, verify the on-chain receipt instantly:

// POST /api/v1/checkout/verify
const verify = await fetch('https://robinpay.xyz/api/v1/checkout/verify', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ token: invoiceToken, txHash }),
});

const result = await verify.json();
if (result.status === 'PAID') {
  // Fulfill digital order safely
}