cURL
curl --request POST \ --url https://api.ai2fin.com/api/bills/patterns \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "baseAmount": 123, "frequency": "daily", "startDate": "2023-12-25", "endDate": "2023-12-25", "categoryId": "<string>", "dayOfMonth": 16 } '
Create recurring bill pattern with automatic occurrence generation
JWT token obtained from /api/auth/login endpoint. Use for standard API access and OAuth-based integrations.
daily
weekly
fortnightly
monthly
quarterly
yearly
1 <= x <= 31
Pattern created with occurrences