Authorize a payment
authorize_paymentAttach a payer's EIP-712 signature to a quoted payment intent to approve up to maximumTotalAuthorized before expiry. No funds move until submit_payment.
Instructions
Attach the payer's EIP-712 PaymentAuthorization signature to a quoted payment intent. The signature is produced locally by the payer's wallet; it authorizes up to maximumTotalAuthorized, expiring at expiresAt. No funds move until submit_payment.
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": {
"payment_intent_id": "<payment_intent_id>",
"payer_signature": "<payer_signature>"
},
"name": "authorize_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payer_signature | Yes | EIP-712 signature (0x, 65 bytes) of the PaymentAuthorization typed data, signed by payer_wallet. | |
| payment_intent_id | Yes | Payment intent ID returned by quote_payment. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| isError | No | True when the API call failed; text carries { error: { code, message } }. |