forked from antho1404/mangopay2-ruby-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Wallet
glorieux edited this page Jul 31, 2013
·
1 revision
| Property | Type | More |
|---|---|---|
| Id | Integer | |
| Tag | String | |
| CreationDate | Time | |
| Owners | Array | |
| Description | String | < 200 chars |
| Balance | Money | Hash { Currency: 'EUR', Amount: 10 } |
| Currency | String | ISO (“EUR only for the moment”) |
- wallet: a Hash:
A Wallet Object
MangoPay::Wallet.create({
Owners: [43243, 654654, 654024],
Description: 'A test wallet',
Currency: 'EUR',
Tag: 'Test Time'
})- wallet_id: the id of the hash you want to update
- wallet: a Hash:
- Description
- Tag
A Wallet Object
MangoPay::Wallet.update(new_wallet['Id'], {
Description: 'Updated Description',
Tag: 'Updated Tag'
})- wallet_id: the id of the wallet you want to retrieve
A Wallet Object
MangoPay::Wallet.fetch(32132)