Payments API
The Payments API provides multiple funding options for deposits and withdrawals. Users can fund their accounts via bank transfers (ACH) through Aeropay or card payments through Checkout.com.Payment Methods
APIs
Aeropay API
Bank account linking and ACH transfers. Orchestrated Endpoints (Recommended):
Aeropay Integration Guide
Checkout API
Card payment processing:
Checkout Integration Guide
Funding API
Manage funding sources and transactions:
Funding Management
Typical Integration Flow
New User Onboarding
Deposit Flow
- Select funding source - User chooses linked bank/card
- Check limits - Validate amount against transaction limits
- Enter amount - Collect deposit amount
- Confirm - Process the deposit
- Track status - Monitor transaction completion
Withdrawal Flow
- Check requirements - Get withdrawal requirements from funding source
- Select destination - User chooses where to send funds
- Enter amount - Validate against available balance and requirements
- Confirm - Process the withdrawal
- Track status - Monitor transaction completion
Funding Source Types
TheFundingSourceType enum identifies the payment method:
Transaction States
Transaction Types
Best Practices
- Use orchestrated endpoints - For Aeropay, use
/v1/aeropay/initializeinstead of primitive endpoints - Check limits before transactions - Use the Aeropay methods or funding transaction requirements APIs
- Check withdrawal requirements - Always check withdrawal requirements before processing
- Handle all states - Implement UI for pending, success, and failure
- Implement webhooks - Don’t rely solely on polling for status updates
- Validate amounts client-side - Reduce failed API calls
- Store payment method IDs - Cache linked payment methods for faster checkout