Create a new digital certificate

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
account_idintegerRequired
ID of the associated account.
certificate_passwordstringRequired
Digital certificate password
certificate_filestringOptional

Base64 encoded PFX file of certificate (Chile)

certificate_keystringOptional

Base64 encoded KEY file of certificate (Mexico)

certificate_cerstringOptional

Base64 encoded CER file of certificate (Mexico)

Response

Digital certificate link successfully generated
account_idinteger or null
ID of the account associate to the digital certificate
certificate_idstring or null
ID of the digital certificate loaded
certificate_valid_fromstring or null
The certificate is valid from this date
certificate_valid_tostring or null
The certificate is valid until this date
certificate_name_internalstring or null
This is an internal name to be used to identify the certificate
certificate_namestring or null
This is the person name stored on the certificate
certificate_tax_id_typestring or null
The type of tax id that is represented by this digital certificate
certificate_tax_id_codestring or null
The tax id code represented by this digital certificate

Errors