Conekta::PlanUpdateRequest

August 1, 2023 ยท View on GitHub

Properties

NameTypeDescriptionNotes
amountIntegerThe amount in cents that will be charged on the interval specified.[optional]
currencyStringISO 4217 for currencies, for the Mexican peso it is MXN/USD[optional]
expiry_countIntegerNumber of repetitions of the frequency NUMBER OF CHARGES TO BE MADE, considering the interval and frequency, this evolves over time, but is subject to the expiration count.[optional]
nameStringThe name of the plan.[optional]

Example

require 'conekta'

instance = Conekta::PlanUpdateRequest.new(
  amount: 10000,
  currency: MXN,
  expiry_count: 12,
  name: Extra Plan3
)