Getting Started
Welcome to PayStream! This guide will help you make your first payout in minutes.
Prerequisites
- A PayStream account (sign up at paystream.fi)
- An API key from the dashboard
- Node.js 18+ (or your preferred HTTP client)
Quick Start
1. Get Your API Key
- Log in to the PayStream Dashboard
- Navigate to Settings → API Keys
- Click Create API Key
- Select scopes:
write:recipients,write:payments - Copy the key (you won't see it again!)
2. Create a Recipient
bash
curl -X POST https://api.paystream.fi/api/v1/recipients \
-H "Authorization: Bearer psk_test_xxx" \
-H "Content-Type: application/json" \
-d '{
"name": "John Driver",
"email": "john@example.com",
"externalId": "DRV001"
}'3. Add Payment Method
bash
curl -X POST https://api.paystream.fi/api/v1/recipients/rec_abc123/payment-methods \
-H "Authorization: Bearer psk_test_xxx" \
-H "Content-Type: application/json" \
-d '{
"type": "bank_account",
"routingNumber": "123456789",
"accountNumber": "4242424242",
"accountType": "checking",
"holderName": "John Driver"
}'4. Create a Payment
bash
curl -X POST https://api.paystream.fi/api/v1/payments \
-H "Authorization: Bearer psk_test_xxx" \
-H "Content-Type: application/json" \
-d '{
"recipientId": "rec_abc123",
"amount": 50000,
"currency": "usd",
"description": "Weekly payout"
}'5. Check Payment Status
bash
curl -X GET https://api.paystream.fi/api/v1/payments/pay_xyz789 \
-H "Authorization: Bearer psk_test_xxx"Next Steps
- Tenant Setup - Configure your tenant settings
- Onboarding - Complete self-service onboarding
- First Payout - Detailed payout walkthrough
- Auto-Funding - Configure automatic balance top-ups
- Payment Rails - Choose the right payment rail
- Webhooks - Set up real-time notifications