日本
150-0001
预加载韩国真实城市邮编映射与 MSIT & Korea Post 合规号段(+82 10-0000-xxxx / +82 2-0000-xxxx),支持在下方分屏控制台一键切换边界压测并导出 Playwright / Stripe / SQL / CSV。
{
"meta": {
"service": "AddressQA",
"seed": "qa-kr-01",
"country": "KR",
"countrySlug": "kr",
"state": "ALL",
"taxFree": false,
"phoneMode": "safe",
"boundary": "normal",
"count": 1
},
"fixtures": [
{
"id": "qa-kr-01-1-KR-26",
"index": 1,
"seed": "qa-kr-01",
"boundary": "normal",
"recipient": {
"fullName": "Woojin Kwon",
"nativeName": "안지환",
"displayName": "안지환 (Woojin Kwon)",
"firstName": "Woojin",
"lastName": "Kwon",
"email": "woojin.kwon.39@fixtures.example"
},
"address": {
"line1": "361 Haeundaehaebyeon-ro",
"line1Native": "해운대해변로 361",
"line2": null,
"city": "Haeundae-gu",
"cityNative": "해운대구",
"state": "26",
"stateName": "Busan",
"postalCode": "48058",
"zipPlus4": "48058",
"country": "KR",
"countryName": "South Korea",
"formatted": "361 Haeundaehaebyeon-ro, Haeundae-gu, 26 48058, KR"
},
"phone": {
"countryCode": "KR",
"dialCode": "+82",
"areaCode": "51",
"regionCode": "26",
"regionName": "Busan",
"city": "Haeundae-gu",
"mode": "safe",
"regulatorSafe": false,
"regulatorAuthority": "MSIT & Korea Post",
"e164": "+821000000487",
"international": "+82 10-0000-0487",
"national": "010-0000-0487",
"rfc3966": "tel:+821000000487",
"digitsOnly": "01000000487"
},
"qaFlags": {
"taxFreeUsState": false,
"leadingZeroPostal": false,
"streetLength": 23,
"hasUnicode": true,
"hasLine2": false,
"regulatorSafePhone": false,
"postalRequired": true
}
}
]
} // Generated by AddressQA (seed: qa-kr-01, country: KR, boundary: normal)
import { test, expect, type Page } from '@playwright/test';
const checkoutFixture = {
"fullName": "Woojin Kwon",
"email": "woojin.kwon.39@fixtures.example",
"phoneE164": "+821000000487",
"line1": "361 Haeundaehaebyeon-ro",
"line2": "",
"city": "Haeundae-gu",
"state": "26",
"postalCode": "48058",
"country": "KR"
};
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 (KR / 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": "Woojin Kwon",
"phone": "+821000000487",
"address": {
"line1": "361 Haeundaehaebyeon-ro",
"line2": null,
"city": "Haeundae-gu",
"state": "26",
"postal_code": "48058",
"country": "KR"
}
},
"billing_details": {
"name": "Woojin Kwon",
"email": "woojin.kwon.39@fixtures.example",
"phone": "+821000000487",
"address": {
"line1": "361 Haeundaehaebyeon-ro",
"line2": null,
"city": "Haeundae-gu",
"state": "26",
"postal_code": "48058",
"country": "KR"
}
},
"metadata": {
"qa_seed": "qa-kr-01",
"qa_boundary": "normal",
"us_tax_free_state": "false",
"regulator_safe_phone": "false"
}
} -- AddressQA deterministic SQL seed (qa-kr-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-kr-01-1-KR-26', 'qa-kr-01', 'Woojin Kwon', 'woojin.kwon.39@fixtures.example', '+821000000487', '010-0000-0487', '361 Haeundaehaebyeon-ro', NULL, 'Haeundae-gu', '26', '48058', 'KR', FALSE); # Deterministic AddressQA Edge API request
curl -sS "https://addressqa.com/api/v1/fixtures?country=KR&seed=qa-kr-01" | jq .
# Export directly as Excel-safe CSV or Stripe Checkout JSON:
curl -sS "https://addressqa.com/api/v1/fixtures?country=KR&seed=qa-kr-01&format=stripe"
curl -sS "https://addressqa.com/api/v1/fixtures?country=KR&seed=qa-kr-01&format=csv" -o fixtures-qa-kr-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-kr-01-1-KR-26,qa-kr-01,Woojin Kwon,woojin.kwon.39@fixtures.example,+821000000487,010-0000-0487,361 Haeundaehaebyeon-ro,,Haeundae-gu,26,48058,KR,false,normal | 校验维度 | 规范与边界说明 |
|---|---|
| 邮编正则与长度 | 示例 06164(最大长度 5,正则 /^\d{5}$/) |
| 前导零截断风险 | 高风险(例如 06164)— 严禁存为 INT,CSV 须加引号保护 |
| E.164 电话与区号同步 | 国家码 +82,标准有效长度 10 位,安全段 +82 10-0000-xxxx / +82 2-0000-xxxx |
| 典型测试城市样本 | Gangnam-gu (11) · 邮编 06164 · 区号 2 |
| 权威标准来源 | 韩国 5 位新版邮编(首尔全境以 0 开头,如 06164)搭配韩文道路名地址与 010-0000-xxxx 合成测试号。 (MSIT & Korea Post) |
| 行政区 | 代码 | 城市 | 邮编 | 区号 |
|---|---|---|---|---|
| 서울특별시 (Seoul) | 11 | 강남구 (Gangnam-gu) | 06164 | +82 (2) |
| 서울특별시 (Seoul) | 11 | 종로구 (Jongno-gu) | 03154 | +82 (2) |
| 부산광역시 (Busan) | 26 | 해운대구 (Haeundae-gu) | 48058 | +82 (51) |
150-0001
106
049315
No Postal Code