Payment Flow Overview
1
Initialize SDK
Set up the Rise SDK with authentication
2
Create Payment
Use SDK to create payment drafts with typed data
3
Execute Payment
SDK automatically handles signing and execution
4
Monitor Status
Track payment status and confirmations
Payment Types
Batch Payments
Process multiple payments in a single transaction for efficiency and cost savings.Individual Payments
Process single payments with immediate execution.SDK Installation
First, install the Rise SDK:Creating Payments
Step 1: Initialize the SDK
Step 2: Create and Execute Payment
The SDK provides two methods for creating payments:Method 1: Automatic Payment (Recommended)
The SDK must be initialized with a private key for automatic signing:Method 2: Manual Flow (Advanced)
For manual control over the signing process:Complete Payment Integration Example
Here’s a complete example using the Rise SDK:Payment Status Tracking
Monitor payment status using the SDK:Payment Timing Options
Rise supports two payment timing options:Option | Description | Use Case |
---|---|---|
pay_now: true | Payment executes immediately | Instant payroll, urgent payments |
pay_now: false | Payment intent (scheduled) | Future payroll, scheduled payments |
Error Handling
The SDK provides comprehensive error handling:Error Message | Description | Solution |
---|---|---|
insufficient balance | Not enough funds in source account | Check entity balance before creating payments |
invalid signature | TypedData signature verification failed | SDK handles signing automatically |
expired deadline | Payment deadline has passed | Create a new payment with updated deadline |
invalid recipient | Recipient address is not valid | Verify recipient addresses and permissions |
payment limit exceeded | Payment amount exceeds limits | Check payment limits for the entity |
Security Best Practices
Always verify payment details before execution. Double-check amounts, recipients, and payment descriptions.
- SDK Authentication: Use the SDK’s built-in authentication and signing
- Environment Variables: Store sensitive credentials securely
- Secondary Wallets: Use dedicated wallets for API operations
- Amount Validation: Validate payment amounts before submission
- Recipient Verification: Ensure recipients have valid Rise accounts
- Error Handling: Implement proper error handling for payment failures
Testing Payments
For testing, use the staging environment:Real-World Integration Example
Payroll System Integration
Next Steps
Authentication Guide
Learn how to authenticate with Rise using the SDK
Team Management
Manage teams and permissions for payment operations
Webhooks
Set up real-time payment notifications
Error Handling
Comprehensive error handling and troubleshooting
Need help? See the Payments page for detailed payment concepts or contact support at Hello@Riseworks.io