Methods
cancel(id) → {Promise.<any>}
Cancel a Payout
- Source:
Parameters:
Name | Type | Description |
---|---|---|
id |
string
|
Payout ID |
Returns:
- Type:
-
Promise.<any>
request(vendor_id, dry) → {Promise.<{_id: string, total: number}>}
Create a new payout request
- Source:
Parameters:
Name | Type | Default | Description |
---|---|---|---|
vendor_id |
String
|
Vendor ID |
|
dry |
Boolean
|
false |
Dry run or not |
Returns:
- Type:
-
Promise.<{_id: string, total: number}>
update(id, payout) → {Promise.<any>}
Update an existing pending payout
- Source:
Parameters:
Name | Type | Description |
---|---|---|
id |
String
|
Payout ID |
payout |
String
|
Updated payout object |
Returns:
- Type:
-
Promise.<any>