Skip to content

Latest commit

 

History

History
54 lines (48 loc) · 1.82 KB

ChargeOrderResponse.md

File metadata and controls

54 lines (48 loc) · 1.82 KB

Conekta::ChargeOrderResponse

Properties

Name Type Description Notes
amount Integer [optional]
channel ChargeResponseChannel [optional]
created_at Integer [optional]
currency String [optional]
customer_id String [optional]
description String [optional]
device_fingerprint String [optional]
failure_code String [optional]
failure_message String [optional]
id String [optional]
livemode Boolean [optional]
monthly_installments Integer [optional]
object String [optional]
order_id String [optional]
paid_at Integer [optional]
payment_method ChargeOrderResponsePaymentMethod [optional]
reference_id String Reference ID of the charge [optional]
refunds Array<Object> [optional]
status String [optional]

Example

require 'conekta'

instance = Conekta::ChargeOrderResponse.new(
  amount: 4321,
  channel: null,
  created_at: 1676386026,
  currency: MXN,
  customer_id: null,
  description: Payment from order,
  device_fingerprint: 6FR3chaU4Y1nGAW5NAGd1rcjAKa142Ba,
  failure_code: suspected_fraud,
  failure_message: Este cargo ha sido declinado porque el comportamiento del comprador es sospechoso.,
  id: 63efa757cf65380001aec040,
  livemode: true,
  monthly_installments: null,
  object: null,
  order_id: ord_2tN73UdUSNrYRPD9r,
  paid_at: 1676390742,
  payment_method: null,
  reference_id: ref_2tN73UdUSNrYRPD9r,
  refunds: null,
  status: pending_payment
)