{"name":"OceanAlt x402 Compliance Conformance Pack","version":"0.1","updated":"2026-08","summary":"Machine-readable reason_code + retry-semantics taxonomy for pre-settlement compliance in agent payments (x402/MCP). Grounded in the live pre-payment checks.","status":{"shipped":["reason_code","signal_class","retry","retry_hint"],"proposed_not_shipped":["HTTP 451 status mapping for regulatory blocks","JSON-RPC error codes -4510 / -4020"],"note":"Endpoints return the reason_code/retry fields today (HTTP status stays 200/403/409). The 451/-4510 wire mapping is a proposed, versioned change and is NOT yet shipped."},"signal_classes":{"ok":{"retry":"not_applicable","meaning":"no blocking signal found; apply your own policy. Not a safety guarantee"},"payment":{"retry":"retryable_after_funding","meaning":"budget/limit; retry only after the cap/budget changes"},"regulatory":{"retry":"non_retryable","meaning":"deterministic compliance FAIL; do not auto-retry unless the underlying compliance state changes"},"authorization":{"retry":"retry_after_authorization","meaning":"attribution/mandate/allowlist/credential; retry only after authorization changes"},"uncertain":{"retry":"policy_dependent_backoff","meaning":"screening unavailable/inconclusive; back off and re-evaluate, never silently PASS"},"client_error":{"retry":"retry_after_fix","meaning":"malformed request; fix and retry"}},"reason_codes":[{"reason_code":"kya_unattributed","signal_class":"authorization","retry":"retry_after_authorization","retry_hint":"retry only after authorization changes (present credential / re-authorize / update allowlist).","from":"KYA"},{"reason_code":"mandate_revoked","signal_class":"authorization","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"KYA/Revoked"},{"reason_code":"kya_proof_missing","signal_class":"authorization","retry":"retry_after_authorization","retry_hint":"retry only after authorization changes (present credential / re-authorize / update allowlist).","from":"KYA/Proof"},{"reason_code":"kyc_required","signal_class":"authorization","retry":"retry_after_authorization","retry_hint":"retry only after authorization changes (present credential / re-authorize / update allowlist).","from":"KYA/KYC"},{"reason_code":"invalid_input","signal_class":"client_error","retry":"retry_after_fix","retry_hint":"fix the request and retry.","from":"Input"},{"reason_code":"over_per_tx_limit","signal_class":"payment","retry":"retryable_after_funding","retry_hint":"retry only after the budget/limit changes (raise the cap or fund the mandate).","from":"Firewall/Limit"},{"reason_code":"over_daily_limit","signal_class":"payment","retry":"retryable_after_funding","retry_hint":"retry only after the budget/limit changes (raise the cap or fund the mandate).","from":"Firewall/Velocity"},{"reason_code":"payee_not_allowlisted","signal_class":"authorization","retry":"retry_after_authorization","retry_hint":"retry only after authorization changes (present credential / re-authorize / update allowlist).","from":"Firewall/Allowlist"},{"reason_code":"mandate_intent_mismatch","signal_class":"authorization","retry":"retry_after_authorization","retry_hint":"retry only after authorization changes (present credential / re-authorize / update allowlist).","from":"Mandate"},{"reason_code":"sanctioned_or_high_risk_payee","signal_class":"regulatory","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"Screening/AML"},{"reason_code":"behavioral_anomaly","signal_class":"uncertain","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"Behavior/Anomaly"},{"reason_code":"replay_detected","signal_class":"authorization","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"Mandate/Replay"},{"reason_code":"clear","signal_class":"ok","retry":"not_applicable","retry_hint":"No blocking signal found; apply your own policy. This is not a safety guarantee.","from":"allow"},{"reason_code":"elevated_risk_payee","signal_class":"uncertain","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"screening: review"},{"reason_code":"screening_unavailable","signal_class":"uncertain","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"screening unavailable"},{"reason_code":"free_allowance_exhausted","signal_class":"payment","retry":"retryable_after_funding","retry_hint":"retry only after the budget/limit changes (raise the cap or fund the mandate).","from":"anonymous monthly allowance used up on /api/decide, /api/risk or /api/payee/decide (HTTP 402): pay per call or use a free key"},{"reason_code":"screening_partially_unavailable","signal_class":"uncertain","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"screening: part of the on-chain data could not be fetched and nothing else was found; re-check later"},{"reason_code":"payment_request_untrusted","signal_class":"authorization","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"POST /api/payment-request: spoofed sender, phishing link, listed payee, AI-aimed instructions, or a changed-payment-details pattern"},{"reason_code":"payment_request_needs_confirmation","signal_class":"uncertain","retry":"retry_after_authorization","retry_hint":"retry only after authorization changes (present credential / re-authorize / update allowlist).","from":"POST /api/payment-request: suspicious traits worth confirming through a trusted channel"},{"reason_code":"phishing_endpoint","signal_class":"regulatory","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"GET /api/endpoint: the URL or its parent domain is on a phishing-domain list"},{"reason_code":"elevated_risk_endpoint","signal_class":"uncertain","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"GET /api/endpoint: suspicious hostname shape or an unknown host"},{"reason_code":"payee_differs_from_listing","signal_class":"authorization","retry":"retry_after_authorization","retry_hint":"retry only after authorization changes (present credential / re-authorize / update allowlist).","from":"POST /api/decide: payment_intent.payee differs from the payout wallet listed for resource_ref in the public x402 directory"},{"reason_code":"payee_changed_since_previous","signal_class":"authorization","retry":"retry_after_authorization","retry_hint":"retry only after authorization changes (present credential / re-authorize / update allowlist).","from":"POST /api/decide: payee, network or asset differs from previous_payment_intent"},{"reason_code":"payee_not_bound_to_origin","signal_class":"authorization","retry":"retry_after_fix","retry_hint":"fix the request and retry.","from":"POST /api/decide: the origin of payment_intent.resource_ref quotes a different payee (RAP §6.5, proposed)"},{"reason_code":"payee_origin_binding_unavailable","signal_class":"uncertain","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"POST /api/decide: the origin of payment_intent.resource_ref could not be checked (RAP §6.5, proposed)"},{"reason_code":"payee_not_authorized_by_origin","signal_class":"authorization","retry":"retry_after_authorization","retry_hint":"retry only after authorization changes (present credential / re-authorize / update allowlist).","from":"POST /api/decide: the controller of the resource_ref origin published a signed payout-address list for this network that does not include the payee (payee_authorization.status not_bound); raises allow to review"},{"reason_code":"payee_change_not_authorized_by_origin","signal_class":"authorization","retry":"retry_after_authorization","retry_hint":"retry only after authorization changes (present credential / re-authorize / update allowlist).","from":"POST /api/decide: the payee changed since previous_payment_intent and the origin's signed payout-address list excludes the new payee; decline"},{"reason_code":"payee_is_token_contract","signal_class":"client_error","retry":"retry_after_fix","retry_hint":"fix the request and retry.","from":"screening: payee is a token contract address, not a recipient"},{"reason_code":"payer_screening_declined","signal_class":"regulatory","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"x402 paid endpoints: the paying wallet is on a sanctions or risk list, so OceanAlt does not settle the payment"},{"reason_code":"idempotency_key_invalid","signal_class":"client_error","retry":"retry_after_fix","retry_hint":"fix the request and retry.","from":"POST /api/pay: malformed Idempotency-Key (400)"},{"reason_code":"idempotency_key_reused","signal_class":"client_error","retry":"retry_after_fix","retry_hint":"fix the request and retry.","from":"POST /api/pay: Idempotency-Key reused with a different body (422)"},{"reason_code":"idempotency_request_in_progress","signal_class":"uncertain","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"POST /api/pay: original request with this Idempotency-Key still running (409)"},{"reason_code":"key_scope_denied","signal_class":"authorization","retry":"retry_after_authorization","retry_hint":"retry only after authorization changes (present credential / re-authorize / update allowlist).","from":"API key restricted to other scopes by its holder (403)"},{"reason_code":"key_ip_denied","signal_class":"authorization","retry":"retry_after_authorization","retry_hint":"retry only after authorization changes (present credential / re-authorize / update allowlist).","from":"API key restricted to an IP allowlist by its holder; this request came from elsewhere (403)"},{"reason_code":"x402_v1_payment_unmatched","signal_class":"client_error","retry":"retry_after_fix","retry_hint":"fix the request and retry.","from":"x402 paid endpoints: an x402 v1 payment header that matches none of the offered requirements (402 with payment_error)"},{"reason_code":"beta_wallet_daily_limit","signal_class":"payment","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"paid endpoints on mainnet: this wallet reached its daily call limit (429); nothing was settled"},{"reason_code":"beta_ip_daily_limit","signal_class":"payment","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"paid endpoints on mainnet: this caller reached its daily call limit (429)"},{"reason_code":"beta_global_daily_limit","signal_class":"payment","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"paid endpoints on mainnet: the daily limit for all callers was reached (429)"},{"reason_code":"beta_monthly_fee_cap","signal_class":"payment","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"paid endpoints on mainnet: the monthly fee cap was reached (429)"},{"reason_code":"mainnet_disabled","signal_class":"uncertain","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"paid endpoints on mainnet: paid access is closed (503); free tools are unaffected"},{"reason_code":"mainnet_kill_switch","signal_class":"uncertain","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"paid endpoints on mainnet: paid access is paused for maintenance (503); free tools are unaffected"},{"reason_code":"mainnet_guard_unavailable","signal_class":"uncertain","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"POST /api/mpp/decision: the pre-payment guard could not be evaluated (503); nothing was charged"},{"reason_code":"geo_blocked","signal_class":"regulatory","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"paid endpoints on mainnet: paid access is not offered in the caller's region (451)"},{"reason_code":"decision_failed_after_payment","signal_class":"uncertain","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"POST /api/mpp/decision: the payment settled but no decision was produced (503); recorded for a manual refund, do not treat it as allow and do not pay again for the same call"},{"reason_code":"credit_malformed","signal_class":"client_error","retry":"retry_after_fix","retry_hint":"fix the request and retry.","from":"POST /api/x402/decision with a credit token: the token is malformed (403)"},{"reason_code":"credit_unknown","signal_class":"client_error","retry":"retry_after_fix","retry_hint":"fix the request and retry.","from":"POST /api/x402/decision with a credit token: the token is not known (403)"},{"reason_code":"credit_pending","signal_class":"payment","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"POST /api/x402/decision with a credit token: the pack's payment has not settled yet (403)"},{"reason_code":"credit_failed","signal_class":"payment","retry":"retryable_after_funding","retry_hint":"retry only after the budget/limit changes (raise the cap or fund the mandate).","from":"POST /api/x402/decision with a credit token: the pack's payment never settled, so it never activated (403)"},{"reason_code":"credit_revoked","signal_class":"authorization","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"POST /api/x402/decision with a credit token: the pack was revoked (403)"},{"reason_code":"credit_expired","signal_class":"payment","retry":"retryable_after_funding","retry_hint":"retry only after the budget/limit changes (raise the cap or fund the mandate).","from":"POST /api/x402/decision with a credit token: the pack expired (402); buy a new one at POST /api/x402/credits"},{"reason_code":"credit_exhausted","signal_class":"payment","retry":"retryable_after_funding","retry_hint":"retry only after the budget/limit changes (raise the cap or fund the mandate).","from":"POST /api/x402/decision with a credit token: no credits left (402); buy a new pack at POST /api/x402/credits"},{"reason_code":"mandate_signature_invalid","signal_class":"authorization","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"POST /api/mandate/check: mandate_signature_check.reason_code when the mandate signature does not verify"},{"reason_code":"mandate_signature_unverifiable","signal_class":"uncertain","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"POST /api/mandate/check: mandate_signature_check.reason_code when the signature could not be checked"},{"reason_code":"ok","signal_class":"ok","retry":"not_applicable","retry_hint":"No blocking signal found; apply your own policy. This is not a safety guarantee.","from":"POST /api/x402/verify-requirements: the signed payment requirements verify under the seller's published key"},{"reason_code":"no_signature","signal_class":"uncertain","retry":"not_applicable","retry_hint":"No blocking signal found; apply your own policy. This is not a safety guarantee.","from":"POST /api/x402/verify-requirements: the 402 response carries no signed requirements, so nothing was verified"},{"reason_code":"digest_mismatch","signal_class":"authorization","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"POST /api/x402/verify-requirements: the protected fields differ from the digest the seller signed"},{"reason_code":"signature_invalid","signal_class":"authorization","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"POST /api/x402/verify-requirements: the signature does not verify under the seller's published key"},{"reason_code":"key_unavailable","signal_class":"uncertain","retry":"policy_dependent_backoff","retry_hint":"UNCERTAIN — back off and re-evaluate, or apply your local fail-open/fail-closed policy; never treat as a PASS.","from":"POST /api/x402/verify-requirements: no public key with that key_id at the seller's keys_url"},{"reason_code":"payto_mismatch","signal_class":"authorization","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"POST /api/x402/verify-requirements: the signed requirements are genuine but name a different payTo"},{"reason_code":"amount_mismatch","signal_class":"authorization","retry":"non_retryable","retry_hint":"do NOT auto-retry; a deterministic compliance block — retry only if the underlying compliance state changes.","from":"POST /api/x402/verify-requirements: the signed requirements are genuine but name a different amount"}],"reproduce":{"sanctioned_payee":"curl 'https://oceanalt.com/api/risk?addr=0x8589427373D6D84E98730D7795D8f6f8731FDA16'  # → regulatory / non_retryable","clear_payee":"curl 'https://oceanalt.com/api/risk?addr=0x742d35Cc6634C0532925a3b844Bc454e4438f44e'  # → ok / not_applicable"},"human_readable":"https://oceanalt.com/en/x402-conformance","standard":"https://oceanalt.com/en/rap","disclaimer":"Compliance screening is not full/licensed AML compliance; clear/allow is not absolute safety."}