Conekta::CompanyDocumentRequest

July 21, 2026 · View on GitHub

Properties

NameTypeDescriptionNotes
file_classificationStringClassification of the document.Tipo de archivo
content_typeStringMIME type of the file. Allowed values depend on the `file_classification`. - `image/jpeg` - `image/png` - `application/pdf`
internationalBooleanIndicates if the document is international. Defaults to false.[optional]
file_nameStringName of the file being uploaded.
file_dataStringBase64 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
)