{"openapi":"3.1.0","info":{"title":"POST /api/v1/bills/payment-suggestions/bulk-approve","version":"1.0.0","description":"Bulk approve bill payment suggestions"},"servers":[{"url":"https://api.ondayzero.com","description":"Production"}],"paths":{"/api/v1/bills/payment-suggestions/bulk-approve":{"post":{"tags":["bills"],"summary":"Bulk approve bill payment suggestions","description":"Accept all pending suggestions above a confidence threshold.","operationId":"bulk_approve_bill_suggestions_api_v1_bills_payment_suggestions_bulk_approve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-business-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Business-Id"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkApproveSuggestionsRequest","default":{"min_confidence":0.85}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkApproveSuggestionsResponse"}}}},"401":{"description":"Unauthorized - Authentication required","content":{"application/json":{"example":{"detail":"Not authenticated"}}}},"403":{"description":"Forbidden - Insufficient permissions","content":{"application/json":{"example":{"detail":"Not enough permissions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"BulkApproveSuggestionsRequest":{"properties":{"min_confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Min Confidence","description":"Only approve suggestions at or above this confidence","default":0.85}},"type":"object","title":"BulkApproveSuggestionsRequest","description":"Request schema for bulk approving bill payment suggestions."},"BulkApproveSuggestionsResponse":{"properties":{"accepted":{"type":"integer","title":"Accepted","description":"Successfully accepted","default":0},"failed":{"type":"integer","title":"Failed","description":"Failed to accept","default":0},"total":{"type":"integer","title":"Total","description":"Total suggestions processed","default":0}},"type":"object","title":"BulkApproveSuggestionsResponse","description":"Response schema for bulk approval results."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Token","description":"API token authentication. Format: `Bearer dz_...`"}}},"security":[{"BearerAuth":[]}]}