PayOut - Mangopay/mangopay2-ruby-sdk GitHub Wiki

The PayOutBankWire Object

Property Type More
Id Integer
Tag String
CreationDate Date
AuthorId Integer
CreditedUserId Integer
DebitedFunds Money Hash { Currency: 'EUR', Amount: 10 }
CreditedFunds Money Hash { Currency: 'EUR', Amount: 10 }
Fees Money Hash { Currency: 'EUR', Amount: 10 }
Status String either CREATED, SUCCEEDED or FAILED
ResultCode Integer
ExecutionDate Date
Type String either PAY_IN, PAY_OUT or TRANSFER
Nature String either NORMAL, REFUND or REPUDIATION
DebitedWalletID Integer
MeanOfPaymentType String either BANK_WIRE, MERCHANT_EXPENSE or AMAZON_GIFTCARD
BankAccountsId Integer
Communication String

Creating a new PayOutBankWire

Arguments

  • payout_bank_wire: A Hash:
    • AuthorId
    • DebitedFunds
    • Fees
    • DebitedWalletId
    • BankAccountsId
    • Communication
    • Tag

Returns

A PayOutBankWire Object

Example

MangoPay::PayOut::BankWire.create({
  AuthorId: 432432,
  DebitedFunds: { Currency: 'EUR', Amount: 500 },
  Fees: { Currency: 'EUR', Amount: 0 },
  DebitedWalletId: 432432,
  BankAccountId: 432423,
  Communication: 'This is a test',
  Tag: 'Test Bank Wire'
})

Retrieving a PayOutBankWire

Arguments

  • payou_bank_wire_id: the id of the PayOutBankWire you want to retrieve

Returns

A PayOutBankWire Object

Example

MangoPay::PayOut.fetch(42343)
⚠️ **GitHub.com Fallback** ⚠️