Bank Cheque OCR — Extract Account & IFSC
Upload a bank cheque image and extract account number, IFSC code, MICR code, bank name, and branch details automatically.
curl -X POST "https://production.deepvue.tech/v1/documents/extraction/ind_bank_cheque" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"document1": "example_string"
}'
import requests
import json
url = "https://production.deepvue.tech/v1/documents/extraction/ind_bank_cheque"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)",
"x-api-key": "YOUR_API_KEY"
}
data = {
"document1": "example_string"
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
const response = await fetch("https://production.deepvue.tech/v1/documents/extraction/ind_bank_cheque", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)",
"x-api-key": "YOUR_API_KEY"
},
body: JSON.stringify({
"document1": "example_string"
})
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
"bytes"
"encoding/json"
)
func main() {
data := []byte(`{
"document1": "example_string"
}`)
req, err := http.NewRequest("POST", "https://production.deepvue.tech/v1/documents/extraction/ind_bank_cheque", bytes.NewBuffer(data))
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN (JWT)")
req.Header.Set("x-api-key", "YOUR_API_KEY")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://production.deepvue.tech/v1/documents/extraction/ind_bank_cheque')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN (JWT)'
request['x-api-key'] = 'YOUR_API_KEY'
request.body = '{
"document1": "example_string"
}'
response = http.request(request)
puts response.body
{
"code": 200,
"transaction_id": "string",
"message": "Document processed successfuly",
"data": {
"account_name": "string",
"account_no": "string",
"bank_address": "string",
"bank_name": "string",
"date_of_issue": "string",
"ifsc_code": "string",
"is_scanned": true,
"micr_cheque_number": "string",
"micr_code": "string"
}
}
{
"detail": "Inactive client_id"
}
{
"detail": "Not authenticated"
}
{
"detail": "Not a valid token"
}
{
"transaction_id": "string",
"code": 422,
"message": "Empty document. Valid base64 required."
}
{
"detail": "Internal Server Error"
}
/v1/documents/extraction/ind_bank_cheque
ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
The media type of the request body
This body parameter should contain the document (such as an image of a bank cheque) that needs to be processed and extracted by the API. The content of the document should be in a format that the API can interpret.
Request Preview
Response
Response will appear here after sending the request
Authentication
Bearer token (JWT). ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
API Key for authentication. The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Body
This body parameter should contain the document (such as an image of a bank cheque) that needs to be processed and extracted by the API. The content of the document should be in a format that the API can interpret.
Responses
Overview
The Bank Cheque OCR API streamlines the extraction of banking information from cheque images. Manually typing in or verifying bank details like the account number, IFSC, and account holder name is slow and cumbersome. This API enables rapid digitization of bank cheques by processing base64-encoded document images, extracting key banking details without requiring manual data entry.
The API returns the following information upon successful processing: account holder name, account number, IFSC code, MICR code, cheque number, bank name and address, issue date, and scanning status indicator.
Last updated 4 weeks ago
Built with Documentation.AI