Create SPEI® entity
This operation allows you to register a new entity in the SPEI® system.
HTTP Request
POST /clabe/entity
Header Parameters
Header | Description |
---|---|
Authorization required | The Bearer token created in Get authorization Token |
Content-Type required | application/json |
Body Parameters
Parameter | Type | Patrón | Descripción |
---|---|---|---|
name required | string | 1-100 characters | Name of the entity |
rfc_curp required | string | 10-13 o 18 characters | RFC o CURP of the entity. |
account_reference required | string | Account reference of the entity | |
creation_date required | fecha | Format YYYY-MM-DD | Date of creation of the entity. |
creation_country required | string | Country of creation of the entity. | |
email required | string | Email of the entity. | |
observations required | string | 0-255 characters | Additional observation of the entity. |
Example JSON Request:
{
"name": "Entidad Ejemplo",
"rfc_curp": "XAXX010101000",
"account_reference": "REF123456789",
"creation_date": "2024-01-01",
"creation_country": "MX",
"email": "[email protected]",
"observations": "Observaciones sobre la entidad."
}
Example JSON Response:
{
"success": true,
"code": 0,
"message": "Entidad registrada exitosamente.",
"data": {
"spei_account": {
"id": "22222222-daa7-1234-aaaa-123123123ecd",
"name": "Entidad Ejemplo",
"rfc_curp": "XAXX010101000",
"email": "[email protected]",
"account_reference": "REF123456789",
"clabe": "012345678901234567",
"observations": "Observaciones sobre la entidad.",
"type": {
"key": "ENT",
"value": "Entidad"
},
"status": {
"key": "ACTIVE",
"value": "Activo"
}
}
}
}