Analyze Document

Read a KYC document with AI and get an approval-rate signal before you submit it.

What it is

Analyze Document reads a PDF, JPG, or PNG with AI, checks it against the rules for its document type, and returns an approval_rate of low, medium, or high plus a short reason. Use it to pre-screen customer documents before submitting them for KYC, so you can prompt for a better file early instead of waiting for a rejection.

The analysis is a signal, not a decision. It does not approve or reject KYC; the official outcome still comes from the verification flow.

Prerequisites

Document types

Pass the type that matches the document. It selects the rule set used for the analysis.

TypeUse for
identity_documentNational ID, driver's license, or residence permit
passportPassport
selfieSelfie / liveness photo
proof_of_addressUtility bill, bank statement, or lease as proof of address
incorporation_documentCompany incorporation / registration document
proof_of_ownershipProof of company ownership
source_of_fundsSource of funds evidence
proof_of_incomeProof of income
bank_statementBank statement
financial_statementCompany financial statement
tax_returnTax return
invoiceInvoice
transaction_documentTransaction supporting document

Optional metadata

Pass metadata as a JSON string of values you already collected to cross-check them against the document. A clear mismatch caps the rating at low and the reason explains it.

FieldChecked against
full_nameName on the document
entity_nameCompany name on the document
date_of_birthDate of birth on the document
addressAddress on the document
id_numberID / document number
requested_per_transactionCapacity shown supports the per-transaction limit (USD)
requested_dailyCapacity shown supports the daily limit (USD)
requested_monthlyCapacity shown supports the monthly limit (USD)

Only send fields you have already collected. Name, entity, date of birth, address, and ID are matched against the document; requested limits are checked for sufficient capacity, with non-USD amounts converted at a reasonable rate.

Analyze a document

You can check the required fields in the BlindPay API Docs.

The file must be a PDF, JPG, or PNG of up to 5MB. The real format is detected from the file contents, so a mislabeled extension is rejected.

Remember: replace YOUR_SECRET_TOKEN with your API key and in_000000000000 with your instance ID.

Each tab shows the type with the metadata fields that fit it. The file should be a standard File format.

The response tells you how confident the analysis is and why:

JSON