sendFunds: send funds to another account
Your account must have this feature enabled. This method is reserved for partners who'd like to transfer funds to their own customer accounts. Contact us in tickets if you think this is what you need.
Address: https://api.anti-captcha.com/sendFunds
Method: POST
Content-type: application-json
Request properties
Property | Type | Required | Purpose |
---|---|---|---|
clientKey | String | Yes | |
accountLogin | String | No | The login of the target account |
accountEmail | String | No | The email of the target account if the login wasn't specified |
amount | Double | Yes | Transfer amount |
Request example
curl -i -H "Accept: application/json" \
-H "Content-Type: application/json" \
-X POST -d '{
"clientKey":"YOUR_API_KEY",
"accountLogin":"my_client",
"amount":3.14
}' https://api.anti-captcha.com/sendFunds
Response structure
Property | Type | Purpose |
---|---|---|
errorId | Integer | Error identifier. 0 - no errors, operation completed successfully. >0 - error identifier. Error code with short description are available in errorCode and errorDescription properties. |
errorCode | String | |
errorDescription | String | Short description of the error |
balanceLeft | Double | Value of the remaining account balance. |
Response example
JSON with no errors
JSON with an error
{
"errorId": 0,
"balanceLeft":12.3456
}