v1

latestOpenAPI 3.1.02026-07-24450175.9 KB

GovChecks: Brazil CPF Validation

Verify a user's CPF number and identity.

post/br/cpf-validation

Request body

cpfNumberstring required
fullNamestring required
dateOfBirthstring date
mothersNamestring
fathersNamestring
documentTypestring

nationalId or driving-license

documentNumberstring
callbackURLstring
genderstring

"m" for male, "f" for female. Returns null if there is no gender data.

Response

200

{"stackTrail":"paths:/br/cpf-validation:post:responses:200:content:application/json:schema:properties:error","oasType":"schema","type":"unknown"}

Example response

{
  "data": {
    "cpfNumberMatched": true,
    "gender": "M",
    "nationality": "Brazilian",
    "taxStatus": "regular",
    "fullNameSimilarity": 1,
    "dateOfBirthMatched": true,
    "documentType": "national-id",
    "documentNumberMatched": true,
    "mothersNameSimilarity": 1,
    "fathersNameSimilarity": 1
  }
}