Validates a delegated permission before processing a request.
cURL
curl --request POST \ --url https://api.sandbox.nevermined.dev/api/v1/x402/verify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "accessToken": "x402_eyJhbGciOiJIUzI1NiIs...", "agentId": "did:nv:abc123...", "creditsRequested": 5 } '
{ "valid": true, "permissionHash": "<string>", "remainingCredits": 123, "buyerAddress": "<string>", "error": "<string>", "message": "<string>" }
Your Nevermined API Key (starts with 'nvm:'). Get one at nevermined.app under Settings > API Keys.
Verification request
Verification result