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 you need it.

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 Login of the target account
accountEmail String No Email of the target account if 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, the 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 Remaining account balance value.

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"
}