API reference · NOM-151

New Endpoint

POST/api/v1/psc-sandbox/nom

Base URL: https://serviciospsc.tsp.incode.com

This is your first endpoint! Edit this page to start documenting your API.

Request body

Content-Type: application/json

Field Type Required Description
hash string yes Represents the cryptographic summary (hash) of the data message for which the preservation certificate will be issued. This value must be generated using the SHA-256 algorithm and expressed as a 64-character hexadecimal string. The purpose of the hash is to ensure the integrity and uniqueness of the content. The service does not receive the original data message, only its hash, which enhances the privacy and efficiency of the process.
oid string yes Object Identifier (OID) assigned by the Ministry of Economy to Incode PSC for its NOM-151 Policy.

Responses

200

Successful response

"{\n  \"existeError\": boolean, //Flags whether an error was encountered during the issuance process.\n  \"mensajeError\": \"string\", //Error details, present only if an error occurred during the process.\n  \"firmaNOM151\": \"base64String\", //Base64-encoded string representing the NOM-151.\n  \"uuid\": \"string\" //Unique transaction identifier that can be used to retrieve the NOM-151 when applicable.\n}"
Was this page helpful?