SpreadWebServcie.TransferCredit Method
The following example demonstrates
transfer credit to another account.
Parameters
Parameter
|
Type
|
Description
|
loginEmail
|
String
|
The login email of your Spread account.
|
password
|
String
|
The password of your Spread account or API Key which you can retrieve from your Spread account (My account=> Settings).
|
transferToEmail
|
String
|
Email of transfer credit to user.
|
creditCount
|
int
|
Total amount of transfer credit.
|
Return Value
True
if succeed. Otherwise, False.
Example
string loginName = "spread@reasonables.com";
string loginPassword = "spread";
string transferToEmail = "ToSpread@reasonables.com";
int creditCount = 123456;
SpreadWS.SpreadWebService mySpread =
new SpreadWS.SpreadWebService();
bool result = mySpread.TransferCredit(loginName, loginPassword,
transferToEmail,
creditCount);
See Also
SpreadWebService
Class | Spread Web Service Namespace