UNPKG

thawani-nodejs

Version:

Node.js library for Thawani Payment Gateway

21 lines 753 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_TIMEOUT = exports.API_ENDPOINTS = exports.CHECKOUT_URL = exports.API_BASE_URL = void 0; exports.API_BASE_URL = { sandbox: 'https://uatcheckout.thawani.om/api/v1', production: 'https://checkout.thawani.om/api/v1' }; exports.CHECKOUT_URL = { sandbox: 'https://uatcheckout.thawani.om/pay', production: 'https://checkout.thawani.om/pay' }; exports.API_ENDPOINTS = { checkout: '/checkout/session', customers: '/customers', payments: '/payments', refunds: '/refunds', paymentIntents: '/payment_intents', paymentMethods: '/payment_methods' }; exports.DEFAULT_TIMEOUT = 30000; // 30 seconds //# sourceMappingURL=constants.js.map