-
Notifications
You must be signed in to change notification settings - Fork 38
BankAccounts
dduwoyemgp edited this page Mar 31, 2021
·
3 revisions
Property | Type |
---|---|
Id | Integer |
Tag | String |
CreationDate | Time |
UserId | Integer |
Type | String |
OwnerName | String |
OwnerAddress | String |
IBAN | String |
BIC | String |
- user_id: The id of the User you want to add a BankAccount
- bank_details: A hash:
- Type
- OwnerName
- OwnerAddress
- IBAN
- BIC
- Tag
A BankAccount Object
MangoPay::BankAccount.create(78329, {
Type: 'IBAN',
OwnerName: 'John',
OwnerAddress: 'Here',
IBAN: 'FR7630004000031234567890143',
BIC: 'BNPAFRPP',
Tag: 'Test Time'
})
- user_id: the id of the user you attached the bank detail to
- bank_detail_id: the id of the bank detail
A BankAccount Object
MangoPay::BankAccount.fetch(87323, 32132)
- user_id: the id of the user you want to fetch the bank details from
An Array of BankAccount Objects
MangoPay::BankAccount.fetch(new_iban_bank_detail['UserId'])
- Navigation
- [Install](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki#install)
- [Authentication](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki#authentication)
- [Creating](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/BankAccounts#creating-a-new-BankAccount) - [Retrieving](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/BankAccounts#retrieving-a-BankAccount)
- [Client](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/Client)
- [LegalUser](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/LegalUser)
- [NaturalUser](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/NaturalUser)
- [PayIn](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/PayIn)
- [PayOut](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/PayOut)
- [Transaction](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/Transaction)
- [Transfer](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/Transfer)
- [User](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/User)
- [Wallet](https://github.com/Mangopay/mangopay2-ruby-sdk/wiki/Wallet)