Commands › Money
give_money_object
Pay L$ to an object (a vendor or tip jar)
Usage
curl -X POST "https://api.lifebots.cloud/api/bot.html" \
-H "Content-Type: application/json" \
-d '{
"action": "give_money_object",
"apikey": "YOUR_API_KEY",
"botname": "Joe Resident",
"secret": "bot-secret-123",
"object_uuid": "9f8e7d6c-5b4a-4321-8fed-000000000000",
"amount": "10",
"dataType": "json"
}' Every request also needs apikey, botname and secret — see Authentication.
Parameters
| Name | Required | Description |
|---|---|---|
object_uuidUUID | yes | Object to pay. Also accepted as: target |
amountinteger | yes | Amount in L$. |
Example response
{
"result": "OK"
} With dataType=json. A failure has result: "FAIL" and the reason in resulttext — see Responses & errors.
Good to know
- As with give_money, nothing is checked and OK means only that the payment was sent.