FVS Bank API Guide
FVS Bank system API Integration guide
v1.0.0
On this page
  1. How it works
  2. Before you start
  3. 1. Get a token
  4. 2. Send requests
  5. 2b. Send a file
  6. Search documents
  7. 3. Read a status
  8. 4. Read results
  9. Outcome messages
  10. Check the signature
  11. Confirm a message
  12. Retries
  13. Pull outcomes
  14. Status messages
  15. Daily reconciliation
  16. 5. Get the signed PDF
  17. Bank status codes
  18. Errors and retries
  19. Limits and time limits
  20. Security and audit
  21. Sample client
  22. Test scenarios
  23. Go-live checklist
  24. Not in this version
  25. 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.

Built and tested API version 1.0.0 Updated 22/11/2026 To agree with bank IT: status codes, IP ranges, webhook address
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.

Call sequence between the bank system and FVS The bank system gets a token, sends requests, FVS does the field work, then the bank system reads results and downloads the signed PDF. Bank system FVS bank API FVS operations 1 CONNECT POST /token (Basic) 200 access_token, 900 s 2 SEND POST /requests (1–500) create task, auto-assign 200 accepted / rejected 3 FIELD WORK Visit, review, sign-off, signed PDF result added to feed 4 RECEIVE GET /results?after=N 200 items, next_after GET /results/{id}/pdf 200 signed PDF
  1. Get a token. Send your client ID and secret to /token. You get a bearer token that works for 900 seconds.
  2. Send requests. Post 1 to 500 items to /requests. FVS answers each item with accepted, rejected or excluded. For a corporate search, also send its file.
  3. 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.
  4. 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 2xx to confirm it. You can also read it from /outcomes.
  5. Read results. Poll /results with your cursor. Each finished request gives a result.
  6. 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.
Keep the secret safe

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.

Step 1

Get a token

POST/integration/v1/tokenHTTP Basic

Send your client ID and secret with HTTP Basic. Send grant_type as a form field.

Request · curl
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"
Response · 200 OK
{
  "access_token": "q8Xn3vTqf0Zp1sYc7rWb2LmK9dHa4UeJ6iGo5tNy3Ex",
  "token_type": "Bearer",
  "expires_in": 900
}

Then send the token on every other call:

Header
Authorization: Bearer q8Xn3vTqf0Zp1sYc7rWb2LmK9dHa4UeJ6iGo5tNy3Ex

Rules

  • Keep the token in memory and use it for all calls. Get a new token about 60 seconds before expires_in ends.
  • There is no refresh token. To get a new token, send your credentials again.
  • You can call /token 10 times a minute for each client. The next call gets 429 with Retry-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 Authorization header. It does not read them from the body.

Errors

StatusCodeCause
400unsupported_grant_typegrant_type is missing, is not client_credentials, or was sent as JSON.
401invalid_clientWrong 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".
429rate_limitedMore 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.

Step 2

Send verification requests

POST/integration/v1/requestsBearer token

Send 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).

Request · headers
Authorization: Bearer q8Xn3vTqf0Zp1sYc7rWb2LmK9dHa4UeJ6iGo5tNy3Ex
Content-Type: application/json
Idempotency-Key: batch-2026-11-21-0001
Request · body
{
  "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"
    }
  ]
}
Response · 200 OK
{
  "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

FieldNeedRule
bank_request_idrequiredYour own ID. 1 to 64 of A–Z a–z 0–9 _ -. Unique for each client. Case-sensitive.
request_typerequiredT1, 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_coderequiredCode 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.
purposeoptionalAn 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.
referencerequired1 to 50 of letters, digits and / _ . -. Unique within the unit.
priorityoptionallow, standard, high or urgent. Empty means standard.
customer_namerequired2 to 150 characters. For a corporate search, send the company name.
customer_phoneoptionalA Nigerian number: 11 digits that start with 0, or 13 digits that start with 234. A +, spaces, hyphens and brackets are allowed.
account_numberrequired10 digits. FVS removes spaces and hyphens first.
bvnoptional11 digits.
addressrequired5 to 300 characters.
staterequiredNot empty.
lgarequiredNot empty. Local government area.
cityoptionalFree text.
requesting_officer_namerequired2 to 100 characters.
requesting_officer_staff_idrequired1 to 30 of letters, digits and -.
risk_ratingoptionallow, medium or high. Empty means not rated. FVS can give a high request a higher priority and a special form.
account_classoptionalYour account class, 1 to 40 characters. FVS uses it to find accounts that need no check.
reverificationoptionaltrue or false. Empty means false. Send true to ask for a new check on a customer that FVS checked before.
company_rc_numberoptionalThe 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_typeoptionalprivate_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

TypeWorkForDefault purposeCost type
T1Address visitAccount openingaccount_openingField visit
T2Corporate searchAccount openingaccount_openingCorporate search
T3Address visitCredit, existing accountloanField visit
T4Corporate searchCredit, existing accountloanCorporate 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

FieldMeaning
bank_request_idYour ID, as sent.
resultaccepted, rejected or excluded. excluded means the account needs no check. See excluded accounts.
task_idThe FVS task ID (UUID). Only on accepted items. Keep it. You need it for the PDF.
referenceYour reference. Only on accepted items.
status_codeYour code for received (accepted), rejected or excluded. See bank status codes.
existingtrue when you sent this ID before. Not present otherwise.
errorsA 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

CodeFieldMeaning
bank_request_id_invalidbank_request_idUse 1 to 64 letters, digits, _ or -.
request_type_invalidrequest_typePick T1, T2, T3 or T4. The type is missing, unknown or other.
request_type_not_allowedrequest_typeThis unit cannot ask for this request type, or FVS turned the type off.
risk_rating_invalidrisk_ratingPick low, medium or high.
company_rc_invalidcompany_rc_numberEnter a number like RC 123456.
company_type_invalidcompany_typePick a company type from the list.
requiredany required fieldThe field is missing or empty.
too_short, too_longtext fieldsThe text is outside the length rule.
reference_invalidreferenceUse letters, digits and / _ . - only.
reference_takenreferenceThis reference already exists in this unit.
staff_id_invalidrequesting_officer_staff_idUse letters, digits and - only.
digits_10_requiredaccount_numberThe account number must be 10 digits.
digits_11_requiredbvnThe BVN must be 11 digits.
id_requiredaccount_numberNo account number and no BVN.
phone_invalidcustomer_phoneNot a Nigerian phone number.
priority_invalidpriorityNot in the priority list.
purpose_unknownpurposeNot an active purpose.
sla_not_configuredpurposeFVS has no SLA hours for this purpose and priority. Tell the FVS team.
unit_unknownunit_codeNo unit has this code.
unit_inactiveunit_codeThe 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_id again, FVS creates nothing. It sends back the first answer with existing: true and the same task_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_class is in the list, or the account number starts with a listed prefix, FVS makes no task. The item comes back excluded. 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.
Safe retries

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.

Our advice on batch size

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.

Replay answers

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.

Step 2b · Corporate search

Send a file with a request

POST/integration/v1/requests/{bank_request_id}/filesBearer token

A 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.

Request · curl
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"
Response · 201 Created
{
  "file_id": "0193a1b2-c3d4-7e5f-8a6b-7c8d9e0f1a2b",
  "sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
}

Rules

  • Set Content-Type to application/pdf, image/jpeg or image/png. FVS reads the first bytes of the file. They must match the Content-Type.
  • Set X-File-Name to 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 201 with file_id and sha256, the hex SHA-256 of the file. If you send the same bytes again, FVS keeps no second copy. It answers 200 with the first file_id. So a retry is safe.
  • FVS takes files until the work goes for sign-off: while the status is backlog, todo or verification_started. After that, the answer is 409 request_closed.
  • You can send a file for any request type. Only a corporate search waits for it.
A corporate search waits for its file.

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

StatusCodeCause
404not_foundThis client has no accepted request with this bank_request_id. A rejected or excluded item has no request.
409request_closedThis request takes no more files.
409request_file_limitThis request has 5 files already.
413payload_too_largeThe file is over 10 MB.
415request_file_typeSend a PDF, JPEG or PNG file. The file is another type, or it does not match its Content-Type.
422validation_failedX-File-Name is missing or too long. errors has the field file_name.
422file_infectedThis file did not pass the malware check. Do not send it again.
503scan_unavailableThe malware check is not available. Try later.

This route needs no Idempotency-Key. The file bytes are the key.

Corporate search

Read the documents of a corporate search

GET/integration/v1/results/{task_id}/documentsBearer token
GET/integration/v1/results/{task_id}/documents/{document_id}Bearer token

A 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.

Request · curl
curl "{BASE_URL}/integration/v1/results/6f1c2d3e-4a5b-4c6d-8e7f-9a0b1c2d3e4f/documents" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "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

FieldMeaning
document_idThe document ID. Use it in the second route.
kindstatus_report, certificate, directors_particulars, share_capital, control_register, annual_return or other.
file_nameThe file name the firm gave.
content_typeapplication/pdf, image/jpeg or image/png.
bytesThe file size in bytes.
sha256The hex SHA-256 of the file.
  • Check each file against its sha256.
  • 409 search_not_signed means the firm has not signed off yet. Try again later.
  • 404 not_found means the task is a visit request, or this client did not send it. A document that is not in the signed search also gives 404.
  • FVS logs each fetch.
Step 3 · Optional

Read the status of one request

GET/integration/v1/requests/{bank_request_id}Bearer token
Request · curl
curl "{BASE_URL}/integration/v1/requests/BR-2026-000184" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "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"
}
statusMeaning
backlogReceived. Waiting for a vendor or an agent.
todoAssigned to a field agent.
verification_startedThe agent started the visit.
vendor_reviewThe visit is in. The vendor checks it and signs off.
verification_uploadedThe visit is in. Bank staff check it and sign off.
rejected_by_agentThe agent could not do the visit. FVS staff assign it again.
completedSigned off. A result is in the feed.
rejected_by_branchThe branch sent a completed result back. FVS does the visit again.
cancelledFVS staff cancelled the request. A result is in the feed.
  • status_code shows your received code until the request is completed or cancelled. Use status to show progress.
  • For a completed request, status_code is 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.
Step 4

Read finished results

GET/integration/v1/results?after={seq}&limit={n}Bearer token
QueryRuleDefault
afterA whole number, 0 or more. Send the next_after value from your last page.0
limit1 to 200.100
Request · curl
curl "{BASE_URL}/integration/v1/results?after=41&limit=200" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "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

FieldMeaning
seqPosition in the feed. It always goes up.
bank_request_idYour ID.
task_idThe FVS task ID.
referenceYour reference.
outcomeverified, not_verified, undetermined or cancelled.
status_codeYour code for this outcome, as it was when FVS wrote the result.
finished_atWhen the task was completed or cancelled (RFC 3339 date-time).
approved_byName of the person who signed off. null for a cancelled task.
vendor_nameThe vendor that did the visit. null when a bank agent did it.
report_versionThe report version. null when there is no report.
pdf_urlPath 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).

outcomeWhenDefault code
verifiedThe outcome answer is Yes.VERIFIED
not_verifiedThe outcome answer is No.NOT_VERIFIED
undeterminedThe agent chose "Could not determine", or the form has no outcome question.UNDETERMINED
cancelledFVS 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

  1. On the first run, use after=0.
  2. Call /results with after set to your stored cursor and limit=200.
  3. Save every item. Upsert by bank_request_id. Keep the item with the highest seq.
  4. Store next_after as your new cursor. Do this only after step 3 is saved.
  5. 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 seq only after the result is saved. A cursor that you move with next_after never skips a result.
  • All clients share one seq series. Your values will have gaps. Never compute after + 1. Use next_after.
  • An empty page gives next_after equal to your after.
  • To read the feed again from the start, use after=0.
One request can give more than one result

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.

Webhook body · outcome
{
  "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

FieldMeaning
message_idThe ID of the message. It is the same on every send and on the pull route.
eventoutcome or reopened.
outcome_noGoes up each time the task ends again.
revisionGoes 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_atWhen FVS sent this copy (RFC 3339 date-time).
attemptThe number of this send: 1, 2, 3 and so on.
bank_request_idYour ID. null for a request that came by form or file.
referenceYour reference.
request_typeT1, T2, T3 or T4.
statuscompleted or cancelled. In a reopened message, the status the task moved to.
self_approvedtrue when the vendor signed off its own work.
outcomeverified, not_verified, undetermined or cancelled. null in a reopened message.
status_codeYour code for this outcome.
pndclass, release and hold_reason. See below.
open_flagsThe kinds of the open flags on the task. Empty when there are none.
finished_atWhen the task was completed or cancelled. null in a reopened message.
reportversion, 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_reasonMeaning
outcome_not_verifiedThe outcome is not verified, or the task was opened again.
review_pendingAn AI photo review of the visit is still open.
open_flagsThe 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_classThe 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. release is false and hold_reason is outcome_not_verified. Wait for the next outcome message.

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:

HeaderValue
Content-Typeapplication/json
X-FVS-Eventoutcome, reopened or status.
X-FVS-Message-IdThe message_id of the body.
X-FVS-Signaturet=<unix seconds>,v1=<hex>

Check each post in this order:

  1. Read t and v1 from X-FVS-Signature.
  2. Refuse the post if t is more than 5 minutes from your own clock.
  3. 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.
  4. Make an HMAC-SHA256 of the signed text. The key is the webhook secret text, as FVS showed it. Do not decode the secret.
  5. Compare your hex value with v1. Use a compare that takes the same time for each value. Refuse the post if they differ.
  6. Do not act on a message_id that you have seen. Answer 2xx again, so FVS stops.

The sample client has a short check in Python.

Keep the webhook secret safe

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 2xx status. 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.
POST/integration/v1/outcomes/{message_id}/confirmBearer token
Request · curl
curl -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"}'
FieldRule
pnd_updatedOptional. true when you changed the PND.
bank_refOptional. Your own reference. 60 characters or fewer.
Response · 200 OK
{
  "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 200 and changes nothing.
  • You can confirm a message that FVS stopped sending.
  • Another client's message gives 404 not_found. A long bank_ref gives 422 validation_failed.

Retries

  • An answer that is not 2xx is 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 3xx answer 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_at and attempt change.
  • 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

GET/integration/v1/outcomes?after={seq}&limit={n}Bearer token

This 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.

QueryRuleDefault
afterA whole number, 0 or more. Send the next_after value from your last page.0
limit1 to 200.100
  1. Call the route with your stored cursor in after.
  2. Save each message. Keep the highest outcome_no and revision for each request.
  3. Confirm each saved message with the confirm route.
  4. Store next_after as your new cursor. Do this only after the messages are saved.
  • Each item also has seq and confirmed_at.
  • sent_at is the time of the answer. attempt is the number of sends so far.
  • A cursor that you move with next_after never 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.

FieldMeaning
message_idThe ID of the message.
eventAlways status.
sent_atWhen FVS sent this copy.
attemptThe number of this send.
bank_request_idYour ID. null for a request that came by form or file.
referenceYour reference.
request_typeT1, T2, T3 or T4.
statusThe new status of the task.
status_codeYour code for this status.
atWhen 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_branch or cancelled.
  • 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

POST/integration/v1/reconciliationsBearer token
Request · curl
curl -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"}]}'
Response · 200 OK
{
  "business_date": "2026-11-28",
  "items": 1,
  "received_at": "2026-11-28T18:00:00Z",
  "replaced": false
}
  • business_date is 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

GET/integration/v1/reconciliations/{business_date}Bearer token

You get the counts and seven lists of bank_request_id values. A day with no reconciliation gives 404 not_found.

ListMeaningWhat to do
missingIn your manifest. FVS never received it.Send it again.
unexpectedFVS accepted it that day. It is not in your manifest.Check your manifest.
rejectedFVS refused it, and no corrected copy came.Correct it and send it again.
excludedFVS excluded the account.Nothing. This is not a gap.
on_holdA request that waits for its file for too long.Send the file.
unconfirmedAn outcome message older than 24 hours that you did not confirm.Confirm it.
failedAn outcome message that FVS stopped sending.Confirm it, or ask FVS to send it again.
  • missing and unexpected need a manifest. With no manifest, manifest_items is null and 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.
Step 5

Get the signed PDF

GET/integration/v1/results/{task_id}/pdfBearer token

pdf_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.

Request · curl
curl "{BASE_URL}/integration/v1/results/6f1c2d3e-4a5b-4c6d-8e7f-9a0b1c2d3e4f/pdf" \
  -H "Authorization: Bearer $TOKEN" \
  -o "BR-2026-000184-v1.pdf"
StatusMeaning
200The body is the PDF (application/pdf).
404 not_foundThis client did not send this task, or the ID is not a valid UUID.
409 report_not_readyThe 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_version and keep it.
  • The route always gives the newest ready version. It cannot give older versions.
  • Name the file yourself, for example from bank_request_id and report_version. The name in Content-Disposition uses 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.

KeyFVS uses it forDefault
receivedAccepted items, and the status route while work is open.RECEIVED
rejectedRejected items.REJECTED
verifiedResults with outcome verified.VERIFIED
not_verifiedResults with outcome not_verified.NOT_VERIFIED
undeterminedResults with outcome undetermined.UNDETERMINED
cancelledResults with outcome cancelled.CANCELLED
excludedExcluded items: the account needs no check.EXCLUDED
  • You can give a different code for each request type. Write the key as type.key, from T1.verified to T4.cancelled, for example T2.not_verified. A type key wins over the plain key. The old keys address. and corporate. are now T1. and T2..
  • 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.

Error body · 401
{
  "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.

StatusCodeCauseDo this
400invalid_bodyThe JSON is not valid, has an unknown field, or has extra data after it.Correct the body.
400idempotency_key_requiredPOST /requests has no Idempotency-Key, or the key is not valid.Send a key of 8 to 160 characters.
400unsupported_grant_typeBad grant_type on /token.Send grant_type=client_credentials as a form field.
401invalid_clientToken call with bad credentials, a disabled client or a blocked IP.Check the credentials. Ask FVS for the cause.
401unauthenticatedMissing, expired or revoked token, or a blocked IP.Get a new token. Retry one time.
404not_foundNo such request or task for this client.Check the ID and the client.
405method_not_allowedWrong HTTP method.Use the method in this guide.
409report_not_readyNo signed PDF yet.Try again later.
409request_in_progressA call with this Idempotency-Key still runs.Wait and send again with the same key.
413payload_too_largeBody over 2 MB.Send fewer items in each call.
415unsupported_media_typeBody is not JSON.Set Content-Type: application/json.
422validation_failed0 or more than 500 items, or a bad after or limit.Correct the call.
422idempotency_key_reusedYou sent this Idempotency-Key before with another body.Send the new body with a new key.
429rate_limitedToo many calls.Wait for Retry-After seconds.
500internal_errorA fault in FVS.Retry with backoff.
503timeoutThe call took too long.Retry with backoff.

The file route has its own codes. See send a file with a request.

Idempotency-Key

  • POST /requests needs an Idempotency-Key header. Use 8 to 160 of A–Z a–z 0–9 _ / -, for example batch-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 2xx status.
  • 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_progress means the first call with this key still runs. Wait and send again with the same key.
  • The bank_request_id rule stays. A new key with an accepted bank_request_id still makes no new task. The item comes back with existing: true.

Retry rules

  • Retry network errors, 429, 500, 502, 503 and 504. 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 4xx answers without a change to the call.
  • All routes are safe to retry. POST /requests is safe because of the Idempotency-Key and the bank_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

ItemLimit
Token life900 s
Token calls10 a minute for each client
All calls from one IP address3000 a minute (default; can differ by environment)
Request body2 MB
Items in one POST /requests1 to 500
Results in one page1 to 200 (default 100)
Time limit: POST /requests and the PDF2 min
Time limit: other routes30 s (default)
IP ranges for each client50
bank_request_id length1 to 64
Idempotency-Key length8 to 160
Time FVS keeps an Idempotency-Key30 days
One request file10 MB
Files for each request5
X-File-Name length1 to 120
Time limit: the file route2 min
Time-out of a webhook call from FVS10 s
Outcome messages in one page1 to 200 (default 100)
Manifest body4 MB
Items in one manifest0 to 20,000
bank_ref length0 to 60
Client certificate fingerprints for each client5

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 https addresses 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.

Python 3 · requests
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.content

This second sample checks one webhook post. Replace load_webhook_secret, seen and save_message with your own code.

Python 3 · webhook check
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 confirms

Test 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 thisExpect
1Get a token with valid credentials.200, expires_in: 900.
2Get a token with a wrong secret.401 invalid_client.
3FVS disables the client. Get a token.401 invalid_client.
4Send 3 items. One has a 9-digit account number.2 accepted with task IDs. 1 rejected with an account_number error.
5Send an accepted bank_request_id again.Same task_id, existing: true. No new task.
6Send an item with an extra field.400 invalid_body for the whole call.
7Call /results with no token.401 unauthenticated.
8FVS completes a task with outcome Yes. Read the feed.A result with outcome: verified and your code.
9Get the PDF before the report is ready.409 report_not_ready.
10Get the PDF of a task from another client.404 not_found.
11The branch sends a result back. FVS completes it again.A second result with a higher seq.
12Stop your poller in the middle of a page, then start it again.No result is lost or saved twice.
13Send 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.
14Send 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.
15Send 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.
16FVS 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.
17FVS 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.
18Your webhook answers 503 to the first post.About 1 minute later, FVS posts the same message_id again with attempt: 2.
19Change one byte of a post body, then check the signature.Your check refuses the post.
20Read /outcomes. Confirm one message with the confirm route. Confirm it again.200 both times, with confirmed_via: api.
21The 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.
22Send 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

  1. Your webhook address, and if you want status messages.
  2. Your status codes for each request type and outcome.
  3. Your IP ranges for the allow-list.
  4. The request types each unit needs, from T1, T2, T3 and T4.
  5. 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-ID of the call.
  • The bank_request_id or task_id.
  • The route, the HTTP status and the code.
  • The time of the call, with the time zone.
Never send

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