payware_authentication_validate_jwt
Validate and debug a payware JWT by decoding its header and payload, checking algorithm, audience, and 5-minute freshness claims, and verifying contentSha256 against the request body when provided.
Instructions
[Merchant] Validate and debug a payware JWT: decode header and payload, check the claims against the API's rules (algorithm, audience including the ISV on-behalf form, 5-minute freshness), and verify the contentSha256 hash against the request body when one is given
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": {
"jwtToken": "<jwtToken>"
},
"name": "payware_authentication_validate_jwt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jwtToken | Yes | JWT token to validate and debug | |
| expectedPayload | No | The request body the token was made for (optional). Give it for POST, PUT and PATCH: contentSha256 is then required and checked against it. Leave it out for GET and DELETE, which carry no hash. |