post
https://sandcaas.undostres.com.mx/debit/v1/change-pin
Changes the PIN of a specific card
The operation validates the associated customer and replaces the old PIN with a new one. This request requires authentication and is only available for cards in an active state.
Important considerations
- new_pin must be exactly 4 digits.
- card_id must be valid and belong to the authenticated customer.
- The card must be in a valid state (active, not retired, not permanently blocked).
- The card must not be blocked due to excessive PIN attempts.
- Customer authentication is required.
- All operations are atomic—if the PIN change fails, the old PIN remains valid.