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:
| Header | Value |
|---|---|
X-API-Key | Your public key |
X-API-Secret | Your secret (shown once at issue time) |
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
file |
File (multipart) | required | Image / PDF of the IDF. |
Response parameters
All responses follow the standard envelope: { code, message, data }.
| Field | Type | Description |
|---|---|---|
code | String | Internal status code (e.g. 200.001). |
message | String | Human-readable status / error description. |
data | Object | Endpoint-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.