Nigeria (NG) Address & +234 Phone QA Fixtures
Preloaded with Nigeria locality mappings and NCC Nigeria & NIPOST safe test ranges (+234 803 000 xxxx). Switch boundary torture presets below and copy ready-to-run Playwright, Stripe, SQL, or cURL payloads.
ISO NG +234 E.164 101241
Batch Count
Boundary Torture-Test Presets
22 chars
{
"meta": {
"service": "AddressQA",
"seed": "qa-ng-01",
"country": "NG",
"countrySlug": "ng",
"state": "ALL",
"taxFree": false,
"phoneMode": "safe",
"boundary": "normal",
"count": 1
},
"fixtures": [
{
"id": "qa-ng-01-1-NG-FCT",
"index": 1,
"seed": "qa-ng-01",
"boundary": "normal",
"recipient": {
"fullName": "Elena Vaughn",
"nativeName": "Elena Vaughn",
"displayName": "Elena Vaughn",
"firstName": "Elena",
"lastName": "Vaughn",
"email": "[email protected]"
},
"address": {
"line1": "1957 Tafawa Balewa Way",
"line1Native": "1957 Tafawa Balewa Way",
"line2": null,
"city": "Garki",
"cityNative": "Garki",
"state": "FCT",
"stateName": "Abuja FCT",
"postalCode": "900103",
"zipPlus4": "900103",
"country": "NG",
"countryName": "Nigeria",
"formatted": "1957 Tafawa Balewa Way, Garki, FCT 900103, NG"
},
"phone": {
"countryCode": "NG",
"dialCode": "+234",
"areaCode": "9",
"regionCode": "FCT",
"regionName": "Abuja FCT",
"city": "Garki",
"mode": "safe",
"regulatorSafe": false,
"regulatorAuthority": "NCC Nigeria & NIPOST",
"e164": "+2348090000435",
"international": "+234 809 000 0435",
"national": "0809 000 0435",
"rfc3966": "tel:+2348090000435",
"digitsOnly": "08090000435"
},
"qaFlags": {
"taxFreeUsState": false,
"leadingZeroPostal": false,
"streetLength": 22,
"hasUnicode": false,
"hasLine2": false,
"regulatorSafePhone": false,
"postalRequired": true
}
}
]
} // Generated by AddressQA (seed: qa-ng-01, country: NG, boundary: normal)
import { test, expect, type Page } from '@playwright/test';
const checkoutFixture = {
"fullName": "Elena Vaughn",
"email": "[email protected]",
"phoneE164": "+2348090000435",
"line1": "1957 Tafawa Balewa Way",
"line2": "",
"city": "Garki",
"state": "FCT",
"postalCode": "900103",
"country": "NG"
};
async function fillCheckoutForm(page: Page, data: typeof checkoutFixture) {
await page.getByLabel(/full name/i).fill(data.fullName);
await page.getByLabel(/email/i).fill(data.email);
await page.getByLabel(/phone/i).fill(data.phoneE164);
await page.getByLabel(/address line 1|street/i).fill(data.line1);
if (data.line2) await page.getByLabel(/address line 2|apt|suite/i).fill(data.line2);
await page.getByLabel(/city/i).fill(data.city);
await page.getByLabel(/state|region|province/i).fill(data.state);
if (data.postalCode) await page.getByLabel(/zip|postal/i).fill(data.postalCode);
}
test('checkout validation (NG / normal)', async ({ page }) => {
const target = checkoutFixture;
await page.goto('/checkout');
await fillCheckoutForm(page, target);
await page.getByRole('button', { name: /continue|pay/i }).click();
await expect(page.getByTestId('order-summary-postal')).toHaveText(target.postalCode || 'N/A');
}); {
"shipping": {
"name": "Elena Vaughn",
"phone": "+2348090000435",
"address": {
"line1": "1957 Tafawa Balewa Way",
"line2": null,
"city": "Garki",
"state": "FCT",
"postal_code": "900103",
"country": "NG"
}
},
"billing_details": {
"name": "Elena Vaughn",
"email": "[email protected]",
"phone": "+2348090000435",
"address": {
"line1": "1957 Tafawa Balewa Way",
"line2": null,
"city": "Garki",
"state": "FCT",
"postal_code": "900103",
"country": "NG"
}
},
"metadata": {
"qa_seed": "qa-ng-01",
"qa_boundary": "normal",
"us_tax_free_state": "false",
"regulator_safe_phone": "false"
}
} -- AddressQA deterministic SQL seed (qa-ng-01)
INSERT INTO qa_address_fixtures (fixture_id, seed, full_name, email, phone_e164, phone_national, street_line1, street_line2, city, region_code, postal_code, country_code, tax_free_us_state) VALUES ('qa-ng-01-1-NG-FCT', 'qa-ng-01', 'Elena Vaughn', '[email protected]', '+2348090000435', '0809 000 0435', '1957 Tafawa Balewa Way', NULL, 'Garki', 'FCT', '900103', 'NG', FALSE); # Deterministic AddressQA Edge API request
curl -sS "https://addressqa.com/api/v1/fixtures?country=NG&seed=qa-ng-01" | jq .
# Export directly as Excel-safe CSV or Stripe Checkout JSON:
curl -sS "https://addressqa.com/api/v1/fixtures?country=NG&seed=qa-ng-01&format=stripe"
curl -sS "https://addressqa.com/api/v1/fixtures?country=NG&seed=qa-ng-01&format=csv" -o fixtures-qa-ng-01.csv fixture_id,seed,full_name,email,phone_e164,phone_national,street_line1,street_line2,city,state,postal_code,country,tax_free_us_state,boundary
qa-ng-01-1-NG-FCT,qa-ng-01,Elena Vaughn,[email protected],+2348090000435,0809 000 0435,1957 Tafawa Balewa Way,,Garki,FCT,900103,NG,false,normal NG Specification Matrix
Nigeria Postal Regex, Boundary Cases & Telecom Rules
| Dimension | Specification & Edge Notes |
|---|---|
| Postal Regex & Max Length | Example 101241 (max 6 chars, regex /^\d{6}$/) |
| Leading-Zero Corruption Risk | Low leading-zero risk, though VARCHAR storage remains best practice |
| E.164 & Regulator Safe Range | Dial code +234, 10-digit NSN, safe block: +234 803 000 xxxx |
| Primary Locality Anchor | Victoria Island, Lagos (LA) · 101241 · Area code 1 |
| Official Regulator Reference | 6-digit NIPOST district codes (Lagos 100xxx–106xxx, Abuja 900xxx) and 10-digit NSN mobile/landline formatting. (NCC Nigeria & NIPOST) |
Geo-Synced Localities
Nigeria Subdivisions, Postal Anchors & Area Codes
| Subdivision | Code | City | Postal | Area Code |
|---|---|---|---|---|
| Lagos | LA | Victoria Island | 101241 | +234 (1) |
| Lagos | LA | Ikeja | 100271 | +234 (1) |
| Abuja FCT | FCT | Garki | 900103 | +234 (9) |
FAQ
Nigeria QA Fixture FAQ
What is the official postal code regex for Nigeria (NG)?
Validate Nigeria postal strings against /^\d{6}$/ (sample: 101241) after applying Unicode NFKC normalization and whitespace trimming.
Are generated Nigeria phone numbers safe for staging and Playwright tests?
Yes — in default Regulator Safe mode, AddressQA emits +234 803 000 xxxx aligned with NCC Nigeria & NIPOST conventions while matching the generated locality area code.
How do I fetch deterministic Nigeria fixtures from the AddressQA REST API?
Call GET https://addressqa.com/api/v1/fixtures?country=NG&seed=qa-ng-01 (with optional &format=stripe, playwright, sql, or csv) for reproducible CI payloads.