VerifySupportingDocument
POST/verify/supporting-documents
Experimental (beta): This feature is new and currently in beta.
Extract and validate a supporting document.
This endpoint accepts a document file (PDF, JPG, or PNG) and extracts personal identity information and address details.
Extracted addresses are returned both as a flat first_line_of_address/postcode pair and as structured
addresses_formatted (residence_number, building_name, street, city, postcode, region) — the same
name and shape as in the postcode search endpoint. Extraction produces at most one address;
addresses_formatted is empty when no address fields were extracted.
Request format: This endpoint accepts multipart/form-data with:
document- The document file (PDF, JPG, or PNG, max 10MB)sub_type(required) - The type of document (e.g.,BankStatement,UtilityBill). See "Supported document types" below.minimum_document_length(optional) - Minimum document age in months. Documents older than this will fail thedocument_age_validcheck.
Supported document types (sub_type):
Payslip- Employment payslipsPensionAnnualStatement- Pension statementsBenefitsLetter- Government benefits lettersHMPPSLetter- Probation service lettersNHSLetter- NHS correspondenceBankStatement- Bank account statementsCreditCardStatement- Credit card statementsMortgageStatement- Mortgage statementsUtilityBill- Gas, electricity, water billsMobilePhoneBill- Mobile phone bills
Validations performed:
required_fields_extracted- Key identity fields were successfully extracted. These are:first_name,last_name,first_line_of_addressandpostcodecategory_match- Document matches the specified sub_typedocument_age_valid- Document is within acceptable age range (only ifminimum_document_lengthprovided)document_complete_and_legible- Document is complete and readabletampering_signals_check- No signs of document tampering detected
Sandbox testing: In sandbox mode, the endpoint returns a mock "pass" response with sandbox values. No actual document processing occurs.
Request behaviour: This is a synchronous endpoint. Processing typically takes 5-15 seconds depending on document complexity.
This endpoint supports sandbox mode. See how sandbox mode works.
Request
Responses
- 200
- 400
- 401
- 403
- 422
- 503
Verification completed successfully
Bad request - invalid payload, missing fields, or unsupported file type
Unauthorised
Trial expired or feature not available on your plan
Unprocessable entity - empty file or file size exceeds limit
Service temporarily unavailable