Build the payment for a Stoa Pay link
pay_payment_linkThe unsigned transaction that pays a Stoa Pay link on Robinhood Chain from payer, with payWith (a token address or native). The requester gets at least what the link asks, or the transaction does not go through. Stoa never signs or sends: show the user the amount and the recipient, approve first if 'approval' is present, then let the user's wallet sign.
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": {
"url": "<url>",
"payer": "<payer>"
},
"name": "pay_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The stoadex.com/pay link. | |
| payer | Yes | Wallet that pays (0x…). | |
| payWith | No | Token to pay with: an address on Robinhood Chain, or native for ETH. Default USDG. |