Request Payment Authorization
request_payment_authorizationSet up agent spending limits. Request permission from the user to spend money on their behalf. Use this BEFORE making a payment to generate an Intent Mandate token.
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": {
"maxPerTxCents": "<maxPerTxCents>",
"maxMonthlySpendCents": "<maxMonthlySpendCents>"
},
"name": "request_payment_authorization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | Internal metadata for transport | |
| maxPerTxCents | Yes | Requested maximum amount in cents allowed per single transaction | |
| maxMonthlySpendCents | Yes | Requested maximum total amount in cents allowed per month |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| setupUrl | No | URL for the user to complete payment authorization | |
| shortcut | No | Whether an existing mandate was used | |
| sessionToken | No | Token to poll for completion | |
| intentMandate | No | Encoded intent mandate if shortcut available | |
| maxPerTxCents | No | Confirmed max per transaction | |
| maxMonthlySpendCents | No | Confirmed max monthly spend |