Conekta::PaymentMethodCashResponse

April 10, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
typeString
idString
objectString
created_atInteger
parent_idString[optional]
agreementsArray<PaymentMethodCashResponseAllOfAgreements>[optional]
referenceString[optional]
barcodeString[optional]
barcode_urlStringURL to the barcode image, reference is the same as barcode[optional]
expires_atInteger[optional]
providerString[optional]

Example

require 'conekta'

instance = Conekta::PaymentMethodCashResponse.new(
  type: null,
  id: src_2s8K1B3PBKDontpi9,
  object: payment_source,
  created_at: 1675715413,
  parent_id: cus_2s8K1B3PBKDontpi8,
  agreements: null,
  reference: 93000262276908,
  barcode: 93000262276908,
  barcode_url: https://barcodes.conekta.com/644ebf80f2243197aad6cd8810375b905b613dbe.png,
  expires_at: 1742483424,
  provider: Cash
)