Fail your deploy when your checkout breaks EAA.
One curl in your GitHub Actions. Fails the build when your payment flow regresses on WCAG 2.2 AA or the European Accessibility Act. Pro Annual only.
Quickstart
Generate a key at /products/settings (Pro Annual subscribers only). Then:
curl -X POST https://smartertariff.com/api/v1/scan \
-H "Authorization: Bearer st_live_<your_key>" \
-H "Content-Type: application/json" \
-d '{"url":"https://your-checkout.com","audit_type":"eaa"}'Returns a JSON envelope with score, violations, and an eaa_compliant: true | false boolean. Exit 1 on false to fail your CI.
GitHub Actions
Drop this into .github/workflows/eaa-check.yml:
name: EAA compliance check
on: [pull_request]
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Scan checkout flow
run: |
RESULT=$(curl -s -X POST https://smartertariff.com/api/v1/scan \
-H "Authorization: Bearer ${{ secrets.SMARTERTARIFF_KEY }}" \
-H "Content-Type: application/json" \
-d '{"url":"${{ vars.CHECKOUT_URL }}","audit_type":"eaa"}')
echo "$RESULT" | jq .
COMPLIANT=$(echo "$RESULT" | jq -r .eaa_compliant)
if [ "$COMPLIANT" != "true" ]; then
echo "::error::Checkout flow failed EAA compliance"
exit 1
fiGenerate an SDK in any language
The OpenAPI 3.1 spec is the source of truth. Point any SDK generator at /api/v1/openapi.json:
Stainless (autopilot SDKs)
Production-ready SDKs across TypeScript, Python, Go, Java, Kotlin.
stainless.com →openapi-generator-cli (community)
npx @openapitools/openapi-generator-cli generate \ -i https://smartertariff.com/api/v1/openapi.json \ -g typescript-fetch \ -o ./smartertariff-sdk
orval / kubb (TypeScript + Zod)
Generates typed clients + React Query hooks + Zod schemas in one pass. Point at the OpenAPI URL above.
Pricing & usage
- Pro Annual — $2,990/year. Includes a monthly bundle of compliance scans + the SDK + REST API access.
- Rate limit — 30 requests/minute per API key.
- Overage — usage above the included bundle is billed via Stripe metered pricing at a flat per-scan rate. See your usage in Settings → API.
- Enterprise — 100 req/min, custom DPA, SSO, MCP server access, audit-log retention. Contact for early access.