Transfer credits from one account to another account, using the integer account number to specify the target account.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
$result = $tmClient->transferCreditsToAccount(3, '1234'); echo "Transfered 3 credits (leaving {$result['source_credits_after']}), to targetusername, which now has {$result['target_credits_after']} credits"; |
Warning | ||
---|---|---|
| ||
Our example code is an illustration of how you might integrate with our systems and is not certified for production environments. You are responsible for testing and QA. |