/ agent/ v1/ http-attestationsRelated guide: Verify a signed request.
Hosted-agent HTTP attestation. Returns TAP identity headers for an exact structured HTTPS request. The caller then sends that request to the merchant.
Authorization: OAuth token or app token. The route signs no wallet message, sends no HTTP request and performs no payment.
request.urlPresence: Required URL
Meaning: Canonical HTTPS URL; credentials and fragments are refused.
request.headersPresence: Required header-pair array
Meaning: Normalized application headers; ambient auth/session credentials are outside this profile.
request.body_sha256Presence: Required string
Meaning: Base64url SHA-256 of exact body bytes.
GETandHEADrequire the empty-body digest shown below;POSThashes the actual body bytes.
HTTP 200 response fields: profile, request_id, request, key_id, created, expires, nonce, and headers containing content-digest, signature-input and signature.
It can refuse with setup_required, agent_inactive, not_enabled, expired, unavailable, blocked, rate_limited. Visa signs at most 5,000 requests per agent and 20,000 per owner in any rolling 24 hours; past that it answers rate_limited with Retry-After (also in retry_after_seconds), the seconds until the window has room again. Merchants validate this attestation against the hosted HTTP attestation profile: @method @scheme @authority @path @query content-digest, then normalized sorted application headers, lasting at most 60 seconds.
{
"idempotency_key": "5076bc2d-ff4d-4269-90cd-86d91587d0b8",
"request": {
"url": "https://merchant.example.com/prices?sku=1",
"method": "GET",
"headers": [
[
"accept",
"application/json"
]
],
"body_sha256": "47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU"
},
"created": 1793836800,
"expires": 1793836860,
"nonce": "GENERATE_32_RANDOM_BYTES_AND_BASE64_ENCODE"
}