mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-09 01:18:18 +00:00
feat: ( payment ) create payment microservice
This commit is contained in:
9
apps/edr-payment-api/src/config/card.config.ts
Normal file
9
apps/edr-payment-api/src/config/card.config.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
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 || "",
|
||||
}));
|
||||
Reference in New Issue
Block a user