Skip to main content

RFC Check

Description​

A solution that provides general information on the Mexican tax id information using the RFC to be verified at SAT.

HTTP method GET​

Endpoint​

https://8ehec73psb.execute-api.us-west-2.amazonaws.com/uat/api/idv-govcheck/v1/mx-tax-identifications/{rfc}/validate
info

Before proceeding, make sure you have your jwt token, if you don't, check the login documentation.

Request header parameter​

NAMEREQUIREDTYPEDESCRIPTION
Authorization✅stringbearer jwt token

URI request parameter​

NAMEREQUIREDTYPEDESCRIPTIONEXAMPLE
rfc✅stringFederal taxpayer registrationPAQ591107QY3

Status code responses​

CodeDescription
200OK
400Bad request
401Unauthorized
404Not found
500Internal server error.

The full documentation error codes can be found here.

Response 200 status code​

{
"traceId": "522583bdb9d88089",
"timestamp": "2023-05-15 12:00:05",
"data": {
"status": "OK",
"message": "RFC Valido",
"personType": "M"
}
}

{
"username": "xxxxx",
"password": "xxxxx"
}
{
"token": "xxxxx",
"expiration": 150
}

Response 400 status code​

{
"traceId": "542fc743fffda052",
"timestamp": "2023-05-05 11:20:46",
"code": "IDV-4005",
"message": "-",
"data": null
}

Response 401 status code​

{
"timestamp": "YYYY-MM-DDTHH:mm:ss.sssZ",
"status": 401,
"error": "Unauthorized",
"path": "/api/idv-govcheck/v1/mx-tax-identifications/{rfc}/validate"
}

Response 500 status code​

{
"traceId": "43a20f33d4e8730d",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-1001",
"message": "A generic error has occurred.",
"data": null
}