PayOut - Mangopay/mangopay2-ruby-sdk GitHub Wiki
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 |
- payout_bank_wire: A Hash:
- AuthorId
- DebitedFunds
- Fees
- DebitedWalletId
- BankAccountsId
- Communication
- Tag
A PayOutBankWire Object
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'
})
- payou_bank_wire_id: the id of the PayOutBankWire you want to retrieve
A PayOutBankWire Object
MangoPay::PayOut.fetch(42343)