Skip to main content

apiverve_taxidvalidator 1.2.6 copy "apiverve_taxidvalidator: ^1.2.6" to clipboard
apiverve_taxidvalidator: ^1.2.6 copied to clipboard

Tax ID Validator checks US tax identification numbers including SSNs, EINs, and ITINs for structural validity. It accepts formatted or unformatted strings and returns validation results, normalized fo [...]

Tax ID Validator API - Dart/Flutter Client #

Tax ID Validator checks US tax identification numbers including SSNs, EINs, and ITINs for structural validity. It accepts formatted or unformatted strings and returns validation results, normalized formatting, masked numbers, and the last four digits.

pub package License: MIT

This is the Dart/Flutter client for the Tax ID Validator API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_taxidvalidator: ^1.2.6

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_taxidvalidator/apiverve_taxidvalidator.dart';

void main() async {
  final client = TaxidvalidatorClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'taxid': '123-45-6789',
      'type': 'ein'
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "valid": true,
    "taxid": "123-45-6789",
    "type": "SSN",
    "type_full": "Social Security Number",
    "format": "XXX-XX-XXXX",
    "normalized": "123-45-6789",
    "digits_only": "123456789",
    "masked": "***-**-6789",
    "last4": "6789",
    "is_placeholder": true,
    "validation_details": {
      "format_valid": true,
      "area_number_valid": true,
      "group_number_valid": true,
      "serial_number_valid": true
    },
    "risk_score": 35,
    "risk_level": "medium",
    "error": null
  }
}

API Reference #

Authentication #

All requests require an API key. Get yours at apiverve.com.

License #

MIT License - see LICENSE for details.


Built with Dart for APIVerve

0
likes
120
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Tax ID Validator checks US tax identification numbers including SSNs, EINs, and ITINs for structural validity. It accepts formatted or unformatted strings and returns validation results, normalized formatting, masked numbers, and the last four digits.

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_taxidvalidator