ynkap-payment
Version:
Module de paiement Y-Nkap pour Angular - Intégration simple des paiements mobiles (Orange Money, MTN Mobile Money)
28 lines (27 loc) • 704 B
TypeScript
/**
* Interface for Y-Nkap API configuration
*/
export interface ApiConfig {
/**
* API Key obtained from the Y-Nkap developer portal
*/
apiKey: string;
/**
* API Secret obtained from the Y-Nkap developer portal
*/
apiSecret: string;
/**
* Merchant ID assigned to the developer in the Y-Nkap platform
*/
merchantId: string;
/**
* API Base URL for the Y-Nkap services
* Defaults to the production environment if not specified
*/
apiBaseUrl?: string;
/**
* Optional environment parameter ('production' or 'sandbox')
* Defaults to 'production' if not specified
*/
environment?: 'production' | 'sandbox';
}