On this page
- How it works
- Before you start
- 1. Get a token
- 2. Send requests
- 2b. Send a file
- Search documents
- 3. Read a status
- 4. Read results
- Outcome messages
- Check the signature
- Confirm a message
- Retries
- Pull outcomes
- Status messages
- Daily reconciliation
- 5. Get the signed PDF
- Bank status codes
- Errors and retries
- Limits and time limits
- Security and audit
- Sample client
- Test scenarios
- Go-live checklist
- Not in this version
- Get help
Integration guide for bank engineers
Connect your bank systems to FVS
FVS (Field Verification Suite) checks customer addresses and companies for the bank. This guide tells your engineers how to send verification requests to FVS by API, how to read the results and the signed reports, and how to get outcome messages.
- Style
- REST, JSON, HTTPS
- Sign-in
- OAuth 2.0 client credentials
- Token life
- 900 s (15 min)
- Items per call
- 1 to 500
- Body size
- 2 MB max
- Results
- Cursor feed 1 to 200 a page
- Outcomes
- Webhook and pull signed with HMAC-SHA256
How it works
Your systems call FVS to send requests and to read results. FVS also posts each outcome to your webhook. FVS keeps the same message on a pull route, so you can read it there too.
- Get a token. Send your client ID and secret to
/token. You get a bearer token that works for 900 seconds. - Send requests. Post 1 to 500 items to
/requests. FVS answers each item withaccepted,rejectedorexcluded. For a corporate search, also send its file. - FVS does the work. FVS assigns each task. A field agent visits. Bank or vendor staff check the visit and sign off. FVS makes a signed PDF report.
- Get the outcome. FVS posts a signed outcome message to your webhook. It tells you if you can lift the account restriction (PND). Your webhook answers
2xxto confirm it. You can also read it from/outcomes. - Read results. Poll
/resultswith your cursor. Each finished request gives a result. - Get the PDF. Download the signed report for each result that has one.
You can also read the status of one request at any time with GET /requests/{bank_request_id}.
Before you start
The FVS team sets up one API client for each of your systems in each environment. A Super Admin does this in the FVS portal.
You get from FVS
- The base URL for each environment. This guide writes it as
{BASE_URL}. - A client ID. It starts with
fvs_ci_. - A client secret. It starts with
fvs_cs_. FVS shows it one time only. - The list of unit codes, the request types each unit can use, and the visit purposes.
- The OpenAPI 3.0.3 file
integration.yaml. - The webhook secret, if you use a webhook. FVS shows it one time only.
FVS needs from you
- The IP ranges that your calls come from, in CIDR form. You can give up to 50.
- Your status code for each outcome. You can give a different code for each request type.
- The request types you need now.
- The account classes and account number prefixes that need no check.
- Your webhook address, if you want FVS to post outcomes. It must use
https. Bank IT and FVS IT put its host on the allow-list first. - If you want status messages too.
- Optional: the SHA-256 fingerprints of your client certificates, up to 5.
- A technical contact for each environment.
Store the client secret in your vault. Do not put it in code, tickets or logs. FVS keeps only a hash of it and cannot show it again. If you lose it, ask FVS to rotate it.
Each environment has its own clients. A client ID from one environment does not work in another.
Get a token
/integration/v1/tokenHTTP BasicSend your client ID and secret with HTTP Basic. Send grant_type as a form field.
curl -X POST "{BASE_URL}/integration/v1/token" \
-u "$FVS_CLIENT_ID:$FVS_CLIENT_SECRET" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials"{
"access_token": "q8Xn3vTqf0Zp1sYc7rWb2LmK9dHa4UeJ6iGo5tNy3Ex",
"token_type": "Bearer",
"expires_in": 900
}Then send the token on every other call:
Authorization: Bearer q8Xn3vTqf0Zp1sYc7rWb2LmK9dHa4UeJ6iGo5tNy3ExRules
- Keep the token in memory and use it for all calls. Get a new token about 60 seconds before
expires_inends. - There is no refresh token. To get a new token, send your credentials again.
- You can call
/token10 times a minute for each client. The next call gets429withRetry-After: 30. - You can hold more than one token at a time. Each token works until it expires.
- The token is an opaque string. It is not a JWT. Do not try to read it.
- A token stops early when FVS disables the client or rotates its secret, or when the call comes from an IP address outside the allow-list.
- FVS reads credentials only from the
Authorizationheader. It does not read them from the body.
Errors
| Status | Code | Cause |
|---|---|---|
| 400 | unsupported_grant_type | grant_type is missing, is not client_credentials, or was sent as JSON. |
| 401 | invalid_client | Wrong or unknown client ID or secret, a disabled client, or an IP address outside the allow-list. The answer has WWW-Authenticate: Basic realm="fvs-integration". |
| 429 | rate_limited | More than 10 token calls in one minute for this client. |
For security, every cause of 401 invalid_client gives the same answer. FVS logs the real cause. Ask the FVS team to look it up.
Send verification requests
/integration/v1/requestsBearer tokenSend 1 to 500 items in one call. Use the same route for one item or a batch. Set Content-Type: application/json. Send a new Idempotency-Key with each batch (see errors and retries).
Authorization: Bearer q8Xn3vTqf0Zp1sYc7rWb2LmK9dHa4UeJ6iGo5tNy3Ex
Content-Type: application/json
Idempotency-Key: batch-2026-11-21-0001{
"items": [
{
"bank_request_id": "BR-2026-000184",
"request_type": "T1",
"unit_code": "IKJ-01",
"purpose": "account_opening",
"reference": "AO/2026/0184",
"priority": "standard",
"customer_name": "Chidinma Obi",
"customer_phone": "+2348030000000",
"account_number": "0000000001",
"bvn": null,
"address": "12 Sample Close, Ikeja",
"state": "Lagos",
"lga": "Ikeja",
"city": "Ikeja",
"requesting_officer_name": "Bola Ade",
"requesting_officer_staff_id": "SB00001"
},
{
"bank_request_id": "BR-2026-000185",
"request_type": "T1",
"unit_code": "IKJ-01",
"purpose": "account_opening",
"reference": "AO/2026/0185",
"customer_name": "Musa Bello",
"account_number": "000000002",
"address": "4 Sample Street, Ikeja",
"state": "Lagos",
"lga": "Ikeja",
"requesting_officer_name": "Bola Ade",
"requesting_officer_staff_id": "SB00001"
},
{
"bank_request_id": "AO-2026-000123",
"request_type": "T2",
"unit_code": "IKJ",
"reference": "SB/IKJ/0042",
"customer_name": "Adeola Foods Ltd",
"company_rc_number": "RC 123456",
"company_type": "private_limited",
"account_number": "0123456789",
"account_class": "CA-CORP",
"risk_rating": "medium",
"address": "12 Allen Avenue",
"state": "Lagos",
"lga": "Ikeja",
"requesting_officer_name": "Amina Yusuf",
"requesting_officer_staff_id": "SB-10422"
}
]
}{
"items": [
{
"bank_request_id": "BR-2026-000184",
"result": "accepted",
"task_id": "6f1c2d3e-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
"reference": "AO/2026/0184",
"status_code": "RECEIVED"
},
{
"bank_request_id": "BR-2026-000185",
"result": "rejected",
"status_code": "REJECTED",
"errors": [
{
"field": "account_number",
"code": "digits_10_required",
"message": "Account number must be 10 digits."
}
]
},
{
"bank_request_id": "AO-2026-000123",
"result": "accepted",
"task_id": "0193b49f-11aa-7c00-8a55-0d6f3b2e9c77",
"reference": "SB/IKJ/0042",
"status_code": "RECEIVED"
}
]
}The third item is a corporate search (T2). It waits for its file. See send a file with a request. All sample values in this guide are made up.
Item fields
| Field | Need | Rule |
|---|---|---|
| bank_request_id | required | Your own ID. 1 to 64 of A–Z a–z 0–9 _ -. Unique for each client. Case-sensitive. |
| request_type | required | T1, T2, T3 or T4. See request types. The old names address (read as T1) and corporate (read as T2) still work. FVS refuses other. |
| unit_code | required | Code of an active FVS unit (the requesting branch). The unit must allow the request type. For a visit, the unit can set the visit form. |
| purpose | optional | An active purpose, by its key or its label, for example account_opening, loan, address_confirmation. Empty means the default of the request type: account_opening for T1 and T2, loan for T3 and T4. FVS must have SLA hours for it. |
| reference | required | 1 to 50 of letters, digits and / _ . -. Unique within the unit. |
| priority | optional | low, standard, high or urgent. Empty means standard. |
| customer_name | required | 2 to 150 characters. For a corporate search, send the company name. |
| customer_phone | optional | A Nigerian number: 11 digits that start with 0, or 13 digits that start with 234. A +, spaces, hyphens and brackets are allowed. |
| account_number | required | 10 digits. FVS removes spaces and hyphens first. |
| bvn | optional | 11 digits. |
| address | required | 5 to 300 characters. |
| state | required | Not empty. |
| lga | required | Not empty. Local government area. |
| city | optional | Free text. |
| requesting_officer_name | required | 2 to 100 characters. |
| requesting_officer_staff_id | required | 1 to 30 of letters, digits and -. |
| risk_rating | optional | low, medium or high. Empty means not rated. FVS can give a high request a higher priority and a special form. |
| account_class | optional | Your account class, 1 to 40 characters. FVS uses it to find accounts that need no check. |
| reverification | optional | true or false. Empty means false. Send true to ask for a new check on a customer that FVS checked before. |
| company_rc_number | optional | The company number: RC, BN, IT, LLP or LP, then 1 to 8 digits, for example RC 123456. FVS stores it in upper case with one space. Kept on T2 and T4 only. |
| company_type | optional | private_limited, public_limited, unlimited, limited_by_guarantee, business_name, incorporated_trustees, llp, lp or other. Kept on T2 and T4 only. |
FVS checks company_rc_number and company_type on every type. On T1 and T3 it then drops them with no error.
The cost type comes from the request type. You cannot set it. You cannot set the agent, vendor, deadline or fees. FVS sets them.
Request types
| Type | Work | For | Default purpose | Cost type |
|---|---|---|---|---|
| T1 | Address visit | Account opening | account_opening | Field visit |
| T2 | Corporate search | Account opening | account_opening | Corporate search |
| T3 | Address visit | Credit, existing account | loan | Field visit |
| T4 | Corporate search | Credit, existing account | loan | Corporate search |
A field agent does an address visit. A solicitor firm does a corporate search. Each unit has a list of the types it can ask for.
Answer fields
| Field | Meaning |
|---|---|
| bank_request_id | Your ID, as sent. |
| result | accepted, rejected or excluded. excluded means the account needs no check. See excluded accounts. |
| task_id | The FVS task ID (UUID). Only on accepted items. Keep it. You need it for the PDF. |
| reference | Your reference. Only on accepted items. |
| status_code | Your code for received (accepted), rejected or excluded. See bank status codes. |
| existing | true when you sent this ID before. Not present otherwise. |
| errors | A list of {field, code, message}. Only on rejected items. |
An excluded item has no task, so it has no task_id, no reference and no errors.
Item error codes
| Code | Field | Meaning |
|---|---|---|
| bank_request_id_invalid | bank_request_id | Use 1 to 64 letters, digits, _ or -. |
| request_type_invalid | request_type | Pick T1, T2, T3 or T4. The type is missing, unknown or other. |
| request_type_not_allowed | request_type | This unit cannot ask for this request type, or FVS turned the type off. |
| risk_rating_invalid | risk_rating | Pick low, medium or high. |
| company_rc_invalid | company_rc_number | Enter a number like RC 123456. |
| company_type_invalid | company_type | Pick a company type from the list. |
| required | any required field | The field is missing or empty. |
| too_short, too_long | text fields | The text is outside the length rule. |
| reference_invalid | reference | Use letters, digits and / _ . - only. |
| reference_taken | reference | This reference already exists in this unit. |
| staff_id_invalid | requesting_officer_staff_id | Use letters, digits and - only. |
| digits_10_required | account_number | The account number must be 10 digits. |
| digits_11_required | bvn | The BVN must be 11 digits. |
| id_required | account_number | No account number and no BVN. |
| phone_invalid | customer_phone | Not a Nigerian phone number. |
| priority_invalid | priority | Not in the priority list. |
| purpose_unknown | purpose | Not an active purpose. |
| sla_not_configured | purpose | FVS has no SLA hours for this purpose and priority. Tell the FVS team. |
| unit_unknown | unit_code | No unit has this code. |
| unit_inactive | unit_code | The unit exists but is inactive. |
Show code to your logic and message to people. The message text can change.
How FVS handles a call
- FVS checks and saves each item in turn. The answer has one result for each item, in the order you sent them.
- A rejected item does not stop the other items.
- If you send an accepted
bank_request_idagain, FVS creates nothing. It sends back the first answer withexisting: trueand the sametask_id. - FVS does not save a rejected item. Correct it and send it again with the same ID.
- An unknown field makes the whole call fail with
400 invalid_body. Send only the fields in the table. - FVS checks each accepted task against earlier tasks. A possible duplicate is still accepted. It waits for a bank supervisor to check it before FVS assigns it. When you send
reverification: true, FVS closes the duplicate flag at once with the reason "Re-verification requested." and the task does not wait. - The FVS team keeps a list of account classes and account number prefixes that need no check, for example internal accounts. When
account_classis in the list, or the account number starts with a listed prefix, FVS makes no task. The item comes backexcluded. This is not an error. Do not send it again. - If the state or LGA name is not in the FVS place list, FVS still accepts the item.
If a call fails with a network error, a time-out, 500 or 503, send the same batch again with the same Idempotency-Key and the same bank_request_id values. FVS may have saved some items before the failure. Those items come back with existing: true. FVS never makes two tasks for one ID.
A call can run for up to 2 minutes. Send 100 items or fewer in each call. Short calls finish faster and are cheaper to retry.
In a replay answer (existing: true), status_code is always your received code, even if the work is done. To see the current state, read the status or the results feed.
Send a file with a request
/integration/v1/requests/{bank_request_id}/filesBearer tokenA corporate search needs the bank's search request file. Send it after FVS accepts the request. Send one file in each call. The body is the file itself, not JSON.
curl -X POST "{BASE_URL}/integration/v1/requests/AO-2026-000123/files" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/pdf" \
-H "X-File-Name: search-request.pdf" \
--data-binary "@search-request.pdf"{
"file_id": "0193a1b2-c3d4-7e5f-8a6b-7c8d9e0f1a2b",
"sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
}Rules
- Set
Content-Typetoapplication/pdf,image/jpegorimage/png. FVS reads the first bytes of the file. They must match theContent-Type. - Set
X-File-Nameto the file name, 1 to 120 characters. FVS keeps it with the file and shows it to the staff who do the work. - A file can be up to 10 MB. A request can have up to 5 files.
- FVS checks each file for malware before it keeps it.
- The answer is
201withfile_idandsha256, the hex SHA-256 of the file. If you send the same bytes again, FVS keeps no second copy. It answers200with the firstfile_id. So a retry is safe. - FVS takes files until the work goes for sign-off: while the status is
backlog,todoorverification_started. After that, the answer is409 request_closed. - You can send a file for any request type. Only a corporate search waits for it.
FVS does not give a T2 or T4 request to a solicitor firm until it has its first file. The first file starts the assignment. If no file comes within 24 hours (a setting), FVS tells its Super Admins.
Errors
| Status | Code | Cause |
|---|---|---|
| 404 | not_found | This client has no accepted request with this bank_request_id. A rejected or excluded item has no request. |
| 409 | request_closed | This request takes no more files. |
| 409 | request_file_limit | This request has 5 files already. |
| 413 | payload_too_large | The file is over 10 MB. |
| 415 | request_file_type | Send a PDF, JPEG or PNG file. The file is another type, or it does not match its Content-Type. |
| 422 | validation_failed | X-File-Name is missing or too long. errors has the field file_name. |
| 422 | file_infected | This file did not pass the malware check. Do not send it again. |
| 503 | scan_unavailable | The malware check is not available. Try later. |
This route needs no Idempotency-Key. The file bytes are the key.
Read the documents of a corporate search
/integration/v1/results/{task_id}/documentsBearer token/integration/v1/results/{task_id}/documents/{document_id}Bearer tokenA solicitor firm attaches the registry documents to a corporate search. The first route lists them. The second route gives one file, as it was stored.
curl "{BASE_URL}/integration/v1/results/6f1c2d3e-4a5b-4c6d-8e7f-9a0b1c2d3e4f/documents" \
-H "Authorization: Bearer $TOKEN"{
"items": [
{
"document_id": "0193a1b2-c3d4-7e5f-8a6b-7c8d9e0f1a2b",
"kind": "status_report",
"file_name": "status-report.pdf",
"content_type": "application/pdf",
"bytes": 248311,
"sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
}
]
}Item fields
| Field | Meaning |
|---|---|
| document_id | The document ID. Use it in the second route. |
| kind | status_report, certificate, directors_particulars, share_capital, control_register, annual_return or other. |
| file_name | The file name the firm gave. |
| content_type | application/pdf, image/jpeg or image/png. |
| bytes | The file size in bytes. |
| sha256 | The hex SHA-256 of the file. |
- Check each file against its
sha256. 409 search_not_signedmeans the firm has not signed off yet. Try again later.404 not_foundmeans the task is a visit request, or this client did not send it. A document that is not in the signed search also gives404.- FVS logs each fetch.
Read the status of one request
/integration/v1/requests/{bank_request_id}Bearer tokencurl "{BASE_URL}/integration/v1/requests/BR-2026-000184" \
-H "Authorization: Bearer $TOKEN"{
"bank_request_id": "BR-2026-000184",
"task_id": "6f1c2d3e-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
"reference": "AO/2026/0184",
"status": "verification_started",
"status_code": "RECEIVED",
"updated_at": "2026-11-02T09:15:00Z"
}| status | Meaning |
|---|---|
| backlog | Received. Waiting for a vendor or an agent. |
| todo | Assigned to a field agent. |
| verification_started | The agent started the visit. |
| vendor_review | The visit is in. The vendor checks it and signs off. |
| verification_uploaded | The visit is in. Bank staff check it and sign off. |
| rejected_by_agent | The agent could not do the visit. FVS staff assign it again. |
| completed | Signed off. A result is in the feed. |
| rejected_by_branch | The branch sent a completed result back. FVS does the visit again. |
| cancelled | FVS staff cancelled the request. A result is in the feed. |
status_codeshows yourreceivedcode until the request iscompletedorcancelled. Usestatusto show progress.- For a completed request,
status_codeis the code of the newest result. - An ID that this client did not send gives
404 not_found. So does a rejected or excluded item, because it has no task. - Use this route for single lookups, for example on a support screen. Use the results feed to collect finished work.
Read finished results
/integration/v1/results?after={seq}&limit={n}Bearer token| Query | Rule | Default |
|---|---|---|
| after | A whole number, 0 or more. Send the next_after value from your last page. | 0 |
| limit | 1 to 200. | 100 |
curl "{BASE_URL}/integration/v1/results?after=41&limit=200" \
-H "Authorization: Bearer $TOKEN"{
"items": [
{
"seq": 42,
"bank_request_id": "BR-2026-000184",
"task_id": "6f1c2d3e-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
"reference": "AO/2026/0184",
"outcome": "verified",
"status_code": "VERIFIED",
"finished_at": "2026-11-02T09:15:00Z",
"approved_by": "Tunde Bello",
"vendor_name": "Sample Law Partners",
"report_version": 1,
"pdf_url": "/integration/v1/results/6f1c2d3e-4a5b-4c6d-8e7f-9a0b1c2d3e4f/pdf"
}
],
"next_after": 42
}Result fields
| Field | Meaning |
|---|---|
| seq | Position in the feed. It always goes up. |
| bank_request_id | Your ID. |
| task_id | The FVS task ID. |
| reference | Your reference. |
| outcome | verified, not_verified, undetermined or cancelled. |
| status_code | Your code for this outcome, as it was when FVS wrote the result. |
| finished_at | When the task was completed or cancelled (RFC 3339 date-time). |
| approved_by | Name of the person who signed off. null for a cancelled task. |
| vendor_name | The vendor that did the visit. null when a bank agent did it. |
| report_version | The report version. null when there is no report. |
| pdf_url | Path to the signed PDF. null when report_version is null. |
Outcomes
Each visit form has one yes/no outcome question, for example "Residence confirmed?". Its answer sets the outcome. A corporate search has no such question. The registry answer sets its outcome (see below).
| outcome | When | Default code |
|---|---|---|
| verified | The outcome answer is Yes. | VERIFIED |
| not_verified | The outcome answer is No. | NOT_VERIFIED |
| undetermined | The agent chose "Could not determine", or the form has no outcome question. | UNDETERMINED |
| cancelled | FVS cancelled the task. | CANCELLED |
A corporate search (T2 or T4) gives:
verified: the company was found and is active.not_verified: the company was not found. Or it is inactive, struck off, dissolved or in liquidation.undetermined: the firm could not search, or the company status is unknown.
How to read the feed
- On the first run, use
after=0. - Call
/resultswithafterset to your stored cursor andlimit=200. - Save every item. Upsert by
bank_request_id. Keep the item with the highestseq. - Store
next_afteras your new cursor. Do this only after step 3 is saved. - If the page was full, call again at once. If not, you have read everything. Poll again later. Our advice: every 1 to 5 minutes.
- FVS gives a result its
seqonly after the result is saved. A cursor that you move withnext_afternever skips a result. - All clients share one
seqseries. Your values will have gaps. Never computeafter + 1. Usenext_after. - An empty page gives
next_afterequal to yourafter. - To read the feed again from the start, use
after=0.
This happens in two cases. First, the requesting branch can send a completed result back within the send-back window (30 days by default). FVS does the visit again and writes a new result. Second, an FVS Super Admin can reopen a cancelled task. When FVS completes it, the feed gets a new result. In both cases, the result with the highest seq is the current one.
Outcome messages
When a task ends, FVS writes one outcome message. FVS posts it to your webhook. FVS also keeps it on the pull route. Both give the same message_id.
The message gives the outcome. It also tells you if you can lift the account restriction (PND). Your systems lift the restriction. FVS never asks you to place a restriction.
{
"message_id": "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
"event": "outcome",
"outcome_no": 1,
"revision": 1,
"sent_at": "2026-11-28T09:15:00Z",
"attempt": 1,
"bank_request_id": "BR-2026-000184",
"reference": "AO/2026/0184",
"request_type": "T1",
"status": "completed",
"self_approved": false,
"outcome": "verified",
"status_code": "VERIFIED",
"pnd": { "class": "PND-ADDR", "release": true, "hold_reason": null },
"open_flags": [],
"finished_at": "2026-11-28T09:10:00Z",
"report": {
"version": 1,
"verification_code": "K7Q2-9XMB",
"ready": true,
"pdf_url": "/integration/v1/results/6f1c2d3e-4a5b-4c6d-8e7f-9a0b1c2d3e4f/pdf"
}
}Message fields
| Field | Meaning |
|---|---|
| message_id | The ID of the message. It is the same on every send and on the pull route. |
| event | outcome or reopened. |
| outcome_no | Goes up each time the task ends again. |
| revision | Goes up when pnd.release or pnd.hold_reason changes for the same outcome_no. A reopened message gets the next revision, so it is the current answer. |
| sent_at | When FVS sent this copy (RFC 3339 date-time). |
| attempt | The number of this send: 1, 2, 3 and so on. |
| bank_request_id | Your ID. null for a request that came by form or file. |
| reference | Your reference. |
| request_type | T1, T2, T3 or T4. |
| status | completed or cancelled. In a reopened message, the status the task moved to. |
| self_approved | true when the vendor signed off its own work. |
| outcome | verified, not_verified, undetermined or cancelled. null in a reopened message. |
| status_code | Your code for this outcome. |
| pnd | class, release and hold_reason. See below. |
| open_flags | The kinds of the open flags on the task. Empty when there are none. |
| finished_at | When the task was completed or cancelled. null in a reopened message. |
| report | version, verification_code, ready and pdf_url. null for a cancelled task and in a reopened message. |
A message has no customer name, account number, BVN, address, phone or form answer.
The PND part
pnd.class is the PND class of the request type. FVS sets it for each type.
pnd.release is true only when all of these are true:
- The outcome is
verified. - No AI photo review of the visit is still open.
- The task has no open flag.
- The request type has a PND class.
When release is false, hold_reason tells you why. FVS checks the reasons in this order and gives the first one:
| hold_reason | Meaning |
|---|---|
| outcome_not_verified | The outcome is not verified, or the task was opened again. |
| review_pending | An AI photo review of the visit is still open. |
| open_flags | The task has an open flag. open_flags lists the kinds. One example is credential_expired: the vetting of the firm or the person ended while the work was in progress. FVS staff close the flag after they check the work. |
| no_pnd_class | The request type has no PND class. |
Lift the restriction only when pnd.release is true in the current message. FVS never asks you to place a restriction.
Events
outcome: the task is completed or cancelled.reopened: a completed task is open again, for example because the branch sent it back.releaseisfalseandhold_reasonisoutcome_not_verified. Wait for the nextoutcomemessage.
Which message is current
Compare outcome_no first, then revision. The highest pair is the current answer. Keep the message with the highest pair for each request.
A new revision comes when the answer changes after a message. For example, a flag opens after a release. FVS then sends a new revision with release: false. When the flag is closed, FVS sends another revision with release: true.
Check the signature
FVS signs each message that it posts to your webhook. Each post has these headers:
| Header | Value |
|---|---|
| Content-Type | application/json |
| X-FVS-Event | outcome, reopened or status. |
| X-FVS-Message-Id | The message_id of the body. |
| X-FVS-Signature | t=<unix seconds>,v1=<hex> |
Check each post in this order:
- Read
tandv1fromX-FVS-Signature. - Refuse the post if
tis more than 5 minutes from your own clock. - Make the signed text:
t, a dot (.), and the raw body. Use the body bytes as they came. Do not read and write the JSON again. - Make an HMAC-SHA256 of the signed text. The key is the webhook secret text, as FVS showed it. Do not decode the secret.
- Compare your hex value with
v1. Use a compare that takes the same time for each value. Refuse the post if they differ. - Do not act on a
message_idthat you have seen. Answer2xxagain, so FVS stops.
The sample client has a short check in Python.
FVS shows the webhook secret one time only. Store it in your vault. If you lose it, ask FVS to make a new one.
Confirm a message
FVS sends a message again until you confirm it. You can confirm it in two ways:
- Your webhook answers with any
2xxstatus. FVS does not read the answer body. - Your system calls the confirm route. Use it when you read messages from the pull route. You can also use it to tell FVS that you changed the PND.
/integration/v1/outcomes/{message_id}/confirmBearer tokencurl -X POST "{BASE_URL}/integration/v1/outcomes/0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e/confirm" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"pnd_updated": true, "bank_ref": "PND-2026-0042"}'| Field | Rule |
|---|---|
| pnd_updated | Optional. true when you changed the PND. |
| bank_ref | Optional. Your own reference. 60 characters or fewer. |
{
"message_id": "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
"state": "confirmed",
"confirmed_at": "2026-11-28T09:16:00Z",
"confirmed_via": "api"
}- The body is optional. You can send no body.
- A second confirm answers
200and changes nothing. - You can confirm a message that FVS stopped sending.
- Another client's message gives
404 not_found. A longbank_refgives422 validation_failed.
Retries
- An answer that is not
2xxis a failed attempt. A time-out or a network error is a failed attempt too. - The time-out is 10 seconds. Save the message first and answer. Do the slow work later.
- FVS does not follow redirects. A
3xxanswer is a failed attempt. - FVS tries again after 1, 5, 15 and 60 minutes, then each hour. It stops at the limit: 24 attempts by default.
- FVS stops sending a message when a newer revision exists for the request. Its state becomes
dropped. The pull route still lists it. - Each attempt has the same
message_id.sent_atandattemptchange. - At the limit, the FVS Super Admins get an alert. They can send the message again. It then starts again from the first wait.
- With no webhook, FVS sends nothing. It waits for your confirm call on the same schedule.
The report
The first send of an outcome waits up to 10 minutes for the signed report. Then FVS sends the message without it. report.ready is then false, and pdf_url answers 409 report_not_ready until the report is made. Try the PDF again later.
Pull outcomes
/integration/v1/outcomes?after={seq}&limit={n}Bearer tokenThis route gives the same outcome messages as the webhook, with the same message_id. Use it when you have no webhook. Also use it to catch up after your webhook was down.
| Query | Rule | Default |
|---|---|---|
| after | A whole number, 0 or more. Send the next_after value from your last page. | 0 |
| limit | 1 to 200. | 100 |
- Call the route with your stored cursor in
after. - Save each message. Keep the highest
outcome_noandrevisionfor each request. - Confirm each saved message with the confirm route.
- Store
next_afteras your new cursor. Do this only after the messages are saved.
- Each item also has
seqandconfirmed_at. sent_atis the time of the answer.attemptis the number of sends so far.- A cursor that you move with
next_afternever skips a message. - Status messages are not on this route.
Status messages (optional)
FVS can also post a short message each time a task moves. Ask the FVS team to turn on status messages for your client. You need a webhook for them.
| Field | Meaning |
|---|---|
| message_id | The ID of the message. |
| event | Always status. |
| sent_at | When FVS sent this copy. |
| attempt | The number of this send. |
| bank_request_id | Your ID. null for a request that came by form or file. |
| reference | Your reference. |
| request_type | T1, T2, T3 or T4. |
| status | The new status of the task. |
| status_code | Your code for this status. |
| at | When the task got this status. |
- FVS sends one when it receives your request. It also sends one when a task gets to
todo,verification_started,vendor_review,verification_uploaded,completed,rejected_by_branchorcancelled. - FVS signs status messages as it signs outcome messages.
- No confirmation is needed. FVS sends each one 5 times at most, then stops.
- A status message does not tell you to lift a restriction. Use the outcome message for that.
Daily reconciliation
Each day you can send FVS the list of requests that your system sent. FVS compares it with what it received. FVS then gives you the gaps.
Send the manifest
/integration/v1/reconciliationsBearer tokencurl -X POST "{BASE_URL}/integration/v1/reconciliations" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: manifest-2026-11-28" \
-d '{"business_date": "2026-11-28",
"items": [{"bank_request_id": "BR-2026-000184", "request_type": "T1"}]}'{
"business_date": "2026-11-28",
"items": 1,
"received_at": "2026-11-28T18:00:00Z",
"replaced": false
}business_dateis a day in WAT: today or an earlier day.- Send 0 to 20,000 items. The body can be up to 4 MB. Send IDs and types only.
- Send an
Idempotency-Key. Use a new key for each manifest, and the same key when you retry it. - A second manifest for the same day replaces the first.
- FVS compares each day at 01:30 WAT the next morning. A manifest that comes later builds that day again at once.
Read a day
/integration/v1/reconciliations/{business_date}Bearer tokenYou get the counts and seven lists of bank_request_id values. A day with no reconciliation gives 404 not_found.
| List | Meaning | What to do |
|---|---|---|
| missing | In your manifest. FVS never received it. | Send it again. |
| unexpected | FVS accepted it that day. It is not in your manifest. | Check your manifest. |
| rejected | FVS refused it, and no corrected copy came. | Correct it and send it again. |
| excluded | FVS excluded the account. | Nothing. This is not a gap. |
| on_hold | A request that waits for its file for too long. | Send the file. |
| unconfirmed | An outcome message older than 24 hours that you did not confirm. | Confirm it. |
| failed | An outcome message that FVS stopped sending. | Confirm it, or ask FVS to send it again. |
missingandunexpectedneed a manifest. With no manifest,manifest_itemsisnulland both lists are empty.- A request that came by form or file is in the counts only. It has no
bank_request_id. - When a day has gaps, the FVS Super Admins get an alert.
Get the signed PDF
/integration/v1/results/{task_id}/pdfBearer tokenpdf_url in a result is a path from the root of the host. Join it to the host only, not to {BASE_URL}/integration/v1.
curl "{BASE_URL}/integration/v1/results/6f1c2d3e-4a5b-4c6d-8e7f-9a0b1c2d3e4f/pdf" \
-H "Authorization: Bearer $TOKEN" \
-o "BR-2026-000184-v1.pdf"| Status | Meaning |
|---|---|
| 200 | The body is the PDF (application/pdf). |
| 404 not_found | This client did not send this task, or the ID is not a valid UUID. |
| 409 report_not_ready | The signed report is not ready yet. Try again later. |
- The PDF has a PAdES B-B digital signature. Each copy has a visible stamp with the reader's name, "Bank system (client name)", and the time of the download.
- Each download makes a new stamped and signed copy, so the bytes change each time. Download one copy for each
report_versionand keep it. - The route always gives the newest ready version. It cannot give older versions.
- Name the file yourself, for example from
bank_request_idandreport_version. The name inContent-Dispositionuses the FVS reference, which can contain/. - FVS logs each download.
- On
409, try again after about one minute, with backoff.
Bank status codes
FVS can send your own status codes in status_code. Send your codes to the FVS team. A Super Admin sets them in FVS.
| Key | FVS uses it for | Default |
|---|---|---|
| received | Accepted items, and the status route while work is open. | RECEIVED |
| rejected | Rejected items. | REJECTED |
| verified | Results with outcome verified. | VERIFIED |
| not_verified | Results with outcome not_verified. | NOT_VERIFIED |
| undetermined | Results with outcome undetermined. | UNDETERMINED |
| cancelled | Results with outcome cancelled. | CANCELLED |
| excluded | Excluded items: the account needs no check. | EXCLUDED |
- You can give a different code for each request type. Write the key as
type.key, fromT1.verifiedtoT4.cancelled, for exampleT2.not_verified. A type key wins over the plain key. The old keysaddress.andcorporate.are nowT1.andT2.. - Each code is 1 to 40 of
A–Z a–z 0–9 _ . -. - A result keeps the code it got when FVS wrote it. A later change to the codes does not change old results.
Errors and retries
Call-level errors use the problem details format of RFC 9457 (application/problem+json). Use code in your logic. The title text can change.
{
"type": "https://fvs.gcreate.app/problems/invalid_client",
"title": "Client ID or secret is not valid.",
"status": 401,
"code": "invalid_client"
}A 422 body also has errors, a map of field name to message.
| Status | Code | Cause | Do this |
|---|---|---|---|
| 400 | invalid_body | The JSON is not valid, has an unknown field, or has extra data after it. | Correct the body. |
| 400 | idempotency_key_required | POST /requests has no Idempotency-Key, or the key is not valid. | Send a key of 8 to 160 characters. |
| 400 | unsupported_grant_type | Bad grant_type on /token. | Send grant_type=client_credentials as a form field. |
| 401 | invalid_client | Token call with bad credentials, a disabled client or a blocked IP. | Check the credentials. Ask FVS for the cause. |
| 401 | unauthenticated | Missing, expired or revoked token, or a blocked IP. | Get a new token. Retry one time. |
| 404 | not_found | No such request or task for this client. | Check the ID and the client. |
| 405 | method_not_allowed | Wrong HTTP method. | Use the method in this guide. |
| 409 | report_not_ready | No signed PDF yet. | Try again later. |
| 409 | request_in_progress | A call with this Idempotency-Key still runs. | Wait and send again with the same key. |
| 413 | payload_too_large | Body over 2 MB. | Send fewer items in each call. |
| 415 | unsupported_media_type | Body is not JSON. | Set Content-Type: application/json. |
| 422 | validation_failed | 0 or more than 500 items, or a bad after or limit. | Correct the call. |
| 422 | idempotency_key_reused | You sent this Idempotency-Key before with another body. | Send the new body with a new key. |
| 429 | rate_limited | Too many calls. | Wait for Retry-After seconds. |
| 500 | internal_error | A fault in FVS. | Retry with backoff. |
| 503 | timeout | The call took too long. | Retry with backoff. |
The file route has its own codes. See send a file with a request.
Idempotency-Key
POST /requestsneeds anIdempotency-Keyheader. Use 8 to 160 ofA–Z a–z 0–9 _ / -, for examplebatch-2026-11-21-0001.- Make a new key for each batch. Keep it with the batch until you have the answer.
- FVS keeps a key for 30 days. It keeps only answers with a
2xxstatus. - The same key with the same body gives back the first answer. The answer has the header
Idempotent-Replayed: true. FVS does not run the batch again. - The same key with another body gives
422 idempotency_key_reused. The body must be the same, byte for byte. So when you correct a batch, send it with a new key. 409 request_in_progressmeans the first call with this key still runs. Wait and send again with the same key.- The
bank_request_idrule stays. A new key with an acceptedbank_request_idstill makes no new task. The item comes back withexisting: true.
Retry rules
- Retry network errors,
429,500,502,503and504. Wait longer each time, for example 2, 4, 8 and 16 seconds. - On
401 unauthenticated, get a new token and retry one time. - Do not retry other
4xxanswers without a change to the call. - All routes are safe to retry.
POST /requestsis safe because of theIdempotency-Keyand thebank_request_id. The file route is safe because FVS keeps the same bytes only once.
Request ID
Every answer has an X-Request-ID header. You can send your own value, 1 to 64 of A–Z a–z 0–9 _ -. FVS then uses your value. Log it with each call. The FVS team uses it to find your call.
Limits and time limits
| Item | Limit |
|---|---|
| Token life | 900 s |
| Token calls | 10 a minute for each client |
| All calls from one IP address | 3000 a minute (default; can differ by environment) |
| Request body | 2 MB |
Items in one POST /requests | 1 to 500 |
| Results in one page | 1 to 200 (default 100) |
Time limit: POST /requests and the PDF | 2 min |
| Time limit: other routes | 30 s (default) |
| IP ranges for each client | 50 |
bank_request_id length | 1 to 64 |
Idempotency-Key length | 8 to 160 |
Time FVS keeps an Idempotency-Key | 30 days |
| One request file | 10 MB |
| Files for each request | 5 |
X-File-Name length | 1 to 120 |
| Time limit: the file route | 2 min |
| Time-out of a webhook call from FVS | 10 s |
| Outcome messages in one page | 1 to 200 (default 100) |
| Manifest body | 4 MB |
| Items in one manifest | 0 to 20,000 |
bank_ref length | 0 to 60 |
| Client certificate fingerprints for each client | 5 |
Set your HTTP client time-out a little above the FVS time limit, for example 150 seconds for POST /requests.
Security and audit
- Transport. Use HTTPS only.
- Secrets. FVS shows the client secret one time only and keeps only its SHA-256 hash. FVS keeps tokens as hashes too.
- Rotation. When FVS rotates a secret, it shows the new secret one time only. The old secret and all tokens of the client stop at once. Agree a time with FVS, then put the new secret in your vault and get a new token.
- Disable. When FVS disables a client, all its tokens stop. When FVS enables it again, get a new token.
- IP allow-list. FVS checks the caller's IP address on the token call and on every other call. An empty list allows any address.
- Isolation. A client sees only the requests it sent. Another client's IDs give
404. - Audit. FVS logs every call with the route, method, status and item count. It also logs token calls, refusals and PDF downloads. The actor is "Bank system (client name)".
- Data at rest. FVS encrypts the account number and the BVN.
- Client certificate. This is optional. Give FVS the SHA-256 fingerprints of your client certificates, up to 5 for each client. Then each call of that client must show one of these certificates over TLS. A missing or other certificate gets
401 invalid_client. - Webhook. FVS posts only to
httpsaddresses on its allow-list. FVS keeps the webhook secret sealed and never logs it. Messages hold no customer data. - Separation. Portal user sessions cannot call
/integration/v1.
Sample client
This short Python sample shows the token cache, safe retries with an Idempotency-Key, and the feed loop. Any HTTP client works. Replace save_result, save_cursor and load_secret with your own code.
import time
import requests
HOST = "{BASE_URL}"
API = HOST + "/integration/v1"
CLIENT_ID, CLIENT_SECRET = load_secret()
RETRY = {429, 500, 502, 503, 504}
# Cache the token; renew before expiry
_token = {"value": None, "expires": 0.0}
def get_token():
if time.time() > _token["expires"] - 60:
r = requests.post(API + "/token", auth=(CLIENT_ID, CLIENT_SECRET),
data={"grant_type": "client_credentials"}, timeout=30)
r.raise_for_status()
body = r.json()
_token["value"] = body["access_token"]
_token["expires"] = time.time() + body["expires_in"]
return _token["value"]
def call(method, url, headers=None, **kw):
for attempt in range(5):
h = {"Authorization": "Bearer " + get_token()}
h.update(headers or {})
try:
r = requests.request(method, url, headers=h, **kw)
except (requests.ConnectionError, requests.Timeout):
time.sleep(2 ** (attempt + 1))
continue
if r.status_code == 401:
_token["expires"] = 0 # get a new token
continue
if r.status_code in RETRY:
time.sleep(int(r.headers.get("Retry-After", 2 ** (attempt + 1))))
continue
return r
raise RuntimeError("FVS call failed after retries")
# One key per batch; the same key on retry
def send(items, key):
r = call("POST", API + "/requests", json={"items": items},
headers={"Idempotency-Key": key}, timeout=150)
r.raise_for_status()
return r.json()["items"]
# Read all new results, then stop
def poll_results(cursor):
while True:
r = call("GET", API + "/results",
params={"after": cursor, "limit": 200}, timeout=30)
r.raise_for_status()
page = r.json()
for item in page["items"]:
save_result(item) # upsert; highest seq wins
cursor = page["next_after"]
save_cursor(cursor) # only after results are saved
if len(page["items"]) < 200:
return cursor
def get_pdf(item):
if item["pdf_url"] is None:
return None
r = call("GET", HOST + item["pdf_url"], timeout=150)
if r.status_code == 409:
return None # not ready; try later
r.raise_for_status()
return r.contentThis second sample checks one webhook post. Replace load_webhook_secret, seen and save_message with your own code.
import hashlib
import hmac
import json
import time
WEBHOOK_SECRET = load_webhook_secret() # the text FVS showed
# raw is the body bytes as they came
def check_signature(headers, raw):
parts = dict(p.split("=", 1) for p in headers["X-FVS-Signature"].split(","))
if abs(time.time() - int(parts["t"])) > 300:
return False # more than 5 minutes off
signed = parts["t"].encode() + b"." + raw
mac = hmac.new(WEBHOOK_SECRET.encode(), signed, hashlib.sha256).hexdigest()
return hmac.compare_digest(mac, parts["v1"])
def on_webhook(headers, raw):
if not check_signature(headers, raw):
return 401
msg = json.loads(raw)
if not seen(msg["message_id"]):
save_message(msg) # act later; answer fast
return 200 # any 2xx confirmsTest scenarios
Run these in the test environment before go-live. Some steps need the FVS team, for example to disable a client or to complete a task.
| # | Do this | Expect |
|---|---|---|
| 1 | Get a token with valid credentials. | 200, expires_in: 900. |
| 2 | Get a token with a wrong secret. | 401 invalid_client. |
| 3 | FVS disables the client. Get a token. | 401 invalid_client. |
| 4 | Send 3 items. One has a 9-digit account number. | 2 accepted with task IDs. 1 rejected with an account_number error. |
| 5 | Send an accepted bank_request_id again. | Same task_id, existing: true. No new task. |
| 6 | Send an item with an extra field. | 400 invalid_body for the whole call. |
| 7 | Call /results with no token. | 401 unauthenticated. |
| 8 | FVS completes a task with outcome Yes. Read the feed. | A result with outcome: verified and your code. |
| 9 | Get the PDF before the report is ready. | 409 report_not_ready. |
| 10 | Get the PDF of a task from another client. | 404 not_found. |
| 11 | The branch sends a result back. FVS completes it again. | A second result with a higher seq. |
| 12 | Stop your poller in the middle of a page, then start it again. | No result is lost or saved twice. |
| 13 | Send a batch. Send it again with the same Idempotency-Key and the same body. | The same answer, with Idempotent-Replayed: true. Then change one item and send it with the same key: 422 idempotency_key_reused. |
| 14 | Send an item for an account that FVS excludes, for example an internal account class. | result: excluded with your excluded code. No task_id. The status route gives 404. |
| 15 | Send a T2 item. Then send its PDF to the file route. Send the same PDF again. | The item is accepted and waits in backlog. The file gives 201, and FVS assigns the search. The second send gives 200 with the same file_id. |
| 16 | FVS completes a T1 task with outcome Yes and no open flag. | An outcome message with pnd.release: true and hold_reason: null. Your webhook answers 200 and the message is confirmed. |
| 17 | FVS completes a task with outcome Yes and an open flag. | A held message: pnd.release: false, hold_reason: open_flags, and the kind in open_flags. |
| 18 | Your webhook answers 503 to the first post. | About 1 minute later, FVS posts the same message_id again with attempt: 2. |
| 19 | Change one byte of a post body, then check the signature. | Your check refuses the post. |
| 20 | Read /outcomes. Confirm one message with the confirm route. Confirm it again. | 200 both times, with confirmed_via: api. |
| 21 | The branch sends a completed task back. | A reopened message with release: false. When FVS completes it again, an outcome message with a higher outcome_no. |
| 22 | Send a manifest with one ID that you never sent. Read that day after 01:30 WAT the next day. | The ID is in missing. |
Go-live checklist
Not in this version
- You cannot edit or cancel a request by API. Ask the FVS team. They can do it in the portal.
- The PDF route gives only the newest report version.
- Answers do not show the SLA deadline.
- Lifting the account restriction and attaching the PDF to the account happen in your systems. FVS tells you when you can lift it.
Open points to agree with bank IT
- Your webhook address, and if you want status messages.
- Your status codes for each request type and outcome.
- Your IP ranges for the allow-list.
- The request types each unit needs, from
T1,T2,T3andT4. - The account classes and account number prefixes that need no check.
Get help
When you contact the FVS team about a call, send:
- The
X-Request-IDof the call. - The
bank_request_idortask_id. - The route, the HTTP status and the
code. - The time of the call, with the time zone.
Do not send the client secret or a token to anyone, including the FVS team.
References
- ETSI. (2016). Electronic signatures and infrastructures (ESI); PAdES digital signatures; Part 1: Building blocks and PAdES baseline signatures (ETSI EN 319 142-1 V1.1.1). European Telecommunications Standards Institute.
- Gcreate Apps. (2026a). Bank API integration: Design (Spec 16) [Unpublished design document].
- Gcreate Apps. (2026b). FVS bank system API (Version 1.0.0) [OpenAPI 3.0.3 specification].
- Hardt, D. (Ed.). (2012). The OAuth 2.0 authorization framework (RFC 6749). Internet Engineering Task Force. https://doi.org/10.17487/RFC6749
- Jones, M., & Hardt, D. (2012). The OAuth 2.0 authorization framework: Bearer token usage (RFC 6750). Internet Engineering Task Force. https://doi.org/10.17487/RFC6750
- Klyne, G., & Newman, C. (2002). Date and time on the Internet: Timestamps (RFC 3339). Internet Engineering Task Force. https://doi.org/10.17487/RFC3339
- Nottingham, M., Wilde, E., & Dalal, S. (2023). Problem details for HTTP APIs (RFC 9457). Internet Engineering Task Force. https://doi.org/10.17487/RFC9457