// 2. Update card status (soft block first) await client.query( `UPDATE user_cards SET is_active = false, block_reason = $1, blocked_at = NOW() WHERE id = $2`, [reason, cardId] );
await client.query('COMMIT'); return blockReq.rows[0]; catch (err) await client.query('ROLLBACK'); throw err; finally client.release(); block hdfc credit card
export default BlockHDFCCard; .block-card-container max-width: 500px; margin: 2rem auto; padding: 2rem; border-radius: 16px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); background: white; font-family: system-ui, -apple-system, 'Segoe UI', Roboto; block_reason = $1