{"uid":"cap_yM7BVHefeLpN1pjrhfP3N","slug":"sla-service-credit-audit-d7232eec","name":"SLA Service Credit Audit","description":"Public static preview plus paid token controls, risk consensus, AI security, webhook reliability, developer security, schedule risk, decision analysis, API release compatibility, accounts-payable reconciliation, e-commerce return eligibility, SaaS subscription-proration, sales-commission reconciliation, parcel-charge reconciliation, SLA service-credit reconciliation, advertising spend-and-fee audit, contract-renewal audit, workforce timecard reconciliation, hotel booking-commission reconciliation, and warehouse cycle-count adjustment reconciliation products for autonomous agents.","url":"https://rooke-token-risk-pilot.rookepoole.workers.dev/v1/x402/sla-service-credit-audit","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"contract":{"type":"object","required":["contractId","contractVersion","serviceId","currency","measurementPeriodStart","measurementPeriodEnd","serviceCommitmentBps","minimumCountedOutageSeconds","outageRoundingIncrementSeconds","creditTiers","maximumCreditMinor","claimSubmissionWindowDays"],"properties":{"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"serviceId":{"type":"string","maxLength":120,"minLength":1},"contractId":{"type":"string","maxLength":120,"minLength":1},"creditTiers":{"type":"array","items":{"type":"object","required":["availabilityBelowBps","creditBps"],"properties":{"creditBps":{"type":"integer","maximum":10000,"minimum":0},"availabilityBelowBps":{"type":"integer","maximum":10000,"exclusiveMinimum":0}},"additionalProperties":false},"maxItems":50,"minItems":1},"contractVersion":{"type":"string","maxLength":120,"minLength":1},"maximumCreditMinor":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":0},{"type":"null"}]},"measurementPeriodEnd":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$"},"serviceCommitmentBps":{"type":"integer","maximum":10000,"exclusiveMinimum":0},"measurementPeriodStart":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$"},"claimSubmissionWindowDays":{"type":"integer","maximum":365,"exclusiveMinimum":0},"minimumCountedOutageSeconds":{"type":"integer","maximum":86400,"exclusiveMinimum":0},"outageRoundingIncrementSeconds":{"type":"integer","maximum":86400,"exclusiveMinimum":0}},"additionalProperties":false},"auditPolicy":{"type":"object","required":["evaluatedAt","availabilityToleranceBps","creditToleranceMinor"],"properties":{"evaluatedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$"},"creditToleranceMinor":{"type":"integer","maximum":1000000,"minimum":0},"availabilityToleranceBps":{"type":"integer","maximum":10000,"minimum":0}},"additionalProperties":false},"servicePeriod":{"type":"object","required":["eligibleServiceChargesMinor","incidents"],"properties":{"incidents":{"type":"array","items":{"type":"object","required":["incidentId","startedAt","endedAt","classification","evidenceReference"],"properties":{"endedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$"},"startedAt":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$"},"incidentId":{"type":"string","maxLength":120,"minLength":1},"classification":{"enum":["ELIGIBLE_DOWNTIME","EXCLUDED_MAINTENANCE","EXCLUDED_CUSTOMER_OR_THIRD_PARTY","DISPUTED_CLASSIFICATION"],"type":"string"},"evidenceReference":{"type":"string","maxLength":120,"minLength":1}},"additionalProperties":false},"maxItems":1000},"eligibleServiceChargesMinor":{"type":"integer","maximum":9007199254740991,"minimum":0}},"additionalProperties":false},"providerStatement":{"type":"object","required":["statementId","observedAvailabilityBps","observedServiceCreditMinor"],"properties":{"statementId":{"type":"string","maxLength":120,"minLength":1},"observedAvailabilityBps":{"type":"integer","maximum":10000,"minimum":0},"observedServiceCreditMinor":{"type":"integer","maximum":9007199254740991,"minimum":0}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"summary":{"incidentCount":2,"disputedIncidentCount":0,"eligibleIncidentCount":2,"mergedEligibleIntervalCount":1},"verdict":"MATCHED_WITHIN_TOLERANCE","contract":{"currency":"USD","serviceId":"API-PRODUCTION","contractId":"SLA-42","contractVersion":"2026-07","serviceCommitmentBps":9990},"riskFlags":["OVERLAPPING_ELIGIBLE_INCIDENTS_MERGED","SERVICE_COMMITMENT_BREACHED"],"reportHash":"sha256-hex","claimWindow":{"status":"OPEN","submissionWindowDays":30},"availability":{"varianceBps":0,"totalPeriodSeconds":86400,"countedDowntimeSeconds":900,"observedAvailabilityBps":9896,"calculatedAvailabilityBpsFloor":9895,"calculatedAvailabilityBpsRounded":9896},"evidenceGaps":["CALLER_SUPPLIED_CONTRACT_INCIDENT_AND_STATEMENT_FACTS_NOT_AUTHENTICATED"],"claimBoundary":{"fundsMoved":false,"creditClaimFiled":false,"paymentAttempted":false,"providerMonitoringOrBillingStateVerified":false},"schemaVersion":"SLA_SERVICE_CREDIT_AUDIT_V1","serviceCredit":{"selectedTier":{"creditBps":2500,"availabilityBelowBps":9900},"varianceMinor":0,"expectedCreditMinor":25000,"observedCreditMinor":25000,"eligibleServiceChargesMinor":100000},"incidentResults":[],"countedIntervals":[],"requestCommitment":"sha256-hex","providerStatementId":"STATEMENT-42","recommendedDisposition":"MATCHED_NO_ACTION"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"9","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$9/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"9","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"9","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oAehyF8SwejjUAorRqYcV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"9","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits SLA service credit claims by reconciling observed availability and downtime incidents against contractual commitments, credit tiers, and billing statements to produce a verdict and recommended disposition.","exampleAgentPrompt":"Audit my SLA service credit claim for contract SLA-42 (version 2026-07) covering API-PRODUCTION service from 2026-07-01T00:00:00Z to 2026-07-02T00:00:00Z — the SLA commitment is 99.9% (9990 bps), there were 900 seconds of counted downtime, the provider's statement claims a 25000 minor-unit credit at the 25% tier (below 99% availability), our eligible service charges were 100000 minor units in USD, and the claim window is 30 days — verify whether the credit calculation matches the contract and tell me the recommended disposition.","exampleUseCases":[{"title":"Monthly cloud SLA credit verification","prompt":"Audit my SLA credit for contract CLOUD-SVC-7 (version 2025-Q4) on service prod-api-gateway for November 2025 — the commitment is 99.95% (9995 bps), we had two outages totalling 1800 counted seconds, the provider issued a 15000 USD-cent credit claiming the 10% tier, our eligible charges were 200000 cents with a 30-day claim window — does the credit calculation match the contract and should I accept or dispute it?"},{"title":"Disputed downtime incident reconciliation","prompt":"Check my SLA credit dispute for contract SAAS-ENT-22 (v3.1) on service data-pipeline from 2026-03-01T00:00:00Z to 2026-04-01T00:00:00Z — SLA commitment is 99.5% (9950 bps), the provider counted only 600 seconds of downtime but we logged 3600 seconds, they issued zero credit, eligible charges are 500000 cents in USD with a 14-day submission window — run the audit and flag any discrepancies."},{"title":"Pre-claim SLA credit eligibility check","prompt":"Before I submit a credit claim, audit contract API-PLAT-55 (version 2026-01) for service payments-api over the period 2026-06-01T00:00:00Z to 2026-07-01T00:00:00Z — the SLA is 99.9% (9990 bps), we observed 1200 seconds of outage, the credit tiers give 5% credit below 99.9% and 15% below 99%, eligible charges are 1000000 minor units in USD, claim window is 45 days — tell me if I'm eligible, which tier applies, and the recommended disposition."}],"resultDescription":"Returns a structured audit report including: overall verdict (e.g. MATCHED_WITHIN_TOLERANCE or DISPUTED), recommended disposition, observed and calculated availability in basis points, counted downtime seconds, expected vs observed credit in minor currency units, the credit tier selected, incident-level results, merged eligible intervals, risk flags (e.g. SERVICE_COMMITMENT_BREACHED, OVERLAPPING_ELIGIBLE_INCIDENTS_MERGED), evidence gaps, claim window status (OPEN/CLOSED), a SHA-256 report hash for integrity, and a claimBoundary object indicating whether funds or claims have moved.","failureModes":["Invalid measurement period timestamps (non-UTC or malformed ISO-8601) cause schema validation failure","Credit tiers array missing required availabilityBelowBps or creditBps fields returns 400","serviceCommitmentBps of 0 or above 10000 is rejected as out of range","Claim submission window days exceeding 365 or set to 0 fails validation","Tolerance values exceeding 10000 bps cause rejection","Truncated or missing contract object returns schema error","Payment of $9 USDC required per call; insufficient payment returns 402","Overlapping incident intervals are merged and flagged but do not cause failure — OVERLAPPING_ELIGIBLE_INCIDENTS_MERGED risk flag is raised"],"whenToPreferThis":"Choose this endpoint when you need to programmatically verify whether an SLA service credit claim is accurate, whether a provider's credit calculation matches contract terms, or whether a credit dispute is warranted — specifically when you have structured incident data, a tiered credit schedule, and a provider billing statement to reconcile. It is purpose-built for SLA credit audit (not general uptime monitoring, invoice reconciliation, or payment processing).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:41:32.805Z","isFirstParty":false}