UNPKG

cobalt-int-sdk

Version:

Wrapper around Cobalt Intelligence services, such as the Secretary of State API.

31 lines (30 loc) 726 B
interface ITINResponseBody { /** * The submitted name of the business. */ name: string; /** * The submitted TIN. */ tin: string; /** * The status of the TIN verifiation, whether it matched or not. */ status: string; /** * The IRS code returned from the verification. */ irsCode: number; /** * The IRS reason returned from the verification. */ irsReason: string; irsServiceStatus: string; lastIRSCheckDate: string; } export declare class TINVerification { private apiKey; constructor(apiKey: string); verifyTIN(tin: string, businessName: string): Promise<ITINResponseBody>; } export {};