Create digital certificate

Creates a new digital certificate for digital signatures and invoicing

Authentication

AuthorizationBearer

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

Path parameters

merchantIdstringRequired
Merchant ID
organizationIdstringRequired
Organization ID

Request

This endpoint expects an object.
countryenumRequired
Country for the certificate
certificatePasswordstringRequired

The password of the certificate - Required for CL and MX

certificateFilestringOptional

Certificate file content (Base64) - Required for CL

certificateKeystringOptional

Certificate key file content (Base64) - Required for MX

certificateCerstringOptional

Certificate .cer file content (Base64) - Required for MX

testSetIdstringOptional

Test set id - Required for COL

formRutstringOptional

Form RUT .pdf file content (Base64) - Required for COL

Response

Create merchant digital certificate for digital signatures and invoicing
accountIdstring
Unique identifier of the billing account
certificateIdstring
Unique identifier of the certificate
certificateValidFromstring
Start date of certificate validity
certificateValidTostring
End date of certificate validity
certificateNameInternalstring
Internal name of the certificate
certificateNamestring
Public name of the certificate
certificateTaxIdTypestring
Type of tax ID associated with the certificate
certificateTaxIdCodestring
Tax ID code associated with the certificate

Errors

400
Create Certificate Request Bad Request Error
401
Create Certificate Request Unauthorized Error
403
Create Certificate Request Forbidden Error
422
Create Certificate Request Unprocessable Entity Error
500
Create Certificate Request Internal Server Error