Conekta::CompanyDocumentRequest
July 21, 2026 · View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| file_classification | String | Classification of the document. | Tipo de archivo |
| content_type | String | MIME type of the file. Allowed values depend on the `file_classification`. - `image/jpeg` - `image/png` - `application/pdf` | |
| international | Boolean | Indicates if the document is international. Defaults to false. | [optional] |
| file_name | String | Name of the file being uploaded. | |
| file_data | String | Base64 encoded content of the file. |
Example
require 'conekta'
instance = Conekta::CompanyDocumentRequest.new(
file_classification: id_legal_representative,
content_type: application/pdf,
international: false,
file_name: example_document.pdf,
file_data: VGhpcyBpcyBhIHRlc3QgZmlsZSBkYXRhIGluIGJhc2UgNjQu
)