Using the WePay API |
|
2024-11-24 |
|
|
9 |
|
|
A Group, or sometimes referred to as a Group Account, refers to a distinct WePay bank account.
A user may have several group account. One for collecting rent from room mates, for example,
another for organizing a ski trip with friends, and perhaps a 3rd for collecting donations
for something.
List the current user's groups
<?php
$W = new WePay($access_token, $token_secret);
$groups = $W->post('/group/list');
print_r($groups);