Zyphe SDK: TIN Check API
The SDK: TIN Check API from Zyphe — 3 operation(s) for sdk: tin check.
The SDK: TIN Check API from Zyphe — 3 operation(s) for sdk: tin check.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/zyphe-com:zyphe-com-sdk-tin-check-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: 'zyphe-sdk SDK: TIN Check API'
description: ''
version: 3.15.0
tags:
- name: 'SDK: TIN Check'
paths:
/sdk/organizations/{organization_id}/tin-checks:
get:
tags:
- 'SDK: TIN Check'
summary: List TIN checks
description: 'Lists your organization''s TIN checks, newest first, whether they were run from the dashboard,
with an API key, or on a KYB submission. Each check comes with its results, and the TIN is
masked to its last four digits. Filter by `flowResultId` to get the checks of a KYB result.'
operationId: sdkListTinChecks
parameters:
- name: organization_id
in: path
description: Organization ID
required: true
schema:
type: string
format: uuid
- name: take
in: query
description: Page size (default 50, max 200).
required: false
schema:
type: integer
format: int64
minimum: 0
- name: skip
in: query
required: false
schema:
type: integer
format: int64
minimum: 0
- name: verificationRequestId
in: query
description: Only the checks run on this KYB anchor's verification request.
required: false
schema:
type: string
format: uuid
- name: flowResultId
in: query
description: 'Only the checks run on this flow result''s verification requests: the checks of its KYB
result. A KYB result of a split flow names no verification request of its own, so this is
how the dashboard finds them. Ignored when `verificationRequestId` is given.'
required: false
schema:
type: string
format: uuid
- name: sandbox
in: query
required: true
schema:
type: boolean
style: form
- name: locale
in: query
required: false
schema:
$ref: '#/components/schemas/Locale'
style: form
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TinCheckListResponse'
'401':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'403':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'500':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
security:
- x-api-key: []
post:
tags:
- 'SDK: TIN Check'
summary: Run a TIN check
description: 'Checks whether a US Taxpayer Identification Number (SSN or EIN) and a name match IRS records.
The same check can also validate a US mailing address and look up a FATCA GIIN. A check that
returns an answer is charged in credits ("Get the price of a TIN check" tells how many); a TIN
refused as invalid or an unavailable check costs nothing. In sandbox, checks are free and
answered from sample data, and `mock` lets you choose the answer.'
operationId: sdkRunTinCheck
parameters:
- name: organization_id
in: path
description: Organization ID
required: true
schema:
type: string
format: uuid
- name: sandbox
in: query
required: true
schema:
type: boolean
style: form
- name: locale
in: query
required: false
schema:
$ref: '#/components/schemas/Locale'
style: form
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/RunTinCheckRequest'
required: true
responses:
'201':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TinCheckResponse'
'400':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'401':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'402':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'403':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'422':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'429':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'500':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'503':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
security:
- x-api-key: []
/sdk/organizations/{organization_id}/tin-checks/quote:
get:
tags:
- 'SDK: TIN Check'
summary: Get the price of a TIN check
description: What the next check costs this organization, in credits. Zero in the sandbox.
operationId: sdkGetTinCheckQuote
parameters:
- name: organization_id
in: path
description: Organization ID
required: true
schema:
type: string
format: uuid
- name: sandbox
in: query
required: true
schema:
type: boolean
style: form
- name: locale
in: query
required: false
schema:
$ref: '#/components/schemas/Locale'
style: form
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TinCheckQuoteResponse'
'401':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'402':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'403':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'500':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
security:
- x-api-key: []
/sdk/organizations/{organization_id}/tin-checks/{check_id}:
get:
tags:
- 'SDK: TIN Check'
summary: Get one TIN check
description: 'The check with everything it found. `404` when the id is unknown in this organization and
environment.'
operationId: sdkGetTinCheck
parameters:
- name: organization_id
in: path
description: Organization ID
required: true
schema:
type: string
format: uuid
- name: check_id
in: path
description: TIN check ID
required: true
schema:
type: string
format: uuid
- name: sandbox
in: query
required: true
schema:
type: boolean
style: form
- name: locale
in: query
required: false
schema:
$ref: '#/components/schemas/Locale'
style: form
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/TinCheckResponse'
'401':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'403':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'404':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
'500':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaxeError'
security:
- x-api-key: []
components:
schemas:
BaxeError:
type: object
required:
- code
- errorTag
properties:
code:
type: integer
format: int32
minimum: 0
errorTag:
$ref: '#/components/schemas/ErrorTags'
message:
type:
- string
- 'null'
TinCheckSubmittedLookup:
type: object
description: 'An optional lookup that ran because a value was submitted for it: what was submitted, and the
lookup service''s answer.'
required:
- submitted
properties:
result:
type:
- string
- 'null'
description: The lookup service's answer, in its own words (English). Absent when it gave none.
submitted:
type: string
description: The value that was submitted.
TinCheckWatchlist:
type: object
description: One watchlist the name was screened against, and how many of its entries resemble the name.
required:
- list
- flagged
- possibleMatches
properties:
flagged:
type: boolean
description: Whether the list has entries that resemble the name.
list:
type: string
description: The list's short name, for example `OFAC` or `PEP`.
matchData:
type:
- string
- 'null'
description: 'The resembling entries, as the lookup service reports them: an XML document whose layout
varies by list. Absent when the list is clear.'
possibleMatches:
type: integer
format: int32
description: 'How many entries on the list resemble the name. Zero on a clear list, and on a flagged
one whose entries the lookup service did not count.'
TinCheckLookupStatus:
type: string
description: The answer of one of the lookups that run alongside the IRS match.
enum:
- NOT_PROCESSED
- NO_MATCH
- POSSIBLE_MATCH
ErrorTags:
type: string
enum:
- unexpected
- bad_request
- permission_denied
- request_deserialization
- database
- invalid_email_or_password
- user_not_confirmed
- verify_password
- send_email
- user_disabled
- missing_authorization_header
- invalid_authorization_header
- token_generation
- user_not_found
- email_already_taken
- invalid_invite
- wrong_invite_user
- invite_not_found
- email_already_verified
- flow_not_found
- flow_step_not_found
- organization_not_found
- organization_under_retention
- kyb_result_not_soft_deleted
- kyb_result_without_flow_result
- kyb_result_under_retention
- kyb_result_forced_deletion_only_in_production
- kyb_result_deletion_already_requested
- kyb_result_deletion_self_approval
- kyb_result_deletion_request_expired
- kyb_result_deletion_request_not_pending
- kyb_declaration_requires_discovery
- storage
- verification_request_not_found
- document_reader
- organization_settings_not_found
- theme_not_found
- start_job
- result_not_found
- kyc_grant_not_found
- document_not_found
- service_invocation
- trigger_webhook
- too_many_invites
- invite_already_used
- invite_already_accepted
- invite_already_revoked
- invite_revoked
- invite_expired
- invite_already_exists
- share_already_revoked
- form_not_found
- form_in_use
- flow_step_configuration_not_found
- identity_not_found
- step_order_violation
- serialization
- mock_data
- api_key_not_found
- not_implemented
- access_grant
- rate_limit_exceeded
- missing_api_key
- invalid_api_key
- origin_not_allowed
- step_already_completed
- send_sms
- send_notification
- parse_error
- inviter_organization_not_found
- forbidden
- passkey_authentication
- internal
- invalid_email
- email_domain_not_allowed
- work_email_required
- graph_validation
- external_api
- share_already_has_write_access
- share_does_not_have_write_access
- write_access_already_revoked
- invite_required
- billing
- billing_email_required
- product_not_active
- registration_offer_not_found
- registration_offer_unavailable
- registration_offer_invalid_terms
- topup_pack_unlocks_unpriced
- credit_adjustment_below_paid_credits
- no_stripe_customer
- score_rule_not_found
- score_rule_field_outside_scores
- score_rule_unknown_score
- score_rule_score_disabled
- score_rule_score_not_yet_computed
- score_rule_set_score_out_of_range
- score_rule_effect_kind_mismatch
- kyb_case_not_decidable
- kyb_case_not_ready
- kyb_case_exception_required
- kyb_case_rejecting_hit
- kyb_case_reason_required
- kyb_case_decision_not_authorized
- kyb_case_second_signature_required
- kyb_case_contact_required
- kyb_case_contact_locked
- kyb_screening_case_moved
- kyb_screening_case_reopen_not_allowed
- screening_proposal_changed
- kyb_case_country_locked
- kyb_incorporation_date_not_past
- kyb_registration_number_is_registry_entry
- kyb_registration_number_unrecognised
- compliance_policy_open_questions
- tin_check_invalid_tin
- tin_check_unavailable
- tin_check_ein_required
- tin_check_mismatch
- tin_check_attempts_exhausted
- flow_template_not_found
- flow_template_key_taken
- flow_template_invalid_key
- flow_template_source_is_template
- flow_template_analyst_entry_invalid
- flow_template_kyc_flow_invalid
- flow_template_kyc_in_use
- flow_template_empty
- flow_template_kind_mismatch
- flow_template_steps_invalid
- flow_template_kyc_not_active
- flow_template_kyc_not_available
- flow_template_sandbox_only
- flow_template_kyc_missing_in_production
- flow_draft_not_found
- flow_draft_version_conflict
- tm_case_changed
- tm_case_selection_invalid
- sar_subject_not_suspicious
- sar_decision_concurrent
- case_handed_off
- tm_import_file_empty
- tm_import_file_too_many_rows
- tm_import_file_invalid_format
- tm_import_file_invalid_mode
- tm_import_file_invalid_customer_field
- tm_import_file_invalid_columns
- tm_import_file_not_utf8
- tm_import_file_unknown_field
- tm_import_file_mapped_column_missing
- tm_import_file_required_column_missing
- tm_import_file_amount_column_missing
- tm_import_file_currency_column_missing
- tm_import_file_no_rows
- tm_import_file_unclosed_quote
- tm_import_file_nacha_customer_field
- tm_import_file_not_text
- tm_import_file_not_fixed_width
- tm_import_file_record_length
- tm_import_file_no_file_header
- tm_import_file_invalid_creation_date
- tm_import_file_batch_header_inside_batch
- tm_import_file_entry_outside_batch
- tm_import_file_amount_not_a_number
- tm_import_file_addenda_outside_batch
- tm_import_file_batch_control_outside_batch
- tm_import_file_file_control_inside_batch
- tm_import_file_unknown_record_type
- tm_import_file_batch_without_control
- tm_import_file_no_file_control
- tm_import_file_file_control_mismatch
- tm_import_file_file_control_not_a_number
- tm_import_file_batch_control_mismatch
- tm_import_file_batch_control_not_a_number
- tm_import_file_no_entries
- tm_import_already_imported
- tm_import_not_covered
- tm_import_no_active_subscription
- tm_import_confirm_not_draft
- tm_import_no_valid_row
- tm_import_confirmed_or_discarded_meanwhile
- tm_import_not_queued
- tm_import_discard_not_draft
- tm_import_history_not_sent
- tm_import_send_not_completed
- tm_import_already_sent
- tm_import_not_pending_of_import
- tm_import_history_needs_org_admin
- tm_import_no_default_policy
- tm_import_policy_unavailable
- tm_import_policy_changed
- tm_import_purpose_changed
- tm_import_clause_review_failed
- tm_import_job_not_queued
- tm_import_policy_not_default
- tm_policy_not_found
- tm_policy_name_taken
- tm_policy_draft_exists
- tm_policy_draft_changed
- tm_policy_extraction_pending
- tm_policy_draft_outdated
- tm_policy_name_empty
- tm_policy_name_too_long
- tm_policy_description_too_long
- tm_policy_unknown_jurisdiction
- tm_policy_too_many_rules
- tm_policy_too_many_clauses
- tm_policy_clause_without_id
- tm_policy_duplicate_clause
- tm_policy_clause_without_text
- tm_policy_duplicate_rule_key
- tm_policy_rule_without_name
- tm_policy_invalid_rule
- tm_policy_rule_unknown_clause
- tm_policy_rule_agent_clause
- tm_policy_nothing_to_publish
- tm_policy_clause_unimplemented
- tm_policy_question_open
- tm_policy_rule_unreviewed
- tm_policy_is_default
- tm_policy_not_published
- tm_policy_archived
- tm_policy_document_rejected
- tm_policy_review_unknown_clause
- tm_policy_review_unknown_rule
- tm_policy_review_unknown_question
- tm_policy_review_empty_clause
- flow_draft_name_invalid
- flow_draft_incomplete
- flow_draft_kyb_invalid
- flow_draft_agent_research_invalid
- flow_draft_business_info_form_invalid
- flow_draft_documents_invalid
- flow_draft_ubos_invalid
- flow_draft_directors_invalid
- two_factor_invalid_code
- two_factor_locked
- two_factor_already_enabled
- two_factor_not_enabled
- two_factor_required_by_organization
- two_factor_required_by_platform
- two_factor_reauthentication_required
- two_factor_reauthentication_failed
- two_factor_reauthentication_locked
- company_website_analysis_not_found
- company_website_analysis_invalid_url
- company_website_analysis_limit_reached
- company_website_analysis_not_completed
- company_website_analysis_no_brand
- company_website_analysis_disabled
- step_still_processing
- step_moderation_not_allowed
- operator_upload_not_enabled
- operator_upload_no_passed_id
- operator_upload_no_poa_step
- operator_upload_steps_incomplete
- operator_upload_file_too_large
- dv_operator_upload_fraud_flagged
- dv_operator_upload_admin_review
- dv_operator_upload_attempts_exhausted
- dv_operator_upload_locked
- kyb_document_upload_not_allowed
- kyb_base_price_unavailable
- kyb_discovery_country_unsupported
- connection_duplicate
- connection_live_disabled
- connection_provider_not_supported
- connection_credential_invalid
- connection_credential_revoked
- connection_credential_refused
- connection_provider_unavailable
- connection_no_webhook_secret
- connection_no_test_delivery
- connection_guard_policy_not_applicable
- connection_auto_pilot_no_signed_backtest
- connection_auto_pilot_backtest_expired
- external_alert_action_invalid
- external_alert_action_not_permitted
- external_alert_changed
- guard_policy_invalid
- guard_policy_version_taken
TinCheckListResponse:
type: object
required:
- items
- total
properties:
items:
type: array
items:
$ref: '#/components/schemas/TinCheckResponse'
description: Newest first.
total:
type: integer
format: int64
minimum: 0
TinCheckTinType:
type: string
description: Which kind of IRS record a matching TIN belongs to, when the IRS says.
enum:
- SSN
- EIN
- SSN_AND_EIN
TinCheckOutcome:
type: string
description: 'The verdict of a TIN check: whether the TIN and name combination matches IRS records.'
enum:
- MATCH
- MISMATCH
- NOT_ISSUED
TinCheckMockOptions:
type: object
description: The answer a sandbox mock check should give, stated instead of looked up. Sandbox only.
required:
- outcome
properties:
addressFound:
type:
- boolean
- 'null'
description: Whether a submitted address is found in the USPS database. Defaults to found.
deathMasterFileMatch:
type: boolean
description: Report a possible Death Master File match.
einNameMatch:
type: boolean
description: Report the EIN as on record under another name.
giinFound:
type:
- boolean
- 'null'
description: Whether a submitted GIIN is found on the FATCA list. Defaults to found.
outcome:
$ref: '#/components/schemas/TinCheckMockOutcome'
tinType:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/TinCheckTinType'
description: Which kind of IRS record matched. Only read for a `MATCH`.
watchlistMatches:
type:
- integer
- 'null'
format: int32
description: How many entries resemble the name on each flagged list. Defaults to 2.
watchlists:
type: array
items:
type: string
description: The watchlists to flag, by short code (`OFAC`, `PEP`, ...). Every other list answers clear.
TinCheckQuoteResponse:
type: object
description: What the next TIN check costs this organization.
required:
- credits
properties:
credits:
type: integer
format: int32
description: The price of one check, in credits. Zero in the sandbox, where checks are free.
Locale:
type: string
description: Locale identifier
enum:
- en
- it
- de
- es
- fr
- hi
- id
- pt
TinCheckResponse:
type: object
description: One TIN check and its results.
required:
- id
- name
- tinMasked
- outcome
- deathMasterFile
- einNameMatch
- watchlistStatus
- watchlists
- chargedCredits
- createdAt
properties:
address:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/TinCheckSubmittedLookup'
description: The USPS address validation. Absent when no address was submitted.
chargedCredits:
type: integer
format: int32
description: What this check cost, in credits. Zero in the sandbox.
createdAt:
type: string
format: date-time
createdByEmail:
type:
- string
- 'null'
description: 'The email of the member who ran the check. Absent when it was not run by a person, or the
person is no longer known.'
deathMasterFile:
$ref: '#/components/schemas/TinCheckLookupStatus'
description: Whether the subject resembles an entry on the Social Security Death Master File.
einNameMatch:
$ref: '#/components/schemas/TinCheckLookupStatus'
description: 'Whether the lookup service has the EIN on record under a name other than the one checked.
For reference only: its records come from earlier matches and may be out of date.'
einNameMatchData:
type:
- string
- 'null'
description: 'The name on record, as the lookup service reports it: an XML document. Absent without a
match.'
giin:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/TinCheckSubmittedLookup'
description: The FATCA GIIN lookup. Absent when no GIIN was submitted.
id:
type: string
format: uuid
name:
type: string
description: The name that was checked, as submitted.
outcome:
$ref: '#/components/schemas/TinCheckOutcome'
description: Whether the TIN and name combination matches IRS records.
tinMasked:
type: string
description: 'The TIN with everything but its last four digits hidden, for example `XXXXX6789`. The full
TIN is not stored.'
tinType:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/TinCheckTinType'
description: Whether the matching record is an SSN, an EIN or both. Absent unless the IRS says.
verificationRequestId:
type:
- string
- 'null'
format: uuid
description: 'The KYB anchor''s verification request, for a check run when an applicant submitted a KYB''s
business information. Absent for a check run from the dashboard or with an API key.'
watchlistStatus:
$ref: '#/components/schemas/TinCheckLookupStatus'
description: Whether the name resembles an entry on any of the screened watchlists.
watchlists:
type: array
items:
$ref: '#/components/schemas/TinCheckWatchlist'
description: 'Every watchlist the name was screened against, with how many entries resemble it. A
resemblance is a similarity on the name, to be reviewed: not a confirmed hit.'
RunTinCheckAddress:
type: object
description: A US mailing address to validate against the USPS database.
required:
- street
properties:
city:
type:
- string
- 'null'
state:
type:
- string
- 'null'
description: The two-letter state code, for example `CT`.
street:
type: string
description: The street address, for example `123 Main Street`.
unit:
type:
- string
- 'null'
description: A suite, apartment or unit, for example `Suite 310`.
zip:
type:
- string
- 'null'
description: Five digits, or nine with the +4 extension.
RunTinCheckRequest:
type: object
description: 'A TIN and the name to match it against, with the optional extras the same check can verify.
`Debug` is written by hand so the TIN never reaches a log line in full.'
required:
- name
- tin
properties:
address:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/RunTinCheckAddress'
description: 'A mailing address to validate against the USPS database. Confirms the address exists, not
that it is the subject''s.'
giin:
type:
- string
- 'null'
description: 'A FATCA Global Intermediary Identification Number, to look up on the IRS list of registered
foreign financial institutions.'
mock:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/TinCheckMockOptions'
description: 'Sandbox only: state what the check should answer instead of having it looked up. Refused
in production.'
name:
type: string
description: A person's full name or a company's legal name, as it appears on IRS records.
tin:
type: string
description: 'A US Taxpayer Identification Number: the nine digits of an SSN or EIN. Spaces and hyphens
are accepted and ignored.'
TinCheckMockOutcome:
type: string
description: What a sandbox mock check answers on the IRS match itself.
enum:
- MATCH
- MISMATCH
- NOT_ISSUED
- INVALID_TIN
- UNAVAILABLE
securitySchemes:
jwt-auth:
type: apiKey
in: header
name: authorization
description: Set the token string including the 'Bearer ' prefix.
x-api-key:
type: apiKey
in: header
name: x-api-key
description: Set your API key in the x-api-key header.