Transfer points and funds#
Two actions move balance to another account: transfer sends points, and fund adds funds for
another member. Both accept POST only and deduct from your own balance.
transfer#
Body:
| Field | Description |
|---|---|
receiver |
The recipient's username or email |
message |
An optional message to include |
amount |
The number of points deducted from your account |
{
"status": "ok",
"messages": ["You have sent 90 points to daniel"],
"data": {
"sender": "john",
"receiver": "daniel",
"amount": 100,
"net": 90,
"fee": 10
}
}
fee is the fee, and net is the number of points the recipient actually gets. The fee comes out of
the amount you send: your account is debited amount, and the recipient gets amount minus fee.
The rate can differ between accounts; see
Transfer points to another account.
fund#
Only accounts that have been granted reseller permission can call this action. Regular accounts get
status: "error".
Body:
| Field | Description |
|---|---|
receiver |
The recipient's username or email |
message |
An optional message to include |
amount |
The amount the customer receives, not the amount you actually pay |
{
"status": "ok",
"messages": ["You have sent $100 to daniel"],
"data": {
"sender": "john",
"receiver": "daniel",
"amount": 100,
"commission": 15
}
}
The customer's Funds balance is credited with the full amount. commission is the reseller
commission you keep, so your account is charged amount - commission.