Get merchant analysis
curl --request GET \
--url https://api.anycheck.ai/bank-statements/{id}/merchant-analysis \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.anycheck.ai/bank-statements/{id}/merchant-analysis"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.anycheck.ai/bank-statements/{id}/merchant-analysis', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anycheck.ai/bank-statements/{id}/merchant-analysis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.anycheck.ai/bank-statements/{id}/merchant-analysis"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.anycheck.ai/bank-statements/{id}/merchant-analysis")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anycheck.ai/bank-statements/{id}/merchant-analysis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"merchant_analysis": [
{
"merchant_name": "ABC Company",
"total_transaction": 5,
"total_amount": 2500000,
"transactions": [
{
"account_number": "1234567890",
"page_no": 1,
"trx_date": "2023-01-15",
"trx_notes": "Transfer from ABC Company",
"trx_types": "CR",
"category_type": "Non-Recurring Miscellaneous Income",
"is_operational": false,
"merchant_name": "NINA NURSITA RAMADHAN",
"trx_mutation_db_number": 0,
"trx_mutation_cr_number": 200000,
"balance_number": 200000,
"confidence_detail": {
"page_no": 0,
"trx_date": 0,
"trx_notes": 0,
"trx_types": 0,
"category_type": 0,
"is_operational": 0,
"merchant_name": 0,
"trx_mutation_amount": 0,
"balance": 0,
"page_no_level": "LOW",
"trx_date_level": "LOW",
"trx_notes_level": "LOW",
"trx_types_level": "LOW",
"category_type_level": "LOW",
"is_operational_level": "LOW",
"merchant_name_level": "LOW",
"trx_mutation_amount_level": "LOW",
"balance_level": "LOW"
},
"mutation_amount_base_currency": 200000,
"balance_base_currency": 200000,
"clean_description": "Transfer In",
"is_operational_llm": false,
"is_operational_keyword": true,
"is_automatic_bank_transaction": false,
"is_circular_transaction": false,
"is_kiting_transaction": false,
"is_big_transaction": true,
"is_round_transaction": true,
"is_transfer_from_company_group": false,
"is_transfer_from_director": false,
"is_transfer_from_supplier": false,
"is_transfer_from_customer": false,
"is_pace_revenue": true,
"is_rm_revenue": true
}
]
}
],
"total": 123
}Bank Statement Analysis
Get merchant analysis
Retrieve merchant transaction analysis with grouping and statistics
GET
/
bank-statements
/
{id}
/
merchant-analysis
Get merchant analysis
curl --request GET \
--url https://api.anycheck.ai/bank-statements/{id}/merchant-analysis \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.anycheck.ai/bank-statements/{id}/merchant-analysis"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.anycheck.ai/bank-statements/{id}/merchant-analysis', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anycheck.ai/bank-statements/{id}/merchant-analysis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.anycheck.ai/bank-statements/{id}/merchant-analysis"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.anycheck.ai/bank-statements/{id}/merchant-analysis")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anycheck.ai/bank-statements/{id}/merchant-analysis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"merchant_analysis": [
{
"merchant_name": "ABC Company",
"total_transaction": 5,
"total_amount": 2500000,
"transactions": [
{
"account_number": "1234567890",
"page_no": 1,
"trx_date": "2023-01-15",
"trx_notes": "Transfer from ABC Company",
"trx_types": "CR",
"category_type": "Non-Recurring Miscellaneous Income",
"is_operational": false,
"merchant_name": "NINA NURSITA RAMADHAN",
"trx_mutation_db_number": 0,
"trx_mutation_cr_number": 200000,
"balance_number": 200000,
"confidence_detail": {
"page_no": 0,
"trx_date": 0,
"trx_notes": 0,
"trx_types": 0,
"category_type": 0,
"is_operational": 0,
"merchant_name": 0,
"trx_mutation_amount": 0,
"balance": 0,
"page_no_level": "LOW",
"trx_date_level": "LOW",
"trx_notes_level": "LOW",
"trx_types_level": "LOW",
"category_type_level": "LOW",
"is_operational_level": "LOW",
"merchant_name_level": "LOW",
"trx_mutation_amount_level": "LOW",
"balance_level": "LOW"
},
"mutation_amount_base_currency": 200000,
"balance_base_currency": 200000,
"clean_description": "Transfer In",
"is_operational_llm": false,
"is_operational_keyword": true,
"is_automatic_bank_transaction": false,
"is_circular_transaction": false,
"is_kiting_transaction": false,
"is_big_transaction": true,
"is_round_transaction": true,
"is_transfer_from_company_group": false,
"is_transfer_from_director": false,
"is_transfer_from_supplier": false,
"is_transfer_from_customer": false,
"is_pace_revenue": true,
"is_rm_revenue": true
}
]
}
],
"total": 123
}Authorizations
API key for service-to-service authentication
Path Parameters
Verification ID
Query Parameters
Number of records to skip for pagination
Required range:
x >= 0Number of records per page
Required range:
1 <= x <= 100Filter by transaction type (CR for credit, DB for debit)
Available options:
CR, DB Filter by account number (optional)
Was this page helpful?
⌘I