Conekta::PayoutOrder

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.
currencyStringThe currency in which the payout order is made.[default to 'MXN']
customer_infoCustomerInfoJustCustomerId
metadataHash<String, Object>The metadata of the payout order.[optional]
payoutPayout
reasonStringThe reason for the payout order.

Example

require 'conekta'

instance = Conekta::PayoutOrder.new(
  allowed_payout_methods: [&quot;cashout&quot;],
  amount: 100,
  currency: MXN,
  customer_info: null,
  metadata: {&quot;custom_client_id&quot;:&quot;12345&quot;},
  payout: null,
  reason: Payout order for the customer
)