Supported task types
API methods
Articles
Tutorials
GitHub
Documentation menu

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
          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.
>1 - error identifier. Error code and short description transferred 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
          {
    "errorId": 0,
    "balanceLeft":12.3456
}
        
JSON with an error
          {
    "errorId": 1,
    "errorCode": "ERROR_KEY_DOES_NOT_EXIST",
    "errorDescription": "Account authorization key not found in the system"
}