Skip to main content

Create person SPEI®

This operation allows you to register a new person in the SPEI® system.

HTTP Request

POST /clabe/person

Header Parameters

HeaderDescription
Authorization 
required
The Bearer token created in
Get authorization Token
Content-Type 
required
application/json

Body Parameters

ParameterTypePatternDescription
name
required
string1-40 charactersName of the person.
surname
required
string1-40 charactersFirst surname of the person.
second_surname
required
string1-40 charactersSecond surname of the person.
rfc_curp
required
string10-13 o 18 charactersRFC o CURP of the person.
account_reference
required
stringAccount reference associate.
birthdate
required
DateFormat YYYY-MM-DDBirthdate of the person.
origin_country
required
stringThe country of origin of the person
email
required
stringemailEmail of the person
observations
required
string0-255 charactersAdditional information of the person.

Example JSON Request:

{
"name": "Juan",
"surname": "Pérez",
"second_surname": "Gómez",
"rfc_curp": "XAXX010101000",
"account_reference": "REF123456",
"birthdate": "1990-01-01",
"origin_country": "México",
"email": "[email protected]",
"observations": "Sin observaciones."
}

Example JSON Response:

{
"success": true,
"code": 0,
"message": "Persona registrada exitosamente.",
"data": {
"spei_account": {
"id": "123456",
"name": "Juan",
"surname": "Pérez",
"second_surname": "Gómez",
"rfc_curp": "XAXX010101000",
"email": "[email protected]",
"account_reference": "REF123456",
"clabe": "012345678901234567",
"observations": "Sin observaciones.",
"type": {
"key": "PERSON",
"value": "Persona"
},
"status": {
"key": "ACTIVE",
"value": "Activo"
}
}
}
}