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

export default registerAs('waafi', () => ({
  baseUrl: process.env.WAAFI_BASE_URL ?? 'https://api.waafipay.net',
  merchantUid: process.env.WAAFI_MERCHANT_UID ?? '',
  apiUserId: process.env.WAAFI_API_USER_ID ?? '',
  apiKey: process.env.WAAFI_API_KEY ?? '',
  notifyUrl: process.env.WAAFI_NOTIFY_URL ?? '',
  returnUrl: process.env.WAAFI_RETURN_URL ?? '',
}));
