cashfree-pg 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +161 -161
- package/dist/api.js +161 -161
- package/dist/esm/api.js +161 -161
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -10915,7 +10915,7 @@ const CustomersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
10915
10915
|
const localVarPath = `/customers`;
|
|
10916
10916
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10917
10917
|
var url = "https://sandbox.cashfree.com/pg";
|
|
10918
|
-
if(
|
|
10918
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
10919
10919
|
url = "https://api.cashfree.com/pg"
|
|
10920
10920
|
}
|
|
10921
10921
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -10943,7 +10943,7 @@ const CustomersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
10943
10943
|
|
|
10944
10944
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10945
10945
|
|
|
10946
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
10946
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
10947
10947
|
if (x_api_version != null && x_api_version != undefined) {
|
|
10948
10948
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
10949
10949
|
}
|
|
@@ -11032,7 +11032,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11032
11032
|
.replace(`{${"dispute_id"}}`, encodeURIComponent(String(dispute_id)));
|
|
11033
11033
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11034
11034
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11035
|
-
if(
|
|
11035
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11036
11036
|
url = "https://api.cashfree.com/pg"
|
|
11037
11037
|
}
|
|
11038
11038
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -11058,7 +11058,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11058
11058
|
|
|
11059
11059
|
|
|
11060
11060
|
|
|
11061
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11061
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
11062
11062
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11063
11063
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11064
11064
|
}
|
|
@@ -11100,7 +11100,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11100
11100
|
.replace(`{${"dispute_id"}}`, encodeURIComponent(String(dispute_id)));
|
|
11101
11101
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11102
11102
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11103
|
-
if(
|
|
11103
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11104
11104
|
url = "https://api.cashfree.com/pg"
|
|
11105
11105
|
}
|
|
11106
11106
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -11126,7 +11126,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11126
11126
|
|
|
11127
11127
|
|
|
11128
11128
|
|
|
11129
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11129
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
11130
11130
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11131
11131
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11132
11132
|
}
|
|
@@ -11168,7 +11168,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11168
11168
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
11169
11169
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11170
11170
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11171
|
-
if(
|
|
11171
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11172
11172
|
url = "https://api.cashfree.com/pg"
|
|
11173
11173
|
}
|
|
11174
11174
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -11194,7 +11194,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11194
11194
|
|
|
11195
11195
|
|
|
11196
11196
|
|
|
11197
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11197
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
11198
11198
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11199
11199
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11200
11200
|
}
|
|
@@ -11236,7 +11236,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11236
11236
|
.replace(`{${"cf_payment_id"}}`, encodeURIComponent(String(cf_payment_id)));
|
|
11237
11237
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11238
11238
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11239
|
-
if(
|
|
11239
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11240
11240
|
url = "https://api.cashfree.com/pg"
|
|
11241
11241
|
}
|
|
11242
11242
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -11262,7 +11262,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11262
11262
|
|
|
11263
11263
|
|
|
11264
11264
|
|
|
11265
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11265
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
11266
11266
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11267
11267
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11268
11268
|
}
|
|
@@ -11311,7 +11311,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11311
11311
|
.replace(`{${"dispute_id"}}`, encodeURIComponent(String(dispute_id)));
|
|
11312
11312
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11313
11313
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11314
|
-
if(
|
|
11314
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11315
11315
|
url = "https://api.cashfree.com/pg"
|
|
11316
11316
|
}
|
|
11317
11317
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -11352,7 +11352,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11352
11352
|
|
|
11353
11353
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
11354
11354
|
|
|
11355
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11355
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
11356
11356
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11357
11357
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11358
11358
|
}
|
|
@@ -11517,7 +11517,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11517
11517
|
.replace(`{${"vendor_id"}}`, encodeURIComponent(String(vendor_id)));
|
|
11518
11518
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11519
11519
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11520
|
-
if(
|
|
11520
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11521
11521
|
url = "https://api.cashfree.com/pg"
|
|
11522
11522
|
}
|
|
11523
11523
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -11545,7 +11545,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11545
11545
|
|
|
11546
11546
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11547
11547
|
|
|
11548
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11548
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
11549
11549
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11550
11550
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11551
11551
|
}
|
|
@@ -11589,7 +11589,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11589
11589
|
.replace(`{${"vendor_id"}}`, encodeURIComponent(String(vendor_id)));
|
|
11590
11590
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11591
11591
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11592
|
-
if(
|
|
11592
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11593
11593
|
url = "https://api.cashfree.com/pg"
|
|
11594
11594
|
}
|
|
11595
11595
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -11617,7 +11617,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11617
11617
|
|
|
11618
11618
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11619
11619
|
|
|
11620
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11620
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
11621
11621
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11622
11622
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11623
11623
|
}
|
|
@@ -11657,7 +11657,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11657
11657
|
const localVarPath = `/easy-split/vendors`;
|
|
11658
11658
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11659
11659
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11660
|
-
if(
|
|
11660
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11661
11661
|
url = "https://api.cashfree.com/pg"
|
|
11662
11662
|
}
|
|
11663
11663
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -11685,7 +11685,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11685
11685
|
|
|
11686
11686
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11687
11687
|
|
|
11688
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11688
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
11689
11689
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11690
11690
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11691
11691
|
}
|
|
@@ -11732,7 +11732,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11732
11732
|
.replace(`{${"vendor_id"}}`, encodeURIComponent(String(vendor_id)));
|
|
11733
11733
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11734
11734
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11735
|
-
if(
|
|
11735
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11736
11736
|
url = "https://api.cashfree.com/pg"
|
|
11737
11737
|
}
|
|
11738
11738
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -11758,7 +11758,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11758
11758
|
|
|
11759
11759
|
|
|
11760
11760
|
|
|
11761
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11761
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
11762
11762
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11763
11763
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11764
11764
|
}
|
|
@@ -11800,7 +11800,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11800
11800
|
.replace(`{${"vendor_id"}}`, encodeURIComponent(String(vendor_id)));
|
|
11801
11801
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11802
11802
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11803
|
-
if(
|
|
11803
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11804
11804
|
url = "https://api.cashfree.com/pg"
|
|
11805
11805
|
}
|
|
11806
11806
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -11826,7 +11826,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11826
11826
|
|
|
11827
11827
|
|
|
11828
11828
|
|
|
11829
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11829
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
11830
11830
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11831
11831
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11832
11832
|
}
|
|
@@ -11868,7 +11868,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11868
11868
|
.replace(`{${"vendor_id"}}`, encodeURIComponent(String(vendor_id)));
|
|
11869
11869
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11870
11870
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11871
|
-
if(
|
|
11871
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11872
11872
|
url = "https://api.cashfree.com/pg"
|
|
11873
11873
|
}
|
|
11874
11874
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -11894,7 +11894,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11894
11894
|
|
|
11895
11895
|
|
|
11896
11896
|
|
|
11897
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11897
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
11898
11898
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11899
11899
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11900
11900
|
}
|
|
@@ -11939,7 +11939,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11939
11939
|
.replace(`{${"amount"}}`, encodeURIComponent(String(amount)));
|
|
11940
11940
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11941
11941
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11942
|
-
if(
|
|
11942
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11943
11943
|
url = "https://api.cashfree.com/pg"
|
|
11944
11944
|
}
|
|
11945
11945
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -11969,7 +11969,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11969
11969
|
|
|
11970
11970
|
|
|
11971
11971
|
|
|
11972
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11972
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
11973
11973
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11974
11974
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11975
11975
|
}
|
|
@@ -12011,7 +12011,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12011
12011
|
.replace(`{${"vendor_id"}}`, encodeURIComponent(String(vendor_id)));
|
|
12012
12012
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12013
12013
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12014
|
-
if(
|
|
12014
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12015
12015
|
url = "https://api.cashfree.com/pg"
|
|
12016
12016
|
}
|
|
12017
12017
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -12037,7 +12037,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12037
12037
|
|
|
12038
12038
|
|
|
12039
12039
|
|
|
12040
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12040
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
12041
12041
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12042
12042
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12043
12043
|
}
|
|
@@ -12076,7 +12076,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12076
12076
|
const localVarPath = `/split/order/vendor/recon`;
|
|
12077
12077
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12078
12078
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12079
|
-
if(
|
|
12079
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12080
12080
|
url = "https://api.cashfree.com/pg"
|
|
12081
12081
|
}
|
|
12082
12082
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -12104,7 +12104,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12104
12104
|
|
|
12105
12105
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12106
12106
|
|
|
12107
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12107
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
12108
12108
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12109
12109
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12110
12110
|
}
|
|
@@ -12148,7 +12148,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12148
12148
|
.replace(`{${"vendor_id"}}`, encodeURIComponent(String(vendor_id)));
|
|
12149
12149
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12150
12150
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12151
|
-
if(
|
|
12151
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12152
12152
|
url = "https://api.cashfree.com/pg"
|
|
12153
12153
|
}
|
|
12154
12154
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -12176,7 +12176,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12176
12176
|
|
|
12177
12177
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12178
12178
|
|
|
12179
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12179
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
12180
12180
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12181
12181
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12182
12182
|
}
|
|
@@ -12222,7 +12222,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12222
12222
|
.replace(`{${"vendor_id"}}`, encodeURIComponent(String(vendor_id)));
|
|
12223
12223
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12224
12224
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12225
|
-
if(
|
|
12225
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12226
12226
|
url = "https://api.cashfree.com/pg"
|
|
12227
12227
|
}
|
|
12228
12228
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -12263,7 +12263,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12263
12263
|
|
|
12264
12264
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
12265
12265
|
|
|
12266
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12266
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
12267
12267
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12268
12268
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12269
12269
|
}
|
|
@@ -12307,7 +12307,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12307
12307
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
12308
12308
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12309
12309
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12310
|
-
if(
|
|
12310
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12311
12311
|
url = "https://api.cashfree.com/pg"
|
|
12312
12312
|
}
|
|
12313
12313
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -12335,7 +12335,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12335
12335
|
|
|
12336
12336
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12337
12337
|
|
|
12338
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12338
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
12339
12339
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12340
12340
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12341
12341
|
}
|
|
@@ -12375,7 +12375,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12375
12375
|
const localVarPath = `/easy-split/static-split`;
|
|
12376
12376
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12377
12377
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12378
|
-
if(
|
|
12378
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12379
12379
|
url = "https://api.cashfree.com/pg"
|
|
12380
12380
|
}
|
|
12381
12381
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -12403,7 +12403,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12403
12403
|
|
|
12404
12404
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12405
12405
|
|
|
12406
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12406
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
12407
12407
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12408
12408
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12409
12409
|
}
|
|
@@ -12446,7 +12446,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12446
12446
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
12447
12447
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12448
12448
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12449
|
-
if(
|
|
12449
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12450
12450
|
url = "https://api.cashfree.com/pg"
|
|
12451
12451
|
}
|
|
12452
12452
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -12472,7 +12472,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12472
12472
|
|
|
12473
12473
|
|
|
12474
12474
|
|
|
12475
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12475
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
12476
12476
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12477
12477
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12478
12478
|
}
|
|
@@ -12802,7 +12802,7 @@ const EligibilityApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12802
12802
|
const localVarPath = `/eligibility/cardlessemi`;
|
|
12803
12803
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12804
12804
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12805
|
-
if(
|
|
12805
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12806
12806
|
url = "https://api.cashfree.com/pg"
|
|
12807
12807
|
}
|
|
12808
12808
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -12830,7 +12830,7 @@ const EligibilityApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12830
12830
|
|
|
12831
12831
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12832
12832
|
|
|
12833
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12833
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
12834
12834
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12835
12835
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12836
12836
|
}
|
|
@@ -12872,7 +12872,7 @@ const EligibilityApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12872
12872
|
const localVarPath = `/eligibility/offers`;
|
|
12873
12873
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12874
12874
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12875
|
-
if(
|
|
12875
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12876
12876
|
url = "https://api.cashfree.com/pg"
|
|
12877
12877
|
}
|
|
12878
12878
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -12900,7 +12900,7 @@ const EligibilityApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12900
12900
|
|
|
12901
12901
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12902
12902
|
|
|
12903
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12903
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
12904
12904
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12905
12905
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12906
12906
|
}
|
|
@@ -12942,7 +12942,7 @@ const EligibilityApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12942
12942
|
const localVarPath = `/eligibility/paylater`;
|
|
12943
12943
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12944
12944
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12945
|
-
if(
|
|
12945
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12946
12946
|
url = "https://api.cashfree.com/pg"
|
|
12947
12947
|
}
|
|
12948
12948
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -12970,7 +12970,7 @@ const EligibilityApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12970
12970
|
|
|
12971
12971
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12972
12972
|
|
|
12973
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12973
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
12974
12974
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12975
12975
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12976
12976
|
}
|
|
@@ -13012,7 +13012,7 @@ const EligibilityApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13012
13012
|
const localVarPath = `/eligibility/payment_methods`;
|
|
13013
13013
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13014
13014
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13015
|
-
if(
|
|
13015
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13016
13016
|
url = "https://api.cashfree.com/pg"
|
|
13017
13017
|
}
|
|
13018
13018
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -13040,7 +13040,7 @@ const EligibilityApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13040
13040
|
|
|
13041
13041
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13042
13042
|
|
|
13043
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13043
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
13044
13044
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13045
13045
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13046
13046
|
}
|
|
@@ -13182,7 +13182,7 @@ const OffersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13182
13182
|
const localVarPath = `/offers`;
|
|
13183
13183
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13184
13184
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13185
|
-
if(
|
|
13185
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13186
13186
|
url = "https://api.cashfree.com/pg"
|
|
13187
13187
|
}
|
|
13188
13188
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -13210,7 +13210,7 @@ const OffersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13210
13210
|
|
|
13211
13211
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13212
13212
|
|
|
13213
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13213
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
13214
13214
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13215
13215
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13216
13216
|
}
|
|
@@ -13253,7 +13253,7 @@ const OffersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13253
13253
|
.replace(`{${"offer_id"}}`, encodeURIComponent(String(offer_id)));
|
|
13254
13254
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13255
13255
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13256
|
-
if(
|
|
13256
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13257
13257
|
url = "https://api.cashfree.com/pg"
|
|
13258
13258
|
}
|
|
13259
13259
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -13279,7 +13279,7 @@ const OffersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13279
13279
|
|
|
13280
13280
|
|
|
13281
13281
|
|
|
13282
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13282
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
13283
13283
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13284
13284
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13285
13285
|
}
|
|
@@ -13384,7 +13384,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13384
13384
|
const localVarPath = `/orders`;
|
|
13385
13385
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13386
13386
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13387
|
-
if(
|
|
13387
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13388
13388
|
url = "https://api.cashfree.com/pg"
|
|
13389
13389
|
}
|
|
13390
13390
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -13412,7 +13412,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13412
13412
|
|
|
13413
13413
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13414
13414
|
|
|
13415
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13415
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
13416
13416
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13417
13417
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13418
13418
|
}
|
|
@@ -13455,7 +13455,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13455
13455
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
13456
13456
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13457
13457
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13458
|
-
if(
|
|
13458
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13459
13459
|
url = "https://api.cashfree.com/pg"
|
|
13460
13460
|
}
|
|
13461
13461
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -13481,7 +13481,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13481
13481
|
|
|
13482
13482
|
|
|
13483
13483
|
|
|
13484
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13484
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
13485
13485
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13486
13486
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13487
13487
|
}
|
|
@@ -13523,7 +13523,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13523
13523
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
13524
13524
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13525
13525
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13526
|
-
if(
|
|
13526
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13527
13527
|
url = "https://api.cashfree.com/pg"
|
|
13528
13528
|
}
|
|
13529
13529
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -13549,7 +13549,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13549
13549
|
|
|
13550
13550
|
|
|
13551
13551
|
|
|
13552
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13552
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
13553
13553
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13554
13554
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13555
13555
|
}
|
|
@@ -13594,7 +13594,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13594
13594
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
13595
13595
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13596
13596
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13597
|
-
if(
|
|
13597
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13598
13598
|
url = "https://api.cashfree.com/pg"
|
|
13599
13599
|
}
|
|
13600
13600
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -13622,7 +13622,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13622
13622
|
|
|
13623
13623
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13624
13624
|
|
|
13625
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13625
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
13626
13626
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13627
13627
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13628
13628
|
}
|
|
@@ -13668,7 +13668,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13668
13668
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
13669
13669
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13670
13670
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13671
|
-
if(
|
|
13671
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13672
13672
|
url = "https://api.cashfree.com/pg"
|
|
13673
13673
|
}
|
|
13674
13674
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -13696,7 +13696,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13696
13696
|
|
|
13697
13697
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13698
13698
|
|
|
13699
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13699
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
13700
13700
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13701
13701
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13702
13702
|
}
|
|
@@ -13860,7 +13860,7 @@ const PGReconciliationApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13860
13860
|
const localVarPath = `/recon`;
|
|
13861
13861
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13862
13862
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13863
|
-
if(
|
|
13863
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13864
13864
|
url = "https://api.cashfree.com/pg"
|
|
13865
13865
|
}
|
|
13866
13866
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -13888,7 +13888,7 @@ const PGReconciliationApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13888
13888
|
|
|
13889
13889
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13890
13890
|
|
|
13891
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13891
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
13892
13892
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13893
13893
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13894
13894
|
}
|
|
@@ -13979,7 +13979,7 @@ const PaymentLinksApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13979
13979
|
.replace(`{${"link_id"}}`, encodeURIComponent(String(link_id)));
|
|
13980
13980
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13981
13981
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13982
|
-
if(
|
|
13982
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13983
13983
|
url = "https://api.cashfree.com/pg"
|
|
13984
13984
|
}
|
|
13985
13985
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -14005,7 +14005,7 @@ const PaymentLinksApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14005
14005
|
|
|
14006
14006
|
|
|
14007
14007
|
|
|
14008
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14008
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
14009
14009
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14010
14010
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14011
14011
|
}
|
|
@@ -14046,7 +14046,7 @@ const PaymentLinksApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14046
14046
|
const localVarPath = `/links`;
|
|
14047
14047
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14048
14048
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14049
|
-
if(
|
|
14049
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14050
14050
|
url = "https://api.cashfree.com/pg"
|
|
14051
14051
|
}
|
|
14052
14052
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -14074,7 +14074,7 @@ const PaymentLinksApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14074
14074
|
|
|
14075
14075
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14076
14076
|
|
|
14077
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14077
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
14078
14078
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14079
14079
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14080
14080
|
}
|
|
@@ -14117,7 +14117,7 @@ const PaymentLinksApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14117
14117
|
.replace(`{${"link_id"}}`, encodeURIComponent(String(link_id)));
|
|
14118
14118
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14119
14119
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14120
|
-
if(
|
|
14120
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14121
14121
|
url = "https://api.cashfree.com/pg"
|
|
14122
14122
|
}
|
|
14123
14123
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -14143,7 +14143,7 @@ const PaymentLinksApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14143
14143
|
|
|
14144
14144
|
|
|
14145
14145
|
|
|
14146
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14146
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
14147
14147
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14148
14148
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14149
14149
|
}
|
|
@@ -14186,7 +14186,7 @@ const PaymentLinksApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14186
14186
|
.replace(`{${"link_id"}}`, encodeURIComponent(String(link_id)));
|
|
14187
14187
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14188
14188
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14189
|
-
if(
|
|
14189
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14190
14190
|
url = "https://api.cashfree.com/pg"
|
|
14191
14191
|
}
|
|
14192
14192
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -14216,7 +14216,7 @@ const PaymentLinksApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14216
14216
|
|
|
14217
14217
|
|
|
14218
14218
|
|
|
14219
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14219
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
14220
14220
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14221
14221
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14222
14222
|
}
|
|
@@ -14362,7 +14362,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14362
14362
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
14363
14363
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14364
14364
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14365
|
-
if(
|
|
14365
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14366
14366
|
url = "https://api.cashfree.com/pg"
|
|
14367
14367
|
}
|
|
14368
14368
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -14390,7 +14390,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14390
14390
|
|
|
14391
14391
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14392
14392
|
|
|
14393
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14393
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
14394
14394
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14395
14395
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14396
14396
|
}
|
|
@@ -14436,7 +14436,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14436
14436
|
.replace(`{${"cf_payment_id"}}`, encodeURIComponent(String(cf_payment_id)));
|
|
14437
14437
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14438
14438
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14439
|
-
if(
|
|
14439
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14440
14440
|
url = "https://api.cashfree.com/pg"
|
|
14441
14441
|
}
|
|
14442
14442
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -14449,7 +14449,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14449
14449
|
|
|
14450
14450
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14451
14451
|
|
|
14452
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14452
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
14453
14453
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14454
14454
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14455
14455
|
}
|
|
@@ -14496,7 +14496,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14496
14496
|
.replace(`{${"cf_payment_id"}}`, encodeURIComponent(String(cf_payment_id)));
|
|
14497
14497
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14498
14498
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14499
|
-
if(
|
|
14499
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14500
14500
|
url = "https://api.cashfree.com/pg"
|
|
14501
14501
|
}
|
|
14502
14502
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -14522,7 +14522,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14522
14522
|
|
|
14523
14523
|
|
|
14524
14524
|
|
|
14525
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14525
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
14526
14526
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14527
14527
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14528
14528
|
}
|
|
@@ -14564,7 +14564,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14564
14564
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
14565
14565
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14566
14566
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14567
|
-
if(
|
|
14567
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14568
14568
|
url = "https://api.cashfree.com/pg"
|
|
14569
14569
|
}
|
|
14570
14570
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -14590,7 +14590,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14590
14590
|
|
|
14591
14591
|
|
|
14592
14592
|
|
|
14593
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14593
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
14594
14594
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14595
14595
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14596
14596
|
}
|
|
@@ -14631,7 +14631,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14631
14631
|
const localVarPath = `/orders/sessions`;
|
|
14632
14632
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14633
14633
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14634
|
-
if(
|
|
14634
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14635
14635
|
url = "https://api.cashfree.com/pg"
|
|
14636
14636
|
}
|
|
14637
14637
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -14644,7 +14644,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14644
14644
|
|
|
14645
14645
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14646
14646
|
|
|
14647
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14647
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
14648
14648
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14649
14649
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14650
14650
|
}
|
|
@@ -14811,7 +14811,7 @@ const RefundsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14811
14811
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
14812
14812
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14813
14813
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14814
|
-
if(
|
|
14814
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14815
14815
|
url = "https://api.cashfree.com/pg"
|
|
14816
14816
|
}
|
|
14817
14817
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -14839,7 +14839,7 @@ const RefundsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14839
14839
|
|
|
14840
14840
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14841
14841
|
|
|
14842
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14842
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
14843
14843
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14844
14844
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14845
14845
|
}
|
|
@@ -14886,7 +14886,7 @@ const RefundsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14886
14886
|
.replace(`{${"refund_id"}}`, encodeURIComponent(String(refund_id)));
|
|
14887
14887
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14888
14888
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14889
|
-
if(
|
|
14889
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14890
14890
|
url = "https://api.cashfree.com/pg"
|
|
14891
14891
|
}
|
|
14892
14892
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -14912,7 +14912,7 @@ const RefundsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14912
14912
|
|
|
14913
14913
|
|
|
14914
14914
|
|
|
14915
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14915
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
14916
14916
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14917
14917
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14918
14918
|
}
|
|
@@ -14954,7 +14954,7 @@ const RefundsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14954
14954
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
14955
14955
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14956
14956
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14957
|
-
if(
|
|
14957
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14958
14958
|
url = "https://api.cashfree.com/pg"
|
|
14959
14959
|
}
|
|
14960
14960
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -14980,7 +14980,7 @@ const RefundsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14980
14980
|
|
|
14981
14981
|
|
|
14982
14982
|
|
|
14983
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14983
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
14984
14984
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14985
14985
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14986
14986
|
}
|
|
@@ -15107,7 +15107,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (cashfree: Cashfre
|
|
|
15107
15107
|
const localVarPath = `/settlements`;
|
|
15108
15108
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15109
15109
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15110
|
-
if(
|
|
15110
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15111
15111
|
url = "https://api.cashfree.com/pg"
|
|
15112
15112
|
}
|
|
15113
15113
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -15135,7 +15135,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (cashfree: Cashfre
|
|
|
15135
15135
|
|
|
15136
15136
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15137
15137
|
|
|
15138
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15138
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
15139
15139
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15140
15140
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15141
15141
|
}
|
|
@@ -15179,7 +15179,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (cashfree: Cashfre
|
|
|
15179
15179
|
const localVarPath = `/settlement/recon`;
|
|
15180
15180
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15181
15181
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15182
|
-
if(
|
|
15182
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15183
15183
|
url = "https://api.cashfree.com/pg"
|
|
15184
15184
|
}
|
|
15185
15185
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -15207,7 +15207,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (cashfree: Cashfre
|
|
|
15207
15207
|
|
|
15208
15208
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15209
15209
|
|
|
15210
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15210
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
15211
15211
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15212
15212
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15213
15213
|
}
|
|
@@ -15315,7 +15315,7 @@ const SettlementsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15315
15315
|
const localVarPath = `/orders/settlements`;
|
|
15316
15316
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15317
15317
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15318
|
-
if(
|
|
15318
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15319
15319
|
url = "https://api.cashfree.com/pg"
|
|
15320
15320
|
}
|
|
15321
15321
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -15343,7 +15343,7 @@ const SettlementsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15343
15343
|
|
|
15344
15344
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15345
15345
|
|
|
15346
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15346
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
15347
15347
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15348
15348
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15349
15349
|
}
|
|
@@ -15386,7 +15386,7 @@ const SettlementsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15386
15386
|
.replace(`{${"order_id"}}`, encodeURIComponent(String(order_id)));
|
|
15387
15387
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15388
15388
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15389
|
-
if(
|
|
15389
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15390
15390
|
url = "https://api.cashfree.com/pg"
|
|
15391
15391
|
}
|
|
15392
15392
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -15412,7 +15412,7 @@ const SettlementsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15412
15412
|
|
|
15413
15413
|
|
|
15414
15414
|
|
|
15415
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15415
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
15416
15416
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15417
15417
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15418
15418
|
}
|
|
@@ -15518,7 +15518,7 @@ const SimulationApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15518
15518
|
.replace(`{${"simulation_id"}}`, encodeURIComponent(String(simulation_id)));
|
|
15519
15519
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15520
15520
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15521
|
-
if(
|
|
15521
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15522
15522
|
url = "https://api.cashfree.com/pg"
|
|
15523
15523
|
}
|
|
15524
15524
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -15544,7 +15544,7 @@ const SimulationApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15544
15544
|
|
|
15545
15545
|
|
|
15546
15546
|
|
|
15547
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15547
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
15548
15548
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15549
15549
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15550
15550
|
}
|
|
@@ -15585,7 +15585,7 @@ const SimulationApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15585
15585
|
const localVarPath = `/simulate`;
|
|
15586
15586
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15587
15587
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15588
|
-
if(
|
|
15588
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15589
15589
|
url = "https://api.cashfree.com/pg"
|
|
15590
15590
|
}
|
|
15591
15591
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -15613,7 +15613,7 @@ const SimulationApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15613
15613
|
|
|
15614
15614
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15615
15615
|
|
|
15616
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15616
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
15617
15617
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15618
15618
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15619
15619
|
}
|
|
@@ -15719,7 +15719,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15719
15719
|
const localVarPath = `/terminal`;
|
|
15720
15720
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15721
15721
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15722
|
-
if(
|
|
15722
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15723
15723
|
url = "https://api.cashfree.com/pg"
|
|
15724
15724
|
}
|
|
15725
15725
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -15747,7 +15747,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15747
15747
|
|
|
15748
15748
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15749
15749
|
|
|
15750
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15750
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
15751
15751
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15752
15752
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15753
15753
|
}
|
|
@@ -15789,7 +15789,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15789
15789
|
const localVarPath = `/terminal/transactions`;
|
|
15790
15790
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15791
15791
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15792
|
-
if(
|
|
15792
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15793
15793
|
url = "https://api.cashfree.com/pg"
|
|
15794
15794
|
}
|
|
15795
15795
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -15817,7 +15817,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15817
15817
|
|
|
15818
15818
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15819
15819
|
|
|
15820
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15820
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
15821
15821
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15822
15822
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15823
15823
|
}
|
|
@@ -15859,7 +15859,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15859
15859
|
const localVarPath = `/terminal/demap/soundbox`;
|
|
15860
15860
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15861
15861
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15862
|
-
if(
|
|
15862
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15863
15863
|
url = "https://api.cashfree.com/pg"
|
|
15864
15864
|
}
|
|
15865
15865
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -15887,7 +15887,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15887
15887
|
|
|
15888
15888
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15889
15889
|
|
|
15890
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15890
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
15891
15891
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15892
15892
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15893
15893
|
}
|
|
@@ -15930,7 +15930,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15930
15930
|
.replace(`{${"terminal_phone_no"}}`, encodeURIComponent(String(terminal_phone_no)));
|
|
15931
15931
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15932
15932
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15933
|
-
if(
|
|
15933
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15934
15934
|
url = "https://api.cashfree.com/pg"
|
|
15935
15935
|
}
|
|
15936
15936
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -15956,7 +15956,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15956
15956
|
|
|
15957
15957
|
|
|
15958
15958
|
|
|
15959
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15959
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
15960
15960
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15961
15961
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15962
15962
|
}
|
|
@@ -16000,7 +16000,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16000
16000
|
const localVarPath = `/terminal/qrcodes`;
|
|
16001
16001
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16002
16002
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16003
|
-
if(
|
|
16003
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16004
16004
|
url = "https://api.cashfree.com/pg"
|
|
16005
16005
|
}
|
|
16006
16006
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -16034,7 +16034,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16034
16034
|
|
|
16035
16035
|
|
|
16036
16036
|
|
|
16037
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16037
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
16038
16038
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16039
16039
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16040
16040
|
}
|
|
@@ -16078,7 +16078,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16078
16078
|
const localVarPath = `/terminal/soundbox/qrcodes`;
|
|
16079
16079
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16080
16080
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16081
|
-
if(
|
|
16081
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16082
16082
|
url = "https://api.cashfree.com/pg"
|
|
16083
16083
|
}
|
|
16084
16084
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -16112,7 +16112,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16112
16112
|
|
|
16113
16113
|
|
|
16114
16114
|
|
|
16115
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16115
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
16116
16116
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16117
16117
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16118
16118
|
}
|
|
@@ -16157,7 +16157,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16157
16157
|
.replace(`{${"cf_terminal_id"}}`, encodeURIComponent(String(cf_terminal_id)));
|
|
16158
16158
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16159
16159
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16160
|
-
if(
|
|
16160
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16161
16161
|
url = "https://api.cashfree.com/pg"
|
|
16162
16162
|
}
|
|
16163
16163
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -16187,7 +16187,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16187
16187
|
|
|
16188
16188
|
|
|
16189
16189
|
|
|
16190
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16190
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
16191
16191
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16192
16192
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16193
16193
|
}
|
|
@@ -16228,7 +16228,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16228
16228
|
const localVarPath = `/terminal/soundbox`;
|
|
16229
16229
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16230
16230
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16231
|
-
if(
|
|
16231
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16232
16232
|
url = "https://api.cashfree.com/pg"
|
|
16233
16233
|
}
|
|
16234
16234
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -16256,7 +16256,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16256
16256
|
|
|
16257
16257
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16258
16258
|
|
|
16259
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16259
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
16260
16260
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16261
16261
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16262
16262
|
}
|
|
@@ -16302,7 +16302,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16302
16302
|
.replace(`{${"cf_terminal_id"}}`, encodeURIComponent(String(cf_terminal_id)));
|
|
16303
16303
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16304
16304
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16305
|
-
if(
|
|
16305
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16306
16306
|
url = "https://api.cashfree.com/pg"
|
|
16307
16307
|
}
|
|
16308
16308
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -16330,7 +16330,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16330
16330
|
|
|
16331
16331
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16332
16332
|
|
|
16333
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16333
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
16334
16334
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16335
16335
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16336
16336
|
}
|
|
@@ -16376,7 +16376,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16376
16376
|
.replace(`{${"cf_terminal_id"}}`, encodeURIComponent(String(cf_terminal_id)));
|
|
16377
16377
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16378
16378
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16379
|
-
if(
|
|
16379
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16380
16380
|
url = "https://api.cashfree.com/pg"
|
|
16381
16381
|
}
|
|
16382
16382
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -16404,7 +16404,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16404
16404
|
|
|
16405
16405
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16406
16406
|
|
|
16407
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16407
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
16408
16408
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16409
16409
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16410
16410
|
}
|
|
@@ -16450,7 +16450,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16450
16450
|
.replace(`{${"cf_terminal_id"}}`, encodeURIComponent(String(cf_terminal_id)));
|
|
16451
16451
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16452
16452
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16453
|
-
if(
|
|
16453
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16454
16454
|
url = "https://api.cashfree.com/pg"
|
|
16455
16455
|
}
|
|
16456
16456
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -16478,7 +16478,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16478
16478
|
|
|
16479
16479
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16480
16480
|
|
|
16481
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16481
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
16482
16482
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16483
16483
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16484
16484
|
}
|
|
@@ -16524,7 +16524,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16524
16524
|
.replace(`{${"cf_terminal_id"}}`, encodeURIComponent(String(cf_terminal_id)));
|
|
16525
16525
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16526
16526
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16527
|
-
if(
|
|
16527
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16528
16528
|
url = "https://api.cashfree.com/pg"
|
|
16529
16529
|
}
|
|
16530
16530
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -16552,7 +16552,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16552
16552
|
|
|
16553
16553
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16554
16554
|
|
|
16555
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16555
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
16556
16556
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16557
16557
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16558
16558
|
}
|
|
@@ -16845,7 +16845,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16845
16845
|
const localVarPath = `/subscriptions/pay`;
|
|
16846
16846
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16847
16847
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16848
|
-
if(
|
|
16848
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16849
16849
|
url = "https://api.cashfree.com/pg"
|
|
16850
16850
|
}
|
|
16851
16851
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -16873,7 +16873,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16873
16873
|
|
|
16874
16874
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16875
16875
|
|
|
16876
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16876
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
16877
16877
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16878
16878
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16879
16879
|
}
|
|
@@ -16915,7 +16915,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16915
16915
|
const localVarPath = `/plans`;
|
|
16916
16916
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16917
16917
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16918
|
-
if(
|
|
16918
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16919
16919
|
url = "https://api.cashfree.com/pg"
|
|
16920
16920
|
}
|
|
16921
16921
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -16943,7 +16943,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16943
16943
|
|
|
16944
16944
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16945
16945
|
|
|
16946
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16946
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
16947
16947
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16948
16948
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16949
16949
|
}
|
|
@@ -16989,7 +16989,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16989
16989
|
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscription_id)));
|
|
16990
16990
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16991
16991
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16992
|
-
if(
|
|
16992
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16993
16993
|
url = "https://api.cashfree.com/pg"
|
|
16994
16994
|
}
|
|
16995
16995
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -17017,7 +17017,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17017
17017
|
|
|
17018
17018
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17019
17019
|
|
|
17020
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17020
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
17021
17021
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17022
17022
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17023
17023
|
}
|
|
@@ -17059,7 +17059,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17059
17059
|
const localVarPath = `/subscriptions`;
|
|
17060
17060
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17061
17061
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17062
|
-
if(
|
|
17062
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17063
17063
|
url = "https://api.cashfree.com/pg"
|
|
17064
17064
|
}
|
|
17065
17065
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -17087,7 +17087,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17087
17087
|
|
|
17088
17088
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17089
17089
|
|
|
17090
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17090
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
17091
17091
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17092
17092
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17093
17093
|
}
|
|
@@ -17130,7 +17130,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17130
17130
|
.replace(`{${"plan_id"}}`, encodeURIComponent(String(plan_id)));
|
|
17131
17131
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17132
17132
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17133
|
-
if(
|
|
17133
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17134
17134
|
url = "https://api.cashfree.com/pg"
|
|
17135
17135
|
}
|
|
17136
17136
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -17156,7 +17156,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17156
17156
|
|
|
17157
17157
|
|
|
17158
17158
|
|
|
17159
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17159
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
17160
17160
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17161
17161
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17162
17162
|
}
|
|
@@ -17198,7 +17198,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17198
17198
|
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscription_id)));
|
|
17199
17199
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17200
17200
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17201
|
-
if(
|
|
17201
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17202
17202
|
url = "https://api.cashfree.com/pg"
|
|
17203
17203
|
}
|
|
17204
17204
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -17224,7 +17224,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17224
17224
|
|
|
17225
17225
|
|
|
17226
17226
|
|
|
17227
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17227
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
17228
17228
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17229
17229
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17230
17230
|
}
|
|
@@ -17270,7 +17270,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17270
17270
|
.replace(`{${"payment_id"}}`, encodeURIComponent(String(payment_id)));
|
|
17271
17271
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17272
17272
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17273
|
-
if(
|
|
17273
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17274
17274
|
url = "https://api.cashfree.com/pg"
|
|
17275
17275
|
}
|
|
17276
17276
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -17296,7 +17296,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17296
17296
|
|
|
17297
17297
|
|
|
17298
17298
|
|
|
17299
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17299
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
17300
17300
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17301
17301
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17302
17302
|
}
|
|
@@ -17338,7 +17338,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17338
17338
|
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscription_id)));
|
|
17339
17339
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17340
17340
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17341
|
-
if(
|
|
17341
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17342
17342
|
url = "https://api.cashfree.com/pg"
|
|
17343
17343
|
}
|
|
17344
17344
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -17364,7 +17364,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17364
17364
|
|
|
17365
17365
|
|
|
17366
17366
|
|
|
17367
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17367
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
17368
17368
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17369
17369
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17370
17370
|
}
|
|
@@ -17410,7 +17410,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17410
17410
|
.replace(`{${"refund_id"}}`, encodeURIComponent(String(refund_id)));
|
|
17411
17411
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17412
17412
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17413
|
-
if(
|
|
17413
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17414
17414
|
url = "https://api.cashfree.com/pg"
|
|
17415
17415
|
}
|
|
17416
17416
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -17436,7 +17436,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17436
17436
|
|
|
17437
17437
|
|
|
17438
17438
|
|
|
17439
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17439
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
17440
17440
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17441
17441
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17442
17442
|
}
|
|
@@ -17481,7 +17481,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17481
17481
|
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscription_id)));
|
|
17482
17482
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17483
17483
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17484
|
-
if(
|
|
17484
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17485
17485
|
url = "https://api.cashfree.com/pg"
|
|
17486
17486
|
}
|
|
17487
17487
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -17509,7 +17509,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17509
17509
|
|
|
17510
17510
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17511
17511
|
|
|
17512
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17512
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
17513
17513
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17514
17514
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17515
17515
|
}
|
|
@@ -17559,7 +17559,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17559
17559
|
.replace(`{${"payment_id"}}`, encodeURIComponent(String(payment_id)));
|
|
17560
17560
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17561
17561
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17562
|
-
if(
|
|
17562
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17563
17563
|
url = "https://api.cashfree.com/pg"
|
|
17564
17564
|
}
|
|
17565
17565
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -17587,7 +17587,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17587
17587
|
|
|
17588
17588
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17589
17589
|
|
|
17590
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17590
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
17591
17591
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17592
17592
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17593
17593
|
}
|
|
@@ -17639,7 +17639,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17639
17639
|
.replace(`{${"payment_id"}}`, encodeURIComponent(String(payment_id)));
|
|
17640
17640
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17641
17641
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17642
|
-
if(
|
|
17642
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17643
17643
|
url = "https://api.cashfree.com/pg"
|
|
17644
17644
|
}
|
|
17645
17645
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -17680,7 +17680,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17680
17680
|
|
|
17681
17681
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
17682
17682
|
|
|
17683
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17683
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
17684
17684
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17685
17685
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17686
17686
|
}
|
|
@@ -17722,7 +17722,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17722
17722
|
const localVarPath = `/subscriptions/eligibility/payment_methods`;
|
|
17723
17723
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17724
17724
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17725
|
-
if(
|
|
17725
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17726
17726
|
url = "https://api.cashfree.com/pg"
|
|
17727
17727
|
}
|
|
17728
17728
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -17750,7 +17750,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17750
17750
|
|
|
17751
17751
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17752
17752
|
|
|
17753
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17753
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
17754
17754
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17755
17755
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17756
17756
|
}
|
|
@@ -18068,7 +18068,7 @@ const TokenVaultApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18068
18068
|
.replace(`{${"instrument_id"}}`, encodeURIComponent(String(instrument_id)));
|
|
18069
18069
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18070
18070
|
var url = "https://sandbox.cashfree.com/pg";
|
|
18071
|
-
if(
|
|
18071
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
18072
18072
|
url = "https://api.cashfree.com/pg"
|
|
18073
18073
|
}
|
|
18074
18074
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -18094,7 +18094,7 @@ const TokenVaultApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18094
18094
|
|
|
18095
18095
|
|
|
18096
18096
|
|
|
18097
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
18097
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
18098
18098
|
if (x_api_version != null && x_api_version != undefined) {
|
|
18099
18099
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
18100
18100
|
}
|
|
@@ -18140,7 +18140,7 @@ const TokenVaultApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18140
18140
|
.replace(`{${"instrument_id"}}`, encodeURIComponent(String(instrument_id)));
|
|
18141
18141
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18142
18142
|
var url = "https://sandbox.cashfree.com/pg";
|
|
18143
|
-
if(
|
|
18143
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
18144
18144
|
url = "https://api.cashfree.com/pg"
|
|
18145
18145
|
}
|
|
18146
18146
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -18166,7 +18166,7 @@ const TokenVaultApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18166
18166
|
|
|
18167
18167
|
|
|
18168
18168
|
|
|
18169
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
18169
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
18170
18170
|
if (x_api_version != null && x_api_version != undefined) {
|
|
18171
18171
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
18172
18172
|
}
|
|
@@ -18211,7 +18211,7 @@ const TokenVaultApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18211
18211
|
.replace(`{${"customer_id"}}`, encodeURIComponent(String(customer_id)));
|
|
18212
18212
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18213
18213
|
var url = "https://sandbox.cashfree.com/pg";
|
|
18214
|
-
if(
|
|
18214
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
18215
18215
|
url = "https://api.cashfree.com/pg"
|
|
18216
18216
|
}
|
|
18217
18217
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -18241,7 +18241,7 @@ const TokenVaultApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18241
18241
|
|
|
18242
18242
|
|
|
18243
18243
|
|
|
18244
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
18244
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
18245
18245
|
if (x_api_version != null && x_api_version != undefined) {
|
|
18246
18246
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
18247
18247
|
}
|
|
@@ -18287,7 +18287,7 @@ const TokenVaultApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18287
18287
|
.replace(`{${"instrument_id"}}`, encodeURIComponent(String(instrument_id)));
|
|
18288
18288
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18289
18289
|
var url = "https://sandbox.cashfree.com/pg";
|
|
18290
|
-
if(
|
|
18290
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
18291
18291
|
url = "https://api.cashfree.com/pg"
|
|
18292
18292
|
}
|
|
18293
18293
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -18313,7 +18313,7 @@ const TokenVaultApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18313
18313
|
|
|
18314
18314
|
|
|
18315
18315
|
|
|
18316
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
18316
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
18317
18317
|
if (x_api_version != null && x_api_version != undefined) {
|
|
18318
18318
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
18319
18319
|
}
|
|
@@ -18466,7 +18466,7 @@ const UtilitiesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18466
18466
|
const localVarPath = `/pg/utilities/pars`;
|
|
18467
18467
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18468
18468
|
var url = "https://sandbox.cashfree.com/pg";
|
|
18469
|
-
if(
|
|
18469
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
18470
18470
|
url = "https://api.cashfree.com/pg"
|
|
18471
18471
|
}
|
|
18472
18472
|
const localVarUrlObj = new URL(localVarPath, url);
|
|
@@ -18494,7 +18494,7 @@ const UtilitiesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18494
18494
|
|
|
18495
18495
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18496
18496
|
|
|
18497
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
18497
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.2';
|
|
18498
18498
|
if (x_api_version != null && x_api_version != undefined) {
|
|
18499
18499
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
18500
18500
|
}
|
|
@@ -18649,7 +18649,7 @@ export class Cashfree {
|
|
|
18649
18649
|
} else {
|
|
18650
18650
|
scope.setExtra('environment', 'production');
|
|
18651
18651
|
}
|
|
18652
|
-
scope.setExtra('release', "5.0.
|
|
18652
|
+
scope.setExtra('release', "5.0.2");
|
|
18653
18653
|
});
|
|
18654
18654
|
}
|
|
18655
18655
|
if(axios) {
|