post
https://sandcaas.undostres.com.mx/debit/v1/customer-program
Creates a new customer program (campaign) that defines financial and operational parameters for debit card operations. Programs control interest rates, fees, grace periods, billing cycles, and other settings applied to assigned customers.
Important considerations
- program_name must be unique; duplicates are not allowed.
- Financial parameters (interest_rate, default_interest_commission, default_interest_rate, deferred_purchase_interest_rate, emission_fee, withdrawal_commission_rate, min_due_payment_multiplier) must be non-negative.
- cutoff_day must be an integer between 1 and 31.
- grace_period_days must be non-negative.
- is_guarantee indicates if cards in this program are guarantee cards.
- Interest rates are stored with 4-decimal precision (×10000).
- Commissions and fees are stored with 2-decimal precision (×100).
- A unique program_code is automatically generated (format: 3 letters + date + 3 digits, e.g., "ABC250820641") and cannot be customized.
- The program is created with version 1 and active status by default.
- All operations are atomic and if any validation fails, the program is not created.