forked from Mangopay/mangopay2-nodejs-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt DirectDebitPaying Model - update docs
- Loading branch information
Gabriel Lupu
committed
Feb 7, 2017
1 parent
ecfbfe6
commit f584bb6
Showing
2 changed files
with
175 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
# Clients | ||
|
||
[MangoPay Users API Reference](https://docs.mangopay.com/endpoints/v2.01/clients) | ||
|
||
|
||
|
||
* * * | ||
|
||
### Clients.get(clientId, callback, options) | ||
|
||
Get client by ID | ||
|
||
**Parameters** | ||
|
||
**clientId**: `string`, Client identifier | ||
|
||
**callback**: `function`, Callback function | ||
|
||
**options**: `Object`, Request options | ||
|
||
**Returns**: `Object`, Request promise | ||
|
||
|
||
### Clients.update(client, callback, options) | ||
|
||
Update client | ||
|
||
**Parameters** | ||
|
||
**client**: , Client to be updated | ||
|
||
**callback**: , Callback function | ||
|
||
**options**: , Request options | ||
|
||
**Returns**: `*`, Promise of the request | ||
|
||
|
||
### Clients.uploadLogo(logo, callback, options) | ||
|
||
Upload client logo | ||
|
||
**Parameters** | ||
|
||
**logo**: `string`, Logo | ||
|
||
**callback**: `function`, Callback function | ||
|
||
**options**: `Object`, Request options | ||
|
||
**Returns**: `Object`, Promise of the request | ||
|
||
|
||
### Clients.uploadLogoFromFile(file, callback, options) | ||
|
||
Upload client logo from file | ||
|
||
**Parameters** | ||
|
||
**file**: `string`, File path | ||
|
||
**callback**: `function`, Callback function | ||
|
||
**options**: `Object`, Request options | ||
|
||
**Returns**: `Object`, Promise of the request | ||
|
||
|
||
### Clients.getClientWallets(callback, options) | ||
|
||
Get all client wallets | ||
|
||
**Parameters** | ||
|
||
**callback**: `function`, Callback function | ||
|
||
**options**: `Object`, Request options | ||
|
||
**Returns**: `Object`, Promise of the request | ||
|
||
|
||
### Clients.getClientWallet(fundsType, currency, callback, options) | ||
|
||
Get a client wallet | ||
|
||
**Parameters** | ||
|
||
**fundsType**: , Wallet's funds type | ||
|
||
**currency**: , Currency of the wallet | ||
|
||
**callback**: `function`, Callback function | ||
|
||
**options**: `Object`, Request options | ||
|
||
**Returns**: `Object`, Promise of the request | ||
|
||
|
||
### Clients.getClientWalletsByFundsType(fundsType, callback, options) | ||
|
||
Get client wallets by the type of funds | ||
|
||
**Parameters** | ||
|
||
**fundsType**: , Wallets funds type | ||
|
||
**callback**: `function`, Callback function | ||
|
||
**options**: `Object`, Request options | ||
|
||
**Returns**: `Object`, Promise of the request | ||
|
||
|
||
### Clients.getClientWalletTransactions(fundsType, currency, callback, options) | ||
|
||
Get a client wallet's transactions | ||
|
||
**Parameters** | ||
|
||
**fundsType**: , Wallet's funds type | ||
|
||
**currency**: , Currency of the wallet | ||
|
||
**callback**: `function`, Callback function | ||
|
||
**options**: `Object`, Request options | ||
|
||
**Returns**: `Object`, Promise of the request | ||
|
||
|
||
|
||
* * * | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters