cURL
curl --request POST \ --url https://api.json.pe/api/ruc/representantes \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "ruc": "20552103816" } '
{ "success": true, "message": "exito", "data": [ { "tipo_de_documento": "DNI", "numero_de_documento": "1*****72", "nombre": "PAIMO *****O ***NA", "cargo": "GERENTE GENERAL", "fecha_desde": "30/09/2002" } ] }
Consulta representante legal por RUC.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
El RUC a consultar
"20552103816"
ruc response
El estado de la respuesta true o false
Mensaje de la respuesta
Datos detallados de la respuesta
Show child attributes