ack_verify_payment_request
Verify a payment request JWT and decode its contents, returning payment options and issuer if valid. Confirms authenticity with an optional expected issuer DID.
Instructions
Verify and parse a payment request JWT (from ack_create_payment_request). Returns the decoded payment request if valid, including payment options and issuer. Returns {valid: true/false}.
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": {
"token": "<token>"
},
"name": "ack_verify_payment_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The payment request JWT string | |
| issuer | No | Expected issuer DID. If provided, verifies the token was issued by this DID. |