post
https://sandcaas.undostres.com.mx/debit/v1/orderCard
Order a new card for a specific customer
Generates a card for the customer, starting the delivery and manufacturing process.
At this point, the card is not linked to the customer's account, and the only customized part is the name that will be printed on the card.
This endpoint is intended for Business-to-Consumer (B2C) operations.
Important considerations:
- new_pin must be exactly 4 digits.
- balance_id is required and determines which balance the card will be linked to.
- delivery_location is required for physical cards when delivery is enabled—all mandatory fields must be provided.
- front_name is optional and will be printed on the card.
- campaign_id is optional—a default campaign will be used if not provided.
- For physical cards, the delivery process starts immediately.
- The card is not usable until activated.
- The endpoint supports both physical and virtual card types.
- All operations are atomic—if any step fails, the entire operation is rolled back.