Conekta::PayoutOrderResponse

April 29, 2024 ยท View on GitHub

Properties

NameTypeDescriptionNotes
allowed_payout_methodsArray<String>The payout methods that are allowed for the payout order.
amountIntegerThe amount of the payout order.
created_atIntegerThe creation date of the payout order.
currencyStringThe currency in which the payout order is made.[default to 'MXN']
customer_infoPayoutOrderResponseCustomerInfo
expires_atIntegerThe expiration date of the payout order.[optional]
idStringThe id of the payout order.
livemodeBooleanThe live mode of the payout order.
objectStringThe object of the payout order.
metadataHash<String, Object>The metadata of the payout order.[optional]
payoutsArray<PayoutOrderPayoutsItem>The payout information of the payout order.
reasonStringThe reason for the payout order.
statusStringThe status of the payout order.[optional]
updated_atIntegerThe update date of the payout order.

Example

require 'conekta'

instance = Conekta::PayoutOrderResponse.new(
  allowed_payout_methods: [&quot;cashout&quot;],
  amount: 100,
  created_at: 1677626837,
  currency: MXN,
  customer_info: null,
  expires_at: 1677626837,
  id: f2654d66-d740-457a-9a8c-f96b5196f44e,
  livemode: true,
  object: payout_order,
  metadata: {&quot;custom_client_id&quot;:&quot;12345&quot;},
  payouts: null,
  reason: Payout order for the customer,
  status: open,
  updated_at: 1677626837
)