Skip to content

Latest commit

 

History

History
70 lines (32 loc) · 1.09 KB

Wallets.md

File metadata and controls

70 lines (32 loc) · 1.09 KB

Wallets

MangoPay Wallets API Reference


Wallets.create(wallet, callback, options)

Create new wallet

Parameters

wallet: Object, Wallet object

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise

Wallets.get(walletId, callback, options)

Get pay-in

Parameters

walletId: number, Wallet identifier

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise

Wallets.update(wallet, callback, options)

Update wallet

Parameters

wallet: Object, Wallet object

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise

Wallets.getTransactions(walletId, callback, options)

Get transactions for the wallet

Parameters

walletId: number, Wallet identifier

callback: function, Callback function

options: Object, Request options

Returns: Object, Request promise