Use Remote Deposit Capture (API)
Learn how to use RDC (remote deposit capture) to convert paper checks into electronic payments via the API
Remote Deposit Capture (RDC) is a service that allows you to convert paper checks into electronic payments without physically depositing them at a bank. This guide explains how to implement RDC via the API.
Contact the Payabli support team to enable Remote Deposit Capture for your account.
The implementation process consists of two main API calls:
- Check image capture and OCR extraction
- Payment processing using the extracted check information
Before you begin, make sure you read Capturing in-person checks to understand the key concepts and requirements for Remote Deposit Capture (RDC).
Step 1: Process check images
First, send the check images to Payabli for processing using the /CheckCapture/CheckProcessing endpoint. You need to send the front and back images of the check in JPEG or PNG format, base64 encoded.
A successful response includes the extracted check information, including the OCR account and routing numbers, as well as the check amount.
If the check processing fails, the response includes error information to help you troubleshoot the issue. Some errors appear in the errors
array of 200 response, and validation errors are returned as a 400 response.
Step 2: Process payment
After successfully processing the check images, use the extracted information to complete the payment transaction.
Send a POST request to /MoneyIn/getpaid:
This request has some differences from the standard transaction, pay attention to the following fields:
A successful request returns a 200 response.
Implementation recommendations
When implementing RDC, consider the following recommendations, which can help create a smoother user experience and reduce errors.
Data validation
Before submitting to the API:
- Ensure check images are correctly encoded and within size limits
- Verify the check amount is in cents (integer value)
- Check that the required parameters are correctly formatted
Error handling strategies
When implementing error handling, consider the following scenarios and strategies:
Testing recommendations
When testing your RDC implementation, consider the following scenarios:
- Image quality testing: Test with varied image qualities and lighting conditions.
- Error handling: Test with intentionally poor images and various check types to verify error handling.
- End-to-end flow: Test the complete flow from image capture to payment processing.
- Integration testing: Verify proper integration with your existing systems.