Validates the taxId against country based validation rules.

For some countries additional customer related attributes might be needed for that. Country will be derived from given studioId.

Request
Request Body schema: application/json
required
studioId
required
integer <int64>

Is needed to determine country specific validation rules

firstname
required
string
lastname
required
string
taxId
required
string

Is country specific, like CodiceFisacale in Italy

dateOfBirth
required
string <date>
placeOfBirth
string

addition for Italy if customer is national

countryOfBirth
string

addition for Italy if customer isn't national

Enum: "UNDEFINED" "AC" "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AN" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BU" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CP" "CR" "CS" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DG" "DJ" "DK" "DM" "DO" "DZ" "EA" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "EU" "EZ" "FI" "FJ" "FK" "FM" "FO" "FR" "FX" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "IC" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NT" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SF" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SU" "SV" "SX" "SY" "SZ" "TA" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TP" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UK" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "XI" "XU" "XK" "YE" "YT" "YU" "ZA" "ZM" "ZR" "ZW"
gender
string

User will be assigned as UNISEX if no gender is set.

Enum: "MALE" "FEMALE" "UNISEX"
Responses
200

OK

400

Bad Request

403

Forbidden

404

Not Found

409

Conflict

500

Internal Server Error

post/connect/v1/validation/taxId
Request samples
application/json
{
  • "studioId": 0,
  • "firstname": "string",
  • "lastname": "string",
  • "taxId": "string",
  • "dateOfBirth": "2019-08-24",
  • "placeOfBirth": "string",
  • "countryOfBirth": "UNDEFINED",
  • "gender": "MALE"
}