Verify — Import Declaration Form

Extract and verify a Kenya Revenue Authority Import Declaration Form.

Endpoint

POSThttps://gateway.startappz.co.ke/api/v1/sandbox/verify-idf

Swap sandbox for live once you have production credentials.

Authentication

Send your credentials as headers:

HeaderValue
X-API-KeyYour public key
X-API-SecretYour secret (shown once at issue time)

Request parameters

ParameterTypeRequiredDescription
file File (multipart) required Image / PDF of the IDF.

Response parameters

All responses follow the standard envelope: { code, message, data }.

FieldTypeDescription
codeStringInternal status code (e.g. 200.001).
messageStringHuman-readable status / error description.
dataObjectEndpoint-specific payload (fields below).
data.extracted.idf_number String IDF reference number.
data.extracted.importer_name String Importer business name.
data.extracted.declared_value String Declared CIF value.
data.import_cert_validation.valid Boolean True when the IDF is found in the registry.

Sandbox masking

By default, sandbox responses mask PII (names, IDs, dates, phone numbers). You can grant unmasked consent per key from your dashboard.