Conekta::CheckoutOrderTemplate

October 9, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
currencyStringIt is the currency in which the order will be created. It must be a valid ISO 4217 currency code.
customer_infoCheckoutOrderTemplateCustomerInfo[optional]
line_itemsArray<Product>They are the products to buy. Each contains the &quot;unit price&quot; and &quot;quantity&quot; parameters that are used to calculate the total amount of the order.
metadataHash<String, Object>It is a set of key-value pairs that you can attach to the order. It can be used to store additional information about the order in a structured format.[optional]

Example

require 'conekta'

instance = Conekta::CheckoutOrderTemplate.new(
  currency: MXN,
  customer_info: null,
  line_items: null,
  metadata: {&quot;key&quot;:&quot;value&quot;}
)