Deposit Check OCR Scan
OCR Scan Check RESTful API documentation. This API allows you to perform optical character recognition (OCR) on scanned checks.
Authentication
To access this API, you need to provide an API key/token in the request headers.
API Endpoint
The cancel payment API endpoint is:
http://api-dev.accelerationcloud.com/api/v1/cores/money-movements/deposit/checks/scan
HTTP Method
Use the HTTP POST method to initiate a cancel payment request.
Request Headers
Include the following headers in your API request:
Authorization: Provide your API key/token for authentication.
Content-Type: Set this to application/json to indicate the request body format.
Request Parameters
***image***
: The scanned check image file to be processed.
Response Format
The response will be in JSON format and will include information about the cancellation request status.
Example response:
{
"status": "success",
"data": {
"text": "12345",
"confidence": 0.92
}
}
Error Handling
In case of errors, the response will include error information, such as error codes and messages. Refer to the Error Handling section in the Developer Portal for details on error codes and their meanings.
{
"status": "error",
"error_code": "400",
"message": "Invalid image format"
}
Sample Requests and Responses
Perform OCR Scan
Request
POST /ocr/scan
Host: api.example.com
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json
{
"image": "base64-encoded-image-data"
}
Response
{
"status": "success",
"data": {
"text": "12345",
"confidence": 0.92
}
}
Updated about 1 year ago