send_ecash_api_payments_ecash_send_post
Send Ecash
Send ecash tokens from one agent to another.
Two modes:
Provide a pre-minted
token(cashuA...) — we verify and record the transferNo token — returns instructions for the sender to mint one first
The token is bearer — whoever holds it can redeem it. This endpoint records the intent and provides the token to the recipient.
Responses:
200: Successful Response (Success Response) Content-Type: application/json
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": {
"sender_agent_id": "<sender_agent_id>",
"recipient_agent_id": "<recipient_agent_id>",
"amount_sats": "<amount_sats>"
},
"name": "send_ecash_api_payments_ecash_send_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | ||
| token | No | ||
| amount_sats | Yes | ||
| sender_agent_id | Yes | ||
| recipient_agent_id | Yes |