payment_transfer
Transfer energy points to a user via the official Payment API, using a unique order_id to ensure idempotency.
Instructions
Transfer energy points from the payment-app owner to a user (official Payment API). to_user_id and to_username must refer to the same user. Sender pays a trust-level-based fee; idempotent per order_id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to_user_id": "<to_user_id>",
"to_username": "<to_username>",
"amount": "<amount>",
"order_id": "<order_id>"
},
"name": "payment_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| order_id | Yes | Your unique order reference (idempotency key) | |
| to_user_id | Yes | ||
| to_username | Yes |