voko-sdk
Version:
Process payments with ease
29 lines (28 loc) • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AZAMPAY_CONFIG = void 0;
const types_1 = require("../../core/types");
exports.AZAMPAY_CONFIG = {
[types_1.Environment.SANDBOX]: {
baseUrl: 'https://sandbox.azampay.co.tz',
authenticationUrl: 'https://authenticator-sandbox.azampay.co.tz',
endpoints: {
mno: '/azampay/mno/checkout',
bank: '/azampay/bank/checkout',
token: '/AppRegistration/GenerateToken',
status: '/order-status',
webhook: '/api/v1/Checkout/Callback',
},
},
[types_1.Environment.PRODUCTION]: {
baseUrl: 'https://api.azampay.co.tz',
authenticationUrl: 'https://authenticator.azampay.co.tz',
endpoints: {
mno: '/azampay/mno/checkout',
bank: '/azampay/bank/checkout',
token: '/AppRegistration/GenerateToken',
status: '/order-status',
webhook: '/api/v1/Checkout/Callback',
},
},
};