# /catalogs/master/zipcodes/{idzipcode} ## Purpose Retrieves ZIP code metadata including city name, state ISO code, and full state name. ## When to use Use this endpoint to: - Auto-populate city/state after ZIP entry - Validate sender address data prior to transaction creation ## Authentication Requires x-client-id and x-secret-key headers. ## Notes - idzipcode is provided as a path parameter. ## Common errors - 400 Validation errors - 401 Invalid credentials - 404 ZIP code not found (when applicable) - 500 Internal error Endpoint: GET /catalogs/master/zipcodes/{idzipcode} Version: 1.0.0 ## Header parameters: - `x-client-id` (string, required) Error codes: required=400001, type=400002, minLength=400003, maxLength=400004 Example: "xxxx123456789" - `x-secret-key` (string, required) Error codes: required=400001, type=400002, minLength=400003, maxLength=400004 Example: "xxxx987654321" ## Path parameters: - `idzipcode` (string, required) Zipcode to lookup Example: "33101" ## Response 200 fields (application/json): - `cityName` (string) - `stateIso2` (string) - `stateName` (string) ## Response 400 fields (application/json): - `errors` (array) List of object errorsError catalog for 400 (click to expand)CodeDescription400000The body of the request is required. Invalid JSON format of the request body.400001client_id is required400005secret_key is required - `errors.status` (string) - `errors.code` (number) - `errors.message` (string) - `errors.details` (string) ## Response 401 fields (application/json): - `errors` (array) List of object errorsError catalog for 401 (click to expand)CodeDescription401000Invalid credentials - `errors.status` (string) - `errors.code` (number) - `errors.message` (string) - `errors.details` (string) ## Response 404 fields (application/json): - `errors` (array) List of object errorsError catalog for 404 (click to expand)CodeDescription401000Location not found - `errors.status` (string) - `errors.code` (number) - `errors.message` (string) - `errors.details` (string) ## Response 500 fields (application/json): - `errors` (array) List of object errorsError catalog for 500 (click to expand)CodeDescription500000Internal Error - `errors.status` (string) - `errors.code` (number) - `errors.message` (string) - `errors.details` (string)