API Reference › Bots — Money
Pay Object
POST
/bots/{bot_id}/pay/objectPay L$ to an in-world object, such as a vendor or tip jar.
Scopebots:financial
Usage
curl -X POST "https://api.lifebots.cloud/api/v1/bots/$BOT_ID/pay/object" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"object": "b2f4e0a7-61c3-4d8e-a5f9-3c7e2d1b0a96",
"amount": 10,
"objectName": "Tip Jar"
}'Path parameters
| Name | Type | Description |
|---|---|---|
bot_id | UUID | The bot's avatar UUID (agentId from GET /bots). |
Body (JSON)
| Name | Type | Required | Description |
|---|---|---|---|
object | UUID | yes | Object to pay. |
amount | integer | yes | Amount in L$. |
objectName | string | no | Object name, shown in the transaction history. |
Example response
{
"success": true,
"data": {
"result": "OK"
},
"meta": {
"timestamp": "2026-10-02T12:00:00.000Z",
"version": "1.0"
}
} Always check success; for commands the bot carries out, also check data.result. See Responses & errors.