import { registerAs } from '@nestjs/config';

export default registerAs('card', () => ({
  baseUrl: process.env.CARD_BASE_URL || '',
  apiKey: process.env.CARD_API_KEY || '',
  webhookSecret: process.env.CARD_WEBHOOK_SECRET || '',
  webhookUrl: process.env.CARD_WEBHOOK_URL || '',
  returnUrl: process.env.CARD_RETURN_URL || '',
}));
