United States
19801
Preloaded with Mexico locality mappings and IFT & SEPOMEX safe test ranges (+52 55 0000 xxxx). Switch boundary torture presets below and copy ready-to-run Playwright, Stripe, SQL, or cURL payloads.
{
"meta": {
"service": "AddressQA",
"seed": "qa-mx-01",
"country": "MX",
"countrySlug": "mx",
"state": "ALL",
"taxFree": false,
"phoneMode": "safe",
"boundary": "normal",
"count": 1
},
"fixtures": [
{
"id": "qa-mx-01-1-MX-CMX",
"index": 1,
"seed": "qa-mx-01",
"boundary": "normal",
"recipient": {
"fullName": "Zaid Yilmaz",
"nativeName": "Zaid Yilmaz",
"displayName": "Zaid Yilmaz",
"firstName": "Zaid",
"lastName": "Yilmaz",
"email": "[email protected]"
},
"address": {
"line1": "Paseo de la Reforma 209",
"line1Native": "Paseo de la Reforma 209",
"line2": "Suite 286",
"city": "Cuauhtemoc",
"cityNative": "Cuauhtémoc",
"state": "CMX",
"stateName": "Mexico City",
"postalCode": "06500",
"zipPlus4": "06500",
"country": "MX",
"countryName": "Mexico",
"formatted": "Paseo de la Reforma 209, Suite 286, Cuauhtemoc, CMX 06500, MX"
},
"phone": {
"countryCode": "MX",
"dialCode": "+52",
"areaCode": "55",
"regionCode": "CMX",
"regionName": "Mexico City",
"city": "Cuauhtemoc",
"mode": "safe",
"regulatorSafe": false,
"regulatorAuthority": "IFT & SEPOMEX",
"e164": "+523300000056",
"international": "+52 330 000 0056",
"national": "330 000 0056",
"rfc3966": "tel:+523300000056",
"digitsOnly": "3300000056"
},
"qaFlags": {
"taxFreeUsState": false,
"leadingZeroPostal": true,
"streetLength": 23,
"hasUnicode": false,
"hasLine2": true,
"regulatorSafePhone": false,
"postalRequired": true
}
}
]
} // Generated by AddressQA (seed: qa-mx-01, country: MX, boundary: normal)
import { test, expect, type Page } from '@playwright/test';
const checkoutFixture = {
"fullName": "Zaid Yilmaz",
"email": "[email protected]",
"phoneE164": "+523300000056",
"line1": "Paseo de la Reforma 209",
"line2": "Suite 286",
"city": "Cuauhtemoc",
"state": "CMX",
"postalCode": "06500",
"country": "MX"
};
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 (MX / 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": "Zaid Yilmaz",
"phone": "+523300000056",
"address": {
"line1": "Paseo de la Reforma 209",
"line2": "Suite 286",
"city": "Cuauhtemoc",
"state": "CMX",
"postal_code": "06500",
"country": "MX"
}
},
"billing_details": {
"name": "Zaid Yilmaz",
"email": "[email protected]",
"phone": "+523300000056",
"address": {
"line1": "Paseo de la Reforma 209",
"line2": "Suite 286",
"city": "Cuauhtemoc",
"state": "CMX",
"postal_code": "06500",
"country": "MX"
}
},
"metadata": {
"qa_seed": "qa-mx-01",
"qa_boundary": "normal",
"us_tax_free_state": "false",
"regulator_safe_phone": "false"
}
} -- AddressQA deterministic SQL seed (qa-mx-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-mx-01-1-MX-CMX', 'qa-mx-01', 'Zaid Yilmaz', '[email protected]', '+523300000056', '330 000 0056', 'Paseo de la Reforma 209', 'Suite 286', 'Cuauhtemoc', 'CMX', '06500', 'MX', FALSE); # Deterministic AddressQA Edge API request
curl -sS "https://addressqa.com/api/v1/fixtures?country=MX&seed=qa-mx-01" | jq .
# Export directly as Excel-safe CSV or Stripe Checkout JSON:
curl -sS "https://addressqa.com/api/v1/fixtures?country=MX&seed=qa-mx-01&format=stripe"
curl -sS "https://addressqa.com/api/v1/fixtures?country=MX&seed=qa-mx-01&format=csv" -o fixtures-qa-mx-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-mx-01-1-MX-CMX,qa-mx-01,Zaid Yilmaz,[email protected],+523300000056,330 000 0056,Paseo de la Reforma 209,Suite 286,Cuauhtemoc,CMX,"=""06500""",MX,false,normal | Dimension | Specification & Edge Notes |
|---|---|
| Postal Regex & Max Length | Example 06500 (max 5 chars, regex /^\d{5}$/) |
| Leading-Zero Corruption Risk | High (e.g. 06500) — store as VARCHAR/TEXT and quote CSV cells |
| E.164 & Regulator Safe Range | Dial code +52, 10-digit NSN, safe block: +52 55 0000 xxxx |
| Primary Locality Anchor | Cuauhtemoc, Mexico City (CMX) · 06500 · Area code 55 |
| Official Regulator Reference | Unified 10-digit Mexican national numbering (+52 without legacy 1 prefix) and leading-zero CDMX postal codes (06500). (IFT & SEPOMEX) |
| Subdivision | Code | City | Postal | Area Code |
|---|---|---|---|---|
| Ciudad de México (Mexico City) | CMX | Cuauhtémoc (Cuauhtemoc) | 06500 | +52 (55) |
19801
M5V 3L9