Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 2.12 KB

File metadata and controls

26 lines (20 loc) · 2.12 KB

Conekta::CompanyDocumentRequest

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: [B@1b40c635
)