Sync Integration
Learn how to integrate Notch Pay Sync into your platform or marketplace
This guide will walk you through the process of integrating Notch Pay Sync into your platform or marketplace. Sync allows you to facilitate payments between your users, manage connected accounts, and automate payment splitting.
Overview
Integrating Notch Pay Sync involves several key steps:
- Setting up your platform account
- Creating and managing connected accounts
- Processing payments and handling fees
- Managing transfers to connected accounts
- Implementing webhooks for real-time updates
Prerequisites
Before you begin integrating Sync, make sure you have:
- A Notch Pay business account with Sync enabled
- Access to your Notch Pay API keys
- Completed the necessary compliance requirements
- Basic understanding of RESTful APIs
API Integration
Authentication
All API requests to Notch Pay Sync require authentication using your platform’s API key:
Creating Connected Accounts
To create a connected account for a seller or service provider on your platform:
Onboarding Connected Accounts
After creating a connected account, you need to onboard the account holder to collect their business and payment information:
Processing Payments with Automatic Splitting
To process a payment and automatically split the funds between your platform and a connected account:
Webhook Integration
Webhooks allow you to receive real-time notifications about events related to your connected accounts, payments, and transfers.
Setting Up Webhooks
To set up a webhook endpoint:
- Go to your Notch Pay dashboard
- Navigate to Settings > Webhooks
- Click Add Endpoint
- Enter your endpoint URL
- Select the events you want to receive
- Click Save
Handling Webhook Events
Here’s an example of how to handle webhook events in a Node.js application:
Important Webhook Events
Here are some important webhook events to monitor:
account.created
: A new connected account has been createdaccount.updated
: A connected account has been updatedaccount.application.deauthorized
: A connected account has been deauthorizedpayment.succeeded
: A payment has been successfully processedpayment.failed
: A payment has failedtransfer.created
: A new transfer has been createdtransfer.complete
: A transfer has been paidtransfer.failed
: A transfer has failed
Fee Management
Notch Pay Sync allows you to manage fees in several ways:
Fixed Fees
Set a fixed fee amount for each transaction:
Percentage Fees
Take a percentage of each transaction:
Combined Fees
Combine fixed and percentage fees:
Testing Your Integration
Before going live, test your Sync integration thoroughly in the sandbox environment:
- Use your test API keys for all API requests
- Create test connected accounts
- Process test payments with various payment methods
- Test different fee structures
- Create test transfers
- Verify webhook delivery and handling
Going Live
When you’re ready to go live with your Sync integration:
- Switch to your live API keys
- Update your webhook endpoints to production URLs
- Notify your sellers or service providers about the onboarding process
- Monitor your first few live transactions closely
- Set up monitoring and alerting for critical events
Seller Dashboard Access
One of the key benefits of Notch Pay Sync is that each connected account gets access to their own dedicated Notch Pay dashboard. This provides significant advantages for both your platform and your sellers.
Benefits for Sellers
When your sellers have access to their own Notch Pay dashboard, they can:
- Self-Service Account Management: Update their business information, banking details, and notification preferences without contacting your support team
- Transaction Visibility: View detailed transaction history, including payments, fees, and transfers
- Financial Reporting: Access financial reports and analytics to track their business performance
- Dispute Management: View and respond to payment disputes directly
- Verification Status: Monitor their verification status and complete any outstanding requirements
- Payment Settings: Configure their payment preferences and transfer schedules
Benefits for Your Platform
Providing sellers with dashboard access also benefits your platform:
- Reduced Support Burden: Sellers can handle many tasks themselves, reducing the need for your support team to intervene
- Increased Seller Satisfaction: Sellers appreciate the transparency and control over their finances
- Faster Onboarding: Sellers can complete verification steps independently
- Better Compliance: Sellers can stay up-to-date with compliance requirements
- Scalability: Your platform can onboard more sellers without proportionally increasing support resources
Generating Dashboard Links
To provide a seller with access to their dashboard:
Best Practices
Security
- Keep API Keys Secure: Never expose your API keys in client-side code
- Verify Webhook Signatures: Always verify webhook signatures to prevent fraud
- Implement Proper Authentication: Secure your platform’s endpoints with proper authentication
- Use HTTPS: Always use HTTPS for all API requests and webhook endpoints
User Experience
- Streamlined Onboarding: Make the onboarding process as simple as possible for your users
- Clear Fee Communication: Clearly communicate your fee structure to your users
- Transparent Payouts: Provide clear information about transfer schedules and amounts
- Responsive Support: Be prepared to assist users with onboarding and payment issues
- Dashboard Integration: Integrate dashboard access into your platform for a seamless experience
Technical Implementation
- Idempotent Requests: Use unique references for each payment to prevent duplicate charges
- Error Handling: Implement proper error handling for API requests and webhooks
- Logging: Keep detailed logs of all API requests and webhook events
- Monitoring: Set up monitoring for critical events and error rates
Troubleshooting
Common Issues
- Account Creation Failures: Ensure you’re providing all required information
- Onboarding Issues: Check that the redirect and refresh URLs are properly configured
- Payment Failures: Verify that the connected account is properly set up and verified
- Webhook Delivery Problems: Ensure your webhook endpoint is accessible and properly configured
Support
If you encounter issues with your Sync integration:
- Check the API Reference for detailed parameter documentation
- Contact our support team for assistance