{"version":1,"x402Version":2,"service":{"name":"Agent Business Days","description":"Calculate business days between two dates for a specified country, excluding weekends and public holidays."},"resources":["https://agent-business-days.replit.app/business-days","https://agent-business-days.replit.app/vendor-payment-risk"],"endpoints":[{"url":"https://agent-business-days.replit.app/business-days","method":"GET","description":"Calculate business days between two dates for a specified country, excluding weekends and public holidays.","parameters":["country","from","to"],"inputSchema":{"type":"object","properties":{"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"Two-letter ISO 3166-1 alpha-2 country code."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Inclusive start date in YYYY-MM-DD format."},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Inclusive end date in YYYY-MM-DD format."}},"required":["country","from","to"],"additionalProperties":false},"output":{"mimeType":"application/json","description":"JSON object containing the normalized country, inclusive date range, and calculated business-day count.","schema":{"type":"object","properties":{"country":{"type":"string"},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"businessDays":{"type":"integer","minimum":0}},"required":["country","from","to","businessDays"],"additionalProperties":false}},"payment":{"protocol":"x402","scheme":"exact","network":{"id":"eip155:8453","name":"Base mainnet"},"asset":{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC","name":"USD Coin"},"price":"$0.01","amount":"10000","payTo":"0xeDd3c3C95c59d48bcf83C0B3a9252c538a02B5D7"}},{"url":"https://agent-business-days.replit.app/vendor-payment-risk","method":"POST","description":"Verify a supplier before making a payment. Perform fast pre-payment vendor risk screening using deterministic company, domain, email, DNS, registration, and IBAN checks. Return a clear GO, REVIEW, or BLOCK decision for AI agents evaluating an invoice or supplier before payment.","parameters":["company_name","domain","email","country","invoice_amount","currency","iban"],"inputSchema":{"type":"object","properties":{"company_name":{"type":"string","description":"Supplier legal or trading name."},"domain":{"type":"string","description":"Supplier domain without a URL scheme or path."},"email":{"type":"string","description":"Supplier billing email address."},"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"Two-letter ISO 3166-1 alpha-2 supplier country code."},"invoice_amount":{"type":"number","exclusiveMinimum":0,"description":"Invoice amount in the supplied currency."},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"Three-letter ISO 4217 currency code."},"iban":{"type":"string","description":"IBAN to validate for format, country length, and MOD-97 checksum. Validation does not prove account ownership."}},"required":["company_name","domain","email","country","invoice_amount","currency","iban"],"additionalProperties":false},"output":{"mimeType":"application/json","description":"Agent-friendly JSON screening result containing a GO, REVIEW, or BLOCK decision, payment recommendation, risk score, evidence-backed signals, detailed checks, limitations, and timestamp. It does not certify that a supplier is legitimate, fraud-free, verified with certainty, or safe to pay.","schema":{"type":"object","properties":{"decision":{"type":"string","enum":["GO","REVIEW","BLOCK"]},"risk_score":{"type":"integer","minimum":0,"maximum":100},"payment_recommendation":{"type":"string","enum":["PROCEED","MANUAL_REVIEW","DO_NOT_PAY"]},"signals":{"type":"array","items":{"type":"object"}},"checks":{"type":"object"},"limitations":{"type":"array","items":{"type":"string"}},"timestamp":{"type":"string"}},"required":["decision","risk_score","payment_recommendation","signals","checks","limitations","timestamp"],"additionalProperties":false}},"payment":{"protocol":"x402","scheme":"exact","network":{"id":"eip155:8453","name":"Base mainnet"},"asset":{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC","name":"USD Coin"},"price":"$0.25","amount":"250000","payTo":"0xeDd3c3C95c59d48bcf83C0B3a9252c538a02B5D7"}}]}