🦔HedgePayments Developer Portal

Build payment experiences with our powerful APIs

Get Started in 5 Minutes

1. Install the SDK

npm install @hedgepayments/sdk

2. Start Processing Payments

import HedgePayments from '@hedgepayments/sdk'

const hedge = new HedgePayments({
  apiKey: 'YOUR_API_KEY',
  sandbox: true // Use sandbox environment
})

// Create a wallet
const wallet = await hedge.wallets.create({
  userId: 'user_123',
  currency: 'USD'
})

// Process a payment
const payment = await hedge.transactions.create({
  amount: 50.00,
  currency: 'USD',
  method: 'card',
  paymentMethodId: 'pm_123',
  description: 'Order #12345'
})

console.log('Payment processed:', payment.id)

What You Can Build

Multi-currency wallets
P2P payments
Subscription billing
Marketplace payouts
Crypto payments
BNPL integrations

Test API Keys

pk_test_4242424242424242
sk_test_••••••••••••4242

Use test keys to explore the API without real transactions

Need Help?

Our team is here to help you integrate HedgePayments