cashfree-pg 4.2.0 → 4.2.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 +443 -324
- package/dist/api.d.ts +294 -181
- package/dist/api.js +150 -144
- package/dist/esm/api.d.ts +294 -181
- package/dist/esm/api.js +150 -144
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -379,7 +379,7 @@ const CustomersApiAxiosParamCreator = function (configuration) {
|
|
|
379
379
|
// authentication XClientSignatureHeader required
|
|
380
380
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
381
381
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
382
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
382
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
383
383
|
if (x_api_version != null && x_api_version != undefined) {
|
|
384
384
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
385
385
|
}
|
|
@@ -485,7 +485,7 @@ const EasySplitApiAxiosParamCreator = function (configuration) {
|
|
|
485
485
|
// authentication XClientSignatureHeader required
|
|
486
486
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
487
487
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
488
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
488
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
489
489
|
if (x_api_version != null && x_api_version != undefined) {
|
|
490
490
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
491
491
|
}
|
|
@@ -544,7 +544,7 @@ const EasySplitApiAxiosParamCreator = function (configuration) {
|
|
|
544
544
|
// authentication XClientSignatureHeader required
|
|
545
545
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
546
546
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
547
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
547
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
548
548
|
if (x_api_version != null && x_api_version != undefined) {
|
|
549
549
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
550
550
|
}
|
|
@@ -609,7 +609,7 @@ const EasySplitApiAxiosParamCreator = function (configuration) {
|
|
|
609
609
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
610
610
|
// authentication XClientSignatureHeader required
|
|
611
611
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
612
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
612
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
613
613
|
if (x_api_version != null && x_api_version != undefined) {
|
|
614
614
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
615
615
|
}
|
|
@@ -669,7 +669,7 @@ const EasySplitApiAxiosParamCreator = function (configuration) {
|
|
|
669
669
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
670
670
|
// authentication XClientSignatureHeader required
|
|
671
671
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
672
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
672
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
673
673
|
if (x_api_version != null && x_api_version != undefined) {
|
|
674
674
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
675
675
|
}
|
|
@@ -729,7 +729,7 @@ const EasySplitApiAxiosParamCreator = function (configuration) {
|
|
|
729
729
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
730
730
|
// authentication XClientSignatureHeader required
|
|
731
731
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
732
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
732
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
733
733
|
if (x_api_version != null && x_api_version != undefined) {
|
|
734
734
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
735
735
|
}
|
|
@@ -795,7 +795,7 @@ const EasySplitApiAxiosParamCreator = function (configuration) {
|
|
|
795
795
|
if (rate_type !== undefined) {
|
|
796
796
|
localVarQueryParameter['rate_type'] = rate_type;
|
|
797
797
|
}
|
|
798
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
798
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
799
799
|
if (x_api_version != null && x_api_version != undefined) {
|
|
800
800
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
801
801
|
}
|
|
@@ -855,7 +855,7 @@ const EasySplitApiAxiosParamCreator = function (configuration) {
|
|
|
855
855
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
856
856
|
// authentication XClientSignatureHeader required
|
|
857
857
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
858
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
858
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
859
859
|
if (x_api_version != null && x_api_version != undefined) {
|
|
860
860
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
861
861
|
}
|
|
@@ -913,7 +913,7 @@ const EasySplitApiAxiosParamCreator = function (configuration) {
|
|
|
913
913
|
// authentication XClientSignatureHeader required
|
|
914
914
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
915
915
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
916
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
916
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
917
917
|
if (x_api_version != null && x_api_version != undefined) {
|
|
918
918
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
919
919
|
}
|
|
@@ -976,7 +976,7 @@ const EasySplitApiAxiosParamCreator = function (configuration) {
|
|
|
976
976
|
// authentication XClientSignatureHeader required
|
|
977
977
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
978
978
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
979
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
979
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
980
980
|
if (x_api_version != null && x_api_version != undefined) {
|
|
981
981
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
982
982
|
}
|
|
@@ -1051,7 +1051,7 @@ const EasySplitApiAxiosParamCreator = function (configuration) {
|
|
|
1051
1051
|
localVarFormParams.append('file', file);
|
|
1052
1052
|
}
|
|
1053
1053
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1054
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
1054
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
1055
1055
|
if (x_api_version != null && x_api_version != undefined) {
|
|
1056
1056
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
1057
1057
|
}
|
|
@@ -1114,7 +1114,7 @@ const EasySplitApiAxiosParamCreator = function (configuration) {
|
|
|
1114
1114
|
// authentication XClientSignatureHeader required
|
|
1115
1115
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
1116
1116
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1117
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
1117
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
1118
1118
|
if (x_api_version != null && x_api_version != undefined) {
|
|
1119
1119
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
1120
1120
|
}
|
|
@@ -1173,7 +1173,7 @@ const EasySplitApiAxiosParamCreator = function (configuration) {
|
|
|
1173
1173
|
// authentication XClientSignatureHeader required
|
|
1174
1174
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
1175
1175
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1176
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
1176
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
1177
1177
|
if (x_api_version != null && x_api_version != undefined) {
|
|
1178
1178
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
1179
1179
|
}
|
|
@@ -1505,7 +1505,7 @@ const EligibilityApiAxiosParamCreator = function (configuration) {
|
|
|
1505
1505
|
// authentication XClientSignatureHeader required
|
|
1506
1506
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
1507
1507
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1508
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
1508
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
1509
1509
|
if (x_api_version != null && x_api_version != undefined) {
|
|
1510
1510
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
1511
1511
|
}
|
|
@@ -1566,7 +1566,7 @@ const EligibilityApiAxiosParamCreator = function (configuration) {
|
|
|
1566
1566
|
// authentication XClientSignatureHeader required
|
|
1567
1567
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
1568
1568
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1569
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
1569
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
1570
1570
|
if (x_api_version != null && x_api_version != undefined) {
|
|
1571
1571
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
1572
1572
|
}
|
|
@@ -1627,7 +1627,7 @@ const EligibilityApiAxiosParamCreator = function (configuration) {
|
|
|
1627
1627
|
// authentication XClientSignatureHeader required
|
|
1628
1628
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
1629
1629
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1630
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
1630
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
1631
1631
|
if (x_api_version != null && x_api_version != undefined) {
|
|
1632
1632
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
1633
1633
|
}
|
|
@@ -1688,7 +1688,7 @@ const EligibilityApiAxiosParamCreator = function (configuration) {
|
|
|
1688
1688
|
// authentication XClientSignatureHeader required
|
|
1689
1689
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
1690
1690
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1691
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
1691
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
1692
1692
|
if (x_api_version != null && x_api_version != undefined) {
|
|
1693
1693
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
1694
1694
|
}
|
|
@@ -1852,7 +1852,7 @@ const OffersApiAxiosParamCreator = function (configuration) {
|
|
|
1852
1852
|
// authentication XClientSignatureHeader required
|
|
1853
1853
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
1854
1854
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1855
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
1855
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
1856
1856
|
if (x_api_version != null && x_api_version != undefined) {
|
|
1857
1857
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
1858
1858
|
}
|
|
@@ -1913,7 +1913,7 @@ const OffersApiAxiosParamCreator = function (configuration) {
|
|
|
1913
1913
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
1914
1914
|
// authentication XClientSignatureHeader required
|
|
1915
1915
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
1916
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
1916
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
1917
1917
|
if (x_api_version != null && x_api_version != undefined) {
|
|
1918
1918
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
1919
1919
|
}
|
|
@@ -2036,7 +2036,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
2036
2036
|
// authentication XClientSignatureHeader required
|
|
2037
2037
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
2038
2038
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2039
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
2039
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
2040
2040
|
if (x_api_version != null && x_api_version != undefined) {
|
|
2041
2041
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
2042
2042
|
}
|
|
@@ -2097,7 +2097,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
2097
2097
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
2098
2098
|
// authentication XClientSignatureHeader required
|
|
2099
2099
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
2100
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
2100
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
2101
2101
|
if (x_api_version != null && x_api_version != undefined) {
|
|
2102
2102
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
2103
2103
|
}
|
|
@@ -2161,7 +2161,7 @@ const OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
2161
2161
|
// authentication XClientSignatureHeader required
|
|
2162
2162
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
2163
2163
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2164
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
2164
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
2165
2165
|
if (x_api_version != null && x_api_version != undefined) {
|
|
2166
2166
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
2167
2167
|
}
|
|
@@ -2308,7 +2308,7 @@ const PGReconciliationApiAxiosParamCreator = function (configuration) {
|
|
|
2308
2308
|
// authentication XClientSignatureHeader required
|
|
2309
2309
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
2310
2310
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2311
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
2311
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
2312
2312
|
if (x_api_version != null && x_api_version != undefined) {
|
|
2313
2313
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
2314
2314
|
}
|
|
@@ -2414,7 +2414,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration) {
|
|
|
2414
2414
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
2415
2415
|
// authentication XClientSignatureHeader required
|
|
2416
2416
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
2417
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
2417
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
2418
2418
|
if (x_api_version != null && x_api_version != undefined) {
|
|
2419
2419
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
2420
2420
|
}
|
|
@@ -2474,7 +2474,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration) {
|
|
|
2474
2474
|
// authentication XClientSignatureHeader required
|
|
2475
2475
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
2476
2476
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2477
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
2477
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
2478
2478
|
if (x_api_version != null && x_api_version != undefined) {
|
|
2479
2479
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
2480
2480
|
}
|
|
@@ -2535,7 +2535,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration) {
|
|
|
2535
2535
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
2536
2536
|
// authentication XClientSignatureHeader required
|
|
2537
2537
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
2538
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
2538
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
2539
2539
|
if (x_api_version != null && x_api_version != undefined) {
|
|
2540
2540
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
2541
2541
|
}
|
|
@@ -2561,11 +2561,12 @@ const PaymentLinksApiAxiosParamCreator = function (configuration) {
|
|
|
2561
2561
|
* @param {string} link_id The payment link ID for which you want to view the details.
|
|
2562
2562
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
2563
2563
|
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
2564
|
+
* @param {string} [status] Mention What is status of orders you want to fetch, default is PAID. Possible value: ALL, PAID
|
|
2564
2565
|
* @param {*} [options] Override http request option.
|
|
2565
2566
|
* @throws {RequiredError}
|
|
2566
2567
|
* x_idempotency_key?: string,
|
|
2567
2568
|
*/
|
|
2568
|
-
pGLinkFetchOrders: (x_api_version, link_id, x_request_id, x_idempotency_key, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2569
|
+
pGLinkFetchOrders: (x_api_version, link_id, x_request_id, x_idempotency_key, status, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2569
2570
|
// verify required parameter 'x_api_version' is not null or undefined
|
|
2570
2571
|
(0, common_1.assertParamExists)('pGLinkFetchOrders', 'x_api_version', x_api_version);
|
|
2571
2572
|
// verify required parameter 'link_id' is not null or undefined
|
|
@@ -2595,7 +2596,10 @@ const PaymentLinksApiAxiosParamCreator = function (configuration) {
|
|
|
2595
2596
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
2596
2597
|
// authentication XClientSignatureHeader required
|
|
2597
2598
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
2598
|
-
|
|
2599
|
+
if (status !== undefined) {
|
|
2600
|
+
localVarQueryParameter['status'] = status;
|
|
2601
|
+
}
|
|
2602
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
2599
2603
|
if (x_api_version != null && x_api_version != undefined) {
|
|
2600
2604
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
2601
2605
|
}
|
|
@@ -2689,12 +2693,13 @@ const PaymentLinksApiFp = function (configuration) {
|
|
|
2689
2693
|
* @param {string} link_id The payment link ID for which you want to view the details.
|
|
2690
2694
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
2691
2695
|
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
2696
|
+
* @param {string} [status] Mention What is status of orders you want to fetch, default is PAID. Possible value: ALL, PAID
|
|
2692
2697
|
* @param {*} [options] Override http request option.
|
|
2693
2698
|
* @throws {RequiredError}
|
|
2694
2699
|
*/
|
|
2695
|
-
pGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, options) {
|
|
2700
|
+
pGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, status, options) {
|
|
2696
2701
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2697
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.pGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, options);
|
|
2702
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.pGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, status, options);
|
|
2698
2703
|
var url = "https://sandbox.cashfree.com/pg";
|
|
2699
2704
|
if (Cashfree.XEnvironment == configuration_1.CFEnvironment.PRODUCTION) {
|
|
2700
2705
|
url = "https://api.cashfree.com/pg";
|
|
@@ -2762,7 +2767,7 @@ const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
2762
2767
|
// authentication XClientSignatureHeader required
|
|
2763
2768
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
2764
2769
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2765
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
2770
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
2766
2771
|
if (x_api_version != null && x_api_version != undefined) {
|
|
2767
2772
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
2768
2773
|
}
|
|
@@ -2817,7 +2822,7 @@ const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
2817
2822
|
const localVarHeaderParameter = {};
|
|
2818
2823
|
const localVarQueryParameter = {};
|
|
2819
2824
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2820
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
2825
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
2821
2826
|
if (x_api_version != null && x_api_version != undefined) {
|
|
2822
2827
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
2823
2828
|
}
|
|
@@ -2882,7 +2887,7 @@ const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
2882
2887
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
2883
2888
|
// authentication XClientSignatureHeader required
|
|
2884
2889
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
2885
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
2890
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
2886
2891
|
if (x_api_version != null && x_api_version != undefined) {
|
|
2887
2892
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
2888
2893
|
}
|
|
@@ -2942,7 +2947,7 @@ const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
2942
2947
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
2943
2948
|
// authentication XClientSignatureHeader required
|
|
2944
2949
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
2945
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
2950
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
2946
2951
|
if (x_api_version != null && x_api_version != undefined) {
|
|
2947
2952
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
2948
2953
|
}
|
|
@@ -2992,7 +2997,7 @@ const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
2992
2997
|
const localVarHeaderParameter = {};
|
|
2993
2998
|
const localVarQueryParameter = {};
|
|
2994
2999
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2995
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
3000
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
2996
3001
|
if (x_api_version != null && x_api_version != undefined) {
|
|
2997
3002
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
2998
3003
|
}
|
|
@@ -3183,7 +3188,7 @@ const RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
3183
3188
|
// authentication XClientSignatureHeader required
|
|
3184
3189
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
3185
3190
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3186
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
3191
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
3187
3192
|
if (x_api_version != null && x_api_version != undefined) {
|
|
3188
3193
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
3189
3194
|
}
|
|
@@ -3248,7 +3253,7 @@ const RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
3248
3253
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
3249
3254
|
// authentication XClientSignatureHeader required
|
|
3250
3255
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
3251
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
3256
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
3252
3257
|
if (x_api_version != null && x_api_version != undefined) {
|
|
3253
3258
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
3254
3259
|
}
|
|
@@ -3308,7 +3313,7 @@ const RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
3308
3313
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
3309
3314
|
// authentication XClientSignatureHeader required
|
|
3310
3315
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
3311
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
3316
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
3312
3317
|
if (x_api_version != null && x_api_version != undefined) {
|
|
3313
3318
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
3314
3319
|
}
|
|
@@ -3455,7 +3460,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration) {
|
|
|
3455
3460
|
// authentication XClientSignatureHeader required
|
|
3456
3461
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
3457
3462
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3458
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
3463
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
3459
3464
|
if (x_api_version != null && x_api_version != undefined) {
|
|
3460
3465
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
3461
3466
|
}
|
|
@@ -3518,7 +3523,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration) {
|
|
|
3518
3523
|
// authentication XClientSignatureHeader required
|
|
3519
3524
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
3520
3525
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3521
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
3526
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
3522
3527
|
if (x_api_version != null && x_api_version != undefined) {
|
|
3523
3528
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
3524
3529
|
}
|
|
@@ -3644,7 +3649,7 @@ const SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
3644
3649
|
// authentication XClientSignatureHeader required
|
|
3645
3650
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
3646
3651
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3647
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
3652
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
3648
3653
|
if (x_api_version != null && x_api_version != undefined) {
|
|
3649
3654
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
3650
3655
|
}
|
|
@@ -3705,7 +3710,7 @@ const SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
3705
3710
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
3706
3711
|
// authentication XClientSignatureHeader required
|
|
3707
3712
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
3708
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
3713
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
3709
3714
|
if (x_api_version != null && x_api_version != undefined) {
|
|
3710
3715
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
3711
3716
|
}
|
|
@@ -3828,7 +3833,7 @@ const SimulationApiAxiosParamCreator = function (configuration) {
|
|
|
3828
3833
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
3829
3834
|
// authentication XClientSignatureHeader required
|
|
3830
3835
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
3831
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
3836
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
3832
3837
|
if (x_api_version != null && x_api_version != undefined) {
|
|
3833
3838
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
3834
3839
|
}
|
|
@@ -3888,7 +3893,7 @@ const SimulationApiAxiosParamCreator = function (configuration) {
|
|
|
3888
3893
|
// authentication XClientSignatureHeader required
|
|
3889
3894
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
3890
3895
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3891
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
3896
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
3892
3897
|
if (x_api_version != null && x_api_version != undefined) {
|
|
3893
3898
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
3894
3899
|
}
|
|
@@ -4012,7 +4017,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration) {
|
|
|
4012
4017
|
// authentication XClientSignatureHeader required
|
|
4013
4018
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
4014
4019
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4015
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
4020
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
4016
4021
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4017
4022
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4018
4023
|
}
|
|
@@ -4073,7 +4078,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration) {
|
|
|
4073
4078
|
// authentication XClientSignatureHeader required
|
|
4074
4079
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
4075
4080
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4076
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
4081
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
4077
4082
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4078
4083
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4079
4084
|
}
|
|
@@ -4134,7 +4139,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration) {
|
|
|
4134
4139
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
4135
4140
|
// authentication XClientSignatureHeader required
|
|
4136
4141
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
4137
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
4142
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
4138
4143
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4139
4144
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4140
4145
|
}
|
|
@@ -4202,7 +4207,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration) {
|
|
|
4202
4207
|
if (cf_terminal_id !== undefined) {
|
|
4203
4208
|
localVarQueryParameter['cf_terminal_id'] = cf_terminal_id;
|
|
4204
4209
|
}
|
|
4205
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
4210
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
4206
4211
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4207
4212
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4208
4213
|
}
|
|
@@ -4268,7 +4273,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration) {
|
|
|
4268
4273
|
if (utr !== undefined) {
|
|
4269
4274
|
localVarQueryParameter['utr'] = utr;
|
|
4270
4275
|
}
|
|
4271
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
4276
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
4272
4277
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4273
4278
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4274
4279
|
}
|
|
@@ -4332,7 +4337,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration) {
|
|
|
4332
4337
|
// authentication XClientSignatureHeader required
|
|
4333
4338
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
4334
4339
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4335
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
4340
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
4336
4341
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4337
4342
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4338
4343
|
}
|
|
@@ -4397,7 +4402,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration) {
|
|
|
4397
4402
|
// authentication XClientSignatureHeader required
|
|
4398
4403
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
4399
4404
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4400
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
4405
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
4401
4406
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4402
4407
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4403
4408
|
}
|
|
@@ -4462,7 +4467,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration) {
|
|
|
4462
4467
|
// authentication XClientSignatureHeader required
|
|
4463
4468
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
4464
4469
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4465
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
4470
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
4466
4471
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4467
4472
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4468
4473
|
}
|
|
@@ -4711,7 +4716,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
4711
4716
|
// authentication XClientSignatureHeader required
|
|
4712
4717
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
4713
4718
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4714
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
4719
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
4715
4720
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4716
4721
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4717
4722
|
}
|
|
@@ -4772,7 +4777,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
4772
4777
|
// authentication XClientSignatureHeader required
|
|
4773
4778
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
4774
4779
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4775
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
4780
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
4776
4781
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4777
4782
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4778
4783
|
}
|
|
@@ -4837,7 +4842,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
4837
4842
|
// authentication XClientSignatureHeader required
|
|
4838
4843
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
4839
4844
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4840
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
4845
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
4841
4846
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4842
4847
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4843
4848
|
}
|
|
@@ -4898,7 +4903,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
4898
4903
|
// authentication XClientSignatureHeader required
|
|
4899
4904
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
4900
4905
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4901
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
4906
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
4902
4907
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4903
4908
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4904
4909
|
}
|
|
@@ -4934,7 +4939,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
4934
4939
|
(0, common_1.assertParamExists)('subsFetchPlan', 'x_api_version', x_api_version);
|
|
4935
4940
|
// verify required parameter 'plan_id' is not null or undefined
|
|
4936
4941
|
(0, common_1.assertParamExists)('subsFetchPlan', 'plan_id', plan_id);
|
|
4937
|
-
const localVarPath = `/
|
|
4942
|
+
const localVarPath = `/plans/{plan_id}`
|
|
4938
4943
|
.replace(`{${"plan_id"}}`, encodeURIComponent(String(plan_id)));
|
|
4939
4944
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4940
4945
|
var url = "https://sandbox.cashfree.com/pg";
|
|
@@ -4959,7 +4964,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
4959
4964
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
4960
4965
|
// authentication XClientSignatureHeader required
|
|
4961
4966
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
4962
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
4967
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
4963
4968
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4964
4969
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4965
4970
|
}
|
|
@@ -5019,7 +5024,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
5019
5024
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
5020
5025
|
// authentication XClientSignatureHeader required
|
|
5021
5026
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
5022
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
5027
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
5023
5028
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5024
5029
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5025
5030
|
}
|
|
@@ -5083,7 +5088,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
5083
5088
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
5084
5089
|
// authentication XClientSignatureHeader required
|
|
5085
5090
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
5086
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
5091
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
5087
5092
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5088
5093
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5089
5094
|
}
|
|
@@ -5143,7 +5148,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
5143
5148
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
5144
5149
|
// authentication XClientSignatureHeader required
|
|
5145
5150
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
5146
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
5151
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
5147
5152
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5148
5153
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5149
5154
|
}
|
|
@@ -5207,7 +5212,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
5207
5212
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
5208
5213
|
// authentication XClientSignatureHeader required
|
|
5209
5214
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
5210
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
5215
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
5211
5216
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5212
5217
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5213
5218
|
}
|
|
@@ -5271,7 +5276,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
5271
5276
|
// authentication XClientSignatureHeader required
|
|
5272
5277
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
5273
5278
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5274
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
5279
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
5275
5280
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5276
5281
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5277
5282
|
}
|
|
@@ -5340,7 +5345,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
5340
5345
|
// authentication XClientSignatureHeader required
|
|
5341
5346
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
5342
5347
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5343
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
5348
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
5344
5349
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5345
5350
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5346
5351
|
}
|
|
@@ -5361,7 +5366,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
5361
5366
|
}),
|
|
5362
5367
|
/**
|
|
5363
5368
|
* Use this API to upload Physical Nach for Physical Nach Authorization.
|
|
5364
|
-
* @summary
|
|
5369
|
+
* @summary API to upload Physical Nach for Physical Nach Authorization.
|
|
5365
5370
|
|
|
5366
5371
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
5367
5372
|
* @param {string} payment_id Provide the PaymentId using which the payment was created.
|
|
@@ -5421,7 +5426,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
5421
5426
|
localVarFormParams.append('action', action);
|
|
5422
5427
|
}
|
|
5423
5428
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
5424
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
5429
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
5425
5430
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5426
5431
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5427
5432
|
}
|
|
@@ -5442,7 +5447,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
5442
5447
|
}),
|
|
5443
5448
|
/**
|
|
5444
5449
|
* Use this API to check if a payment method is enabled for your account.
|
|
5445
|
-
* @summary
|
|
5450
|
+
* @summary API to get all the payment method details available for subscription payments.
|
|
5446
5451
|
|
|
5447
5452
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
5448
5453
|
* @param {SubscriptionEligibilityRequest} SubscriptionEligibilityRequest Request body to fetch subscription eligibile payment method details.
|
|
@@ -5482,7 +5487,7 @@ const SubscriptionApiAxiosParamCreator = function (configuration) {
|
|
|
5482
5487
|
// authentication XClientSignatureHeader required
|
|
5483
5488
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
5484
5489
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5485
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
5490
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
5486
5491
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5487
5492
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5488
5493
|
}
|
|
@@ -5738,7 +5743,7 @@ const SubscriptionApiFp = function (configuration) {
|
|
|
5738
5743
|
},
|
|
5739
5744
|
/**
|
|
5740
5745
|
* Use this API to upload Physical Nach for Physical Nach Authorization.
|
|
5741
|
-
* @summary
|
|
5746
|
+
* @summary API to upload Physical Nach for Physical Nach Authorization.
|
|
5742
5747
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
5743
5748
|
* @param {string} payment_id Provide the PaymentId using which the payment was created.
|
|
5744
5749
|
* @param {File} file Select the .jpg file that should be uploaded or provide the path of that file. You cannot upload a file that is more than 1MB in size.
|
|
@@ -5761,7 +5766,7 @@ const SubscriptionApiFp = function (configuration) {
|
|
|
5761
5766
|
},
|
|
5762
5767
|
/**
|
|
5763
5768
|
* Use this API to check if a payment method is enabled for your account.
|
|
5764
|
-
* @summary
|
|
5769
|
+
* @summary API to get all the payment method details available for subscription payments.
|
|
5765
5770
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
5766
5771
|
* @param {SubscriptionEligibilityRequest} SubscriptionEligibilityRequest Request body to fetch subscription eligibile payment method details.
|
|
5767
5772
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
@@ -5839,7 +5844,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration) {
|
|
|
5839
5844
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
5840
5845
|
// authentication XClientSignatureHeader required
|
|
5841
5846
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
5842
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
5847
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
5843
5848
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5844
5849
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5845
5850
|
}
|
|
@@ -5903,7 +5908,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration) {
|
|
|
5903
5908
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
5904
5909
|
// authentication XClientSignatureHeader required
|
|
5905
5910
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
5906
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
5911
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
5907
5912
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5908
5913
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5909
5914
|
}
|
|
@@ -5969,7 +5974,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration) {
|
|
|
5969
5974
|
if (instrument_type !== undefined) {
|
|
5970
5975
|
localVarQueryParameter['instrument_type'] = instrument_type;
|
|
5971
5976
|
}
|
|
5972
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
5977
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
5973
5978
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5974
5979
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5975
5980
|
}
|
|
@@ -6033,7 +6038,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration) {
|
|
|
6033
6038
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-id");
|
|
6034
6039
|
// authentication XClientSignatureHeader required
|
|
6035
6040
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-client-signature");
|
|
6036
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.
|
|
6041
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.2.2';
|
|
6037
6042
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6038
6043
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6039
6044
|
}
|
|
@@ -6239,7 +6244,7 @@ class Cashfree {
|
|
|
6239
6244
|
else {
|
|
6240
6245
|
scope.setExtra('environment', 'production');
|
|
6241
6246
|
}
|
|
6242
|
-
scope.setExtra('release', "4.2.
|
|
6247
|
+
scope.setExtra('release', "4.2.2");
|
|
6243
6248
|
});
|
|
6244
6249
|
}
|
|
6245
6250
|
try {
|
|
@@ -6300,7 +6305,7 @@ class Cashfree {
|
|
|
6300
6305
|
else {
|
|
6301
6306
|
scope.setExtra('environment', 'production');
|
|
6302
6307
|
}
|
|
6303
|
-
scope.setExtra('release', "4.2.
|
|
6308
|
+
scope.setExtra('release', "4.2.2");
|
|
6304
6309
|
});
|
|
6305
6310
|
}
|
|
6306
6311
|
try {
|
|
@@ -6360,7 +6365,7 @@ class Cashfree {
|
|
|
6360
6365
|
else {
|
|
6361
6366
|
scope.setExtra('environment', 'production');
|
|
6362
6367
|
}
|
|
6363
|
-
scope.setExtra('release', "4.2.
|
|
6368
|
+
scope.setExtra('release', "4.2.2");
|
|
6364
6369
|
});
|
|
6365
6370
|
}
|
|
6366
6371
|
try {
|
|
@@ -6421,7 +6426,7 @@ class Cashfree {
|
|
|
6421
6426
|
else {
|
|
6422
6427
|
scope.setExtra('environment', 'production');
|
|
6423
6428
|
}
|
|
6424
|
-
scope.setExtra('release', "4.2.
|
|
6429
|
+
scope.setExtra('release', "4.2.2");
|
|
6425
6430
|
});
|
|
6426
6431
|
}
|
|
6427
6432
|
try {
|
|
@@ -6481,7 +6486,7 @@ class Cashfree {
|
|
|
6481
6486
|
else {
|
|
6482
6487
|
scope.setExtra('environment', 'production');
|
|
6483
6488
|
}
|
|
6484
|
-
scope.setExtra('release', "4.2.
|
|
6489
|
+
scope.setExtra('release', "4.2.2");
|
|
6485
6490
|
});
|
|
6486
6491
|
}
|
|
6487
6492
|
try {
|
|
@@ -6541,7 +6546,7 @@ class Cashfree {
|
|
|
6541
6546
|
else {
|
|
6542
6547
|
scope.setExtra('environment', 'production');
|
|
6543
6548
|
}
|
|
6544
|
-
scope.setExtra('release', "4.2.
|
|
6549
|
+
scope.setExtra('release', "4.2.2");
|
|
6545
6550
|
});
|
|
6546
6551
|
}
|
|
6547
6552
|
try {
|
|
@@ -6602,7 +6607,7 @@ class Cashfree {
|
|
|
6602
6607
|
else {
|
|
6603
6608
|
scope.setExtra('environment', 'production');
|
|
6604
6609
|
}
|
|
6605
|
-
scope.setExtra('release', "4.2.
|
|
6610
|
+
scope.setExtra('release', "4.2.2");
|
|
6606
6611
|
});
|
|
6607
6612
|
}
|
|
6608
6613
|
try {
|
|
@@ -6662,7 +6667,7 @@ class Cashfree {
|
|
|
6662
6667
|
else {
|
|
6663
6668
|
scope.setExtra('environment', 'production');
|
|
6664
6669
|
}
|
|
6665
|
-
scope.setExtra('release', "4.2.
|
|
6670
|
+
scope.setExtra('release', "4.2.2");
|
|
6666
6671
|
});
|
|
6667
6672
|
}
|
|
6668
6673
|
try {
|
|
@@ -6722,7 +6727,7 @@ class Cashfree {
|
|
|
6722
6727
|
else {
|
|
6723
6728
|
scope.setExtra('environment', 'production');
|
|
6724
6729
|
}
|
|
6725
|
-
scope.setExtra('release', "4.2.
|
|
6730
|
+
scope.setExtra('release', "4.2.2");
|
|
6726
6731
|
});
|
|
6727
6732
|
}
|
|
6728
6733
|
try {
|
|
@@ -6783,7 +6788,7 @@ class Cashfree {
|
|
|
6783
6788
|
else {
|
|
6784
6789
|
scope.setExtra('environment', 'production');
|
|
6785
6790
|
}
|
|
6786
|
-
scope.setExtra('release', "4.2.
|
|
6791
|
+
scope.setExtra('release', "4.2.2");
|
|
6787
6792
|
});
|
|
6788
6793
|
}
|
|
6789
6794
|
try {
|
|
@@ -6846,7 +6851,7 @@ class Cashfree {
|
|
|
6846
6851
|
else {
|
|
6847
6852
|
scope.setExtra('environment', 'production');
|
|
6848
6853
|
}
|
|
6849
|
-
scope.setExtra('release', "4.2.
|
|
6854
|
+
scope.setExtra('release', "4.2.2");
|
|
6850
6855
|
});
|
|
6851
6856
|
}
|
|
6852
6857
|
try {
|
|
@@ -6907,7 +6912,7 @@ class Cashfree {
|
|
|
6907
6912
|
else {
|
|
6908
6913
|
scope.setExtra('environment', 'production');
|
|
6909
6914
|
}
|
|
6910
|
-
scope.setExtra('release', "4.2.
|
|
6915
|
+
scope.setExtra('release', "4.2.2");
|
|
6911
6916
|
});
|
|
6912
6917
|
}
|
|
6913
6918
|
try {
|
|
@@ -6967,7 +6972,7 @@ class Cashfree {
|
|
|
6967
6972
|
else {
|
|
6968
6973
|
scope.setExtra('environment', 'production');
|
|
6969
6974
|
}
|
|
6970
|
-
scope.setExtra('release', "4.2.
|
|
6975
|
+
scope.setExtra('release', "4.2.2");
|
|
6971
6976
|
});
|
|
6972
6977
|
}
|
|
6973
6978
|
try {
|
|
@@ -7027,7 +7032,7 @@ class Cashfree {
|
|
|
7027
7032
|
else {
|
|
7028
7033
|
scope.setExtra('environment', 'production');
|
|
7029
7034
|
}
|
|
7030
|
-
scope.setExtra('release', "4.2.
|
|
7035
|
+
scope.setExtra('release', "4.2.2");
|
|
7031
7036
|
});
|
|
7032
7037
|
}
|
|
7033
7038
|
try {
|
|
@@ -7087,7 +7092,7 @@ class Cashfree {
|
|
|
7087
7092
|
else {
|
|
7088
7093
|
scope.setExtra('environment', 'production');
|
|
7089
7094
|
}
|
|
7090
|
-
scope.setExtra('release', "4.2.
|
|
7095
|
+
scope.setExtra('release', "4.2.2");
|
|
7091
7096
|
});
|
|
7092
7097
|
}
|
|
7093
7098
|
try {
|
|
@@ -7147,7 +7152,7 @@ class Cashfree {
|
|
|
7147
7152
|
else {
|
|
7148
7153
|
scope.setExtra('environment', 'production');
|
|
7149
7154
|
}
|
|
7150
|
-
scope.setExtra('release', "4.2.
|
|
7155
|
+
scope.setExtra('release', "4.2.2");
|
|
7151
7156
|
});
|
|
7152
7157
|
}
|
|
7153
7158
|
try {
|
|
@@ -7207,7 +7212,7 @@ class Cashfree {
|
|
|
7207
7212
|
else {
|
|
7208
7213
|
scope.setExtra('environment', 'production');
|
|
7209
7214
|
}
|
|
7210
|
-
scope.setExtra('release', "4.2.
|
|
7215
|
+
scope.setExtra('release', "4.2.2");
|
|
7211
7216
|
});
|
|
7212
7217
|
}
|
|
7213
7218
|
try {
|
|
@@ -7267,7 +7272,7 @@ class Cashfree {
|
|
|
7267
7272
|
else {
|
|
7268
7273
|
scope.setExtra('environment', 'production');
|
|
7269
7274
|
}
|
|
7270
|
-
scope.setExtra('release', "4.2.
|
|
7275
|
+
scope.setExtra('release', "4.2.2");
|
|
7271
7276
|
});
|
|
7272
7277
|
}
|
|
7273
7278
|
try {
|
|
@@ -7327,7 +7332,7 @@ class Cashfree {
|
|
|
7327
7332
|
else {
|
|
7328
7333
|
scope.setExtra('environment', 'production');
|
|
7329
7334
|
}
|
|
7330
|
-
scope.setExtra('release', "4.2.
|
|
7335
|
+
scope.setExtra('release', "4.2.2");
|
|
7331
7336
|
});
|
|
7332
7337
|
}
|
|
7333
7338
|
try {
|
|
@@ -7387,7 +7392,7 @@ class Cashfree {
|
|
|
7387
7392
|
else {
|
|
7388
7393
|
scope.setExtra('environment', 'production');
|
|
7389
7394
|
}
|
|
7390
|
-
scope.setExtra('release', "4.2.
|
|
7395
|
+
scope.setExtra('release', "4.2.2");
|
|
7391
7396
|
});
|
|
7392
7397
|
}
|
|
7393
7398
|
try {
|
|
@@ -7447,7 +7452,7 @@ class Cashfree {
|
|
|
7447
7452
|
else {
|
|
7448
7453
|
scope.setExtra('environment', 'production');
|
|
7449
7454
|
}
|
|
7450
|
-
scope.setExtra('release', "4.2.
|
|
7455
|
+
scope.setExtra('release', "4.2.2");
|
|
7451
7456
|
});
|
|
7452
7457
|
}
|
|
7453
7458
|
try {
|
|
@@ -7508,7 +7513,7 @@ class Cashfree {
|
|
|
7508
7513
|
else {
|
|
7509
7514
|
scope.setExtra('environment', 'production');
|
|
7510
7515
|
}
|
|
7511
|
-
scope.setExtra('release', "4.2.
|
|
7516
|
+
scope.setExtra('release', "4.2.2");
|
|
7512
7517
|
});
|
|
7513
7518
|
}
|
|
7514
7519
|
try {
|
|
@@ -7570,7 +7575,7 @@ class Cashfree {
|
|
|
7570
7575
|
else {
|
|
7571
7576
|
scope.setExtra('environment', 'production');
|
|
7572
7577
|
}
|
|
7573
|
-
scope.setExtra('release', "4.2.
|
|
7578
|
+
scope.setExtra('release', "4.2.2");
|
|
7574
7579
|
});
|
|
7575
7580
|
}
|
|
7576
7581
|
try {
|
|
@@ -7630,7 +7635,7 @@ class Cashfree {
|
|
|
7630
7635
|
else {
|
|
7631
7636
|
scope.setExtra('environment', 'production');
|
|
7632
7637
|
}
|
|
7633
|
-
scope.setExtra('release', "4.2.
|
|
7638
|
+
scope.setExtra('release', "4.2.2");
|
|
7634
7639
|
});
|
|
7635
7640
|
}
|
|
7636
7641
|
try {
|
|
@@ -7690,7 +7695,7 @@ class Cashfree {
|
|
|
7690
7695
|
else {
|
|
7691
7696
|
scope.setExtra('environment', 'production');
|
|
7692
7697
|
}
|
|
7693
|
-
scope.setExtra('release', "4.2.
|
|
7698
|
+
scope.setExtra('release', "4.2.2");
|
|
7694
7699
|
});
|
|
7695
7700
|
}
|
|
7696
7701
|
try {
|
|
@@ -7750,7 +7755,7 @@ class Cashfree {
|
|
|
7750
7755
|
else {
|
|
7751
7756
|
scope.setExtra('environment', 'production');
|
|
7752
7757
|
}
|
|
7753
|
-
scope.setExtra('release', "4.2.
|
|
7758
|
+
scope.setExtra('release', "4.2.2");
|
|
7754
7759
|
});
|
|
7755
7760
|
}
|
|
7756
7761
|
try {
|
|
@@ -7770,11 +7775,12 @@ class Cashfree {
|
|
|
7770
7775
|
* @param {string} link_id The payment link ID for which you want to view the details.
|
|
7771
7776
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
7772
7777
|
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
7778
|
+
* @param {string} [status] Mention What is status of orders you want to fetch, default is PAID. Possible value: ALL, PAID
|
|
7773
7779
|
* @param {*} [options] Override http request option.
|
|
7774
7780
|
* @throws {RequiredError}
|
|
7775
7781
|
* @memberof PaymentLinksApi
|
|
7776
7782
|
*/
|
|
7777
|
-
static PGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, options) {
|
|
7783
|
+
static PGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, status, options) {
|
|
7778
7784
|
if (Cashfree.XEnableErrorAnalytics) {
|
|
7779
7785
|
Sentry.init({
|
|
7780
7786
|
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
@@ -7810,11 +7816,11 @@ class Cashfree {
|
|
|
7810
7816
|
else {
|
|
7811
7817
|
scope.setExtra('environment', 'production');
|
|
7812
7818
|
}
|
|
7813
|
-
scope.setExtra('release', "4.2.
|
|
7819
|
+
scope.setExtra('release', "4.2.2");
|
|
7814
7820
|
});
|
|
7815
7821
|
}
|
|
7816
7822
|
try {
|
|
7817
|
-
return PaymentLinksApiFp().pGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
|
|
7823
|
+
return PaymentLinksApiFp().pGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, status, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
|
|
7818
7824
|
}
|
|
7819
7825
|
catch (error) {
|
|
7820
7826
|
if (Cashfree.XEnableErrorAnalytics) {
|
|
@@ -7871,7 +7877,7 @@ class Cashfree {
|
|
|
7871
7877
|
else {
|
|
7872
7878
|
scope.setExtra('environment', 'production');
|
|
7873
7879
|
}
|
|
7874
|
-
scope.setExtra('release', "4.2.
|
|
7880
|
+
scope.setExtra('release', "4.2.2");
|
|
7875
7881
|
});
|
|
7876
7882
|
}
|
|
7877
7883
|
try {
|
|
@@ -7932,7 +7938,7 @@ class Cashfree {
|
|
|
7932
7938
|
else {
|
|
7933
7939
|
scope.setExtra('environment', 'production');
|
|
7934
7940
|
}
|
|
7935
|
-
scope.setExtra('release', "4.2.
|
|
7941
|
+
scope.setExtra('release', "4.2.2");
|
|
7936
7942
|
});
|
|
7937
7943
|
}
|
|
7938
7944
|
try {
|
|
@@ -7993,7 +7999,7 @@ class Cashfree {
|
|
|
7993
7999
|
else {
|
|
7994
8000
|
scope.setExtra('environment', 'production');
|
|
7995
8001
|
}
|
|
7996
|
-
scope.setExtra('release', "4.2.
|
|
8002
|
+
scope.setExtra('release', "4.2.2");
|
|
7997
8003
|
});
|
|
7998
8004
|
}
|
|
7999
8005
|
try {
|
|
@@ -8053,7 +8059,7 @@ class Cashfree {
|
|
|
8053
8059
|
else {
|
|
8054
8060
|
scope.setExtra('environment', 'production');
|
|
8055
8061
|
}
|
|
8056
|
-
scope.setExtra('release', "4.2.
|
|
8062
|
+
scope.setExtra('release', "4.2.2");
|
|
8057
8063
|
});
|
|
8058
8064
|
}
|
|
8059
8065
|
try {
|
|
@@ -8113,7 +8119,7 @@ class Cashfree {
|
|
|
8113
8119
|
else {
|
|
8114
8120
|
scope.setExtra('environment', 'production');
|
|
8115
8121
|
}
|
|
8116
|
-
scope.setExtra('release', "4.2.
|
|
8122
|
+
scope.setExtra('release', "4.2.2");
|
|
8117
8123
|
});
|
|
8118
8124
|
}
|
|
8119
8125
|
try {
|
|
@@ -8174,7 +8180,7 @@ class Cashfree {
|
|
|
8174
8180
|
else {
|
|
8175
8181
|
scope.setExtra('environment', 'production');
|
|
8176
8182
|
}
|
|
8177
|
-
scope.setExtra('release', "4.2.
|
|
8183
|
+
scope.setExtra('release', "4.2.2");
|
|
8178
8184
|
});
|
|
8179
8185
|
}
|
|
8180
8186
|
try {
|
|
@@ -8235,7 +8241,7 @@ class Cashfree {
|
|
|
8235
8241
|
else {
|
|
8236
8242
|
scope.setExtra('environment', 'production');
|
|
8237
8243
|
}
|
|
8238
|
-
scope.setExtra('release', "4.2.
|
|
8244
|
+
scope.setExtra('release', "4.2.2");
|
|
8239
8245
|
});
|
|
8240
8246
|
}
|
|
8241
8247
|
try {
|
|
@@ -8295,7 +8301,7 @@ class Cashfree {
|
|
|
8295
8301
|
else {
|
|
8296
8302
|
scope.setExtra('environment', 'production');
|
|
8297
8303
|
}
|
|
8298
|
-
scope.setExtra('release', "4.2.
|
|
8304
|
+
scope.setExtra('release', "4.2.2");
|
|
8299
8305
|
});
|
|
8300
8306
|
}
|
|
8301
8307
|
try {
|
|
@@ -8357,7 +8363,7 @@ class Cashfree {
|
|
|
8357
8363
|
else {
|
|
8358
8364
|
scope.setExtra('environment', 'production');
|
|
8359
8365
|
}
|
|
8360
|
-
scope.setExtra('release', "4.2.
|
|
8366
|
+
scope.setExtra('release', "4.2.2");
|
|
8361
8367
|
});
|
|
8362
8368
|
}
|
|
8363
8369
|
try {
|
|
@@ -8419,7 +8425,7 @@ class Cashfree {
|
|
|
8419
8425
|
else {
|
|
8420
8426
|
scope.setExtra('environment', 'production');
|
|
8421
8427
|
}
|
|
8422
|
-
scope.setExtra('release', "4.2.
|
|
8428
|
+
scope.setExtra('release', "4.2.2");
|
|
8423
8429
|
});
|
|
8424
8430
|
}
|
|
8425
8431
|
try {
|
|
@@ -8479,7 +8485,7 @@ class Cashfree {
|
|
|
8479
8485
|
else {
|
|
8480
8486
|
scope.setExtra('environment', 'production');
|
|
8481
8487
|
}
|
|
8482
|
-
scope.setExtra('release', "4.2.
|
|
8488
|
+
scope.setExtra('release', "4.2.2");
|
|
8483
8489
|
});
|
|
8484
8490
|
}
|
|
8485
8491
|
try {
|
|
@@ -8539,7 +8545,7 @@ class Cashfree {
|
|
|
8539
8545
|
else {
|
|
8540
8546
|
scope.setExtra('environment', 'production');
|
|
8541
8547
|
}
|
|
8542
|
-
scope.setExtra('release', "4.2.
|
|
8548
|
+
scope.setExtra('release', "4.2.2");
|
|
8543
8549
|
});
|
|
8544
8550
|
}
|
|
8545
8551
|
try {
|
|
@@ -8599,7 +8605,7 @@ class Cashfree {
|
|
|
8599
8605
|
else {
|
|
8600
8606
|
scope.setExtra('environment', 'production');
|
|
8601
8607
|
}
|
|
8602
|
-
scope.setExtra('release', "4.2.
|
|
8608
|
+
scope.setExtra('release', "4.2.2");
|
|
8603
8609
|
});
|
|
8604
8610
|
}
|
|
8605
8611
|
try {
|
|
@@ -8659,7 +8665,7 @@ class Cashfree {
|
|
|
8659
8665
|
else {
|
|
8660
8666
|
scope.setExtra('environment', 'production');
|
|
8661
8667
|
}
|
|
8662
|
-
scope.setExtra('release', "4.2.
|
|
8668
|
+
scope.setExtra('release', "4.2.2");
|
|
8663
8669
|
});
|
|
8664
8670
|
}
|
|
8665
8671
|
try {
|
|
@@ -8719,7 +8725,7 @@ class Cashfree {
|
|
|
8719
8725
|
else {
|
|
8720
8726
|
scope.setExtra('environment', 'production');
|
|
8721
8727
|
}
|
|
8722
|
-
scope.setExtra('release', "4.2.
|
|
8728
|
+
scope.setExtra('release', "4.2.2");
|
|
8723
8729
|
});
|
|
8724
8730
|
}
|
|
8725
8731
|
try {
|
|
@@ -8779,7 +8785,7 @@ class Cashfree {
|
|
|
8779
8785
|
else {
|
|
8780
8786
|
scope.setExtra('environment', 'production');
|
|
8781
8787
|
}
|
|
8782
|
-
scope.setExtra('release', "4.2.
|
|
8788
|
+
scope.setExtra('release', "4.2.2");
|
|
8783
8789
|
});
|
|
8784
8790
|
}
|
|
8785
8791
|
try {
|
|
@@ -8839,7 +8845,7 @@ class Cashfree {
|
|
|
8839
8845
|
else {
|
|
8840
8846
|
scope.setExtra('environment', 'production');
|
|
8841
8847
|
}
|
|
8842
|
-
scope.setExtra('release', "4.2.
|
|
8848
|
+
scope.setExtra('release', "4.2.2");
|
|
8843
8849
|
});
|
|
8844
8850
|
}
|
|
8845
8851
|
try {
|
|
@@ -8900,7 +8906,7 @@ class Cashfree {
|
|
|
8900
8906
|
else {
|
|
8901
8907
|
scope.setExtra('environment', 'production');
|
|
8902
8908
|
}
|
|
8903
|
-
scope.setExtra('release', "4.2.
|
|
8909
|
+
scope.setExtra('release', "4.2.2");
|
|
8904
8910
|
});
|
|
8905
8911
|
}
|
|
8906
8912
|
try {
|
|
@@ -8961,7 +8967,7 @@ class Cashfree {
|
|
|
8961
8967
|
else {
|
|
8962
8968
|
scope.setExtra('environment', 'production');
|
|
8963
8969
|
}
|
|
8964
|
-
scope.setExtra('release', "4.2.
|
|
8970
|
+
scope.setExtra('release', "4.2.2");
|
|
8965
8971
|
});
|
|
8966
8972
|
}
|
|
8967
8973
|
try {
|
|
@@ -9022,7 +9028,7 @@ class Cashfree {
|
|
|
9022
9028
|
else {
|
|
9023
9029
|
scope.setExtra('environment', 'production');
|
|
9024
9030
|
}
|
|
9025
|
-
scope.setExtra('release', "4.2.
|
|
9031
|
+
scope.setExtra('release', "4.2.2");
|
|
9026
9032
|
});
|
|
9027
9033
|
}
|
|
9028
9034
|
try {
|
|
@@ -9083,7 +9089,7 @@ class Cashfree {
|
|
|
9083
9089
|
else {
|
|
9084
9090
|
scope.setExtra('environment', 'production');
|
|
9085
9091
|
}
|
|
9086
|
-
scope.setExtra('release', "4.2.
|
|
9092
|
+
scope.setExtra('release', "4.2.2");
|
|
9087
9093
|
});
|
|
9088
9094
|
}
|
|
9089
9095
|
try {
|
|
@@ -9144,7 +9150,7 @@ class Cashfree {
|
|
|
9144
9150
|
else {
|
|
9145
9151
|
scope.setExtra('environment', 'production');
|
|
9146
9152
|
}
|
|
9147
|
-
scope.setExtra('release', "4.2.
|
|
9153
|
+
scope.setExtra('release', "4.2.2");
|
|
9148
9154
|
});
|
|
9149
9155
|
}
|
|
9150
9156
|
try {
|
|
@@ -9204,7 +9210,7 @@ class Cashfree {
|
|
|
9204
9210
|
else {
|
|
9205
9211
|
scope.setExtra('environment', 'production');
|
|
9206
9212
|
}
|
|
9207
|
-
scope.setExtra('release', "4.2.
|
|
9213
|
+
scope.setExtra('release', "4.2.2");
|
|
9208
9214
|
});
|
|
9209
9215
|
}
|
|
9210
9216
|
try {
|
|
@@ -9264,7 +9270,7 @@ class Cashfree {
|
|
|
9264
9270
|
else {
|
|
9265
9271
|
scope.setExtra('environment', 'production');
|
|
9266
9272
|
}
|
|
9267
|
-
scope.setExtra('release', "4.2.
|
|
9273
|
+
scope.setExtra('release', "4.2.2");
|
|
9268
9274
|
});
|
|
9269
9275
|
}
|
|
9270
9276
|
try {
|
|
@@ -9325,7 +9331,7 @@ class Cashfree {
|
|
|
9325
9331
|
else {
|
|
9326
9332
|
scope.setExtra('environment', 'production');
|
|
9327
9333
|
}
|
|
9328
|
-
scope.setExtra('release', "4.2.
|
|
9334
|
+
scope.setExtra('release', "4.2.2");
|
|
9329
9335
|
});
|
|
9330
9336
|
}
|
|
9331
9337
|
try {
|
|
@@ -9385,7 +9391,7 @@ class Cashfree {
|
|
|
9385
9391
|
else {
|
|
9386
9392
|
scope.setExtra('environment', 'production');
|
|
9387
9393
|
}
|
|
9388
|
-
scope.setExtra('release', "4.2.
|
|
9394
|
+
scope.setExtra('release', "4.2.2");
|
|
9389
9395
|
});
|
|
9390
9396
|
}
|
|
9391
9397
|
try {
|
|
@@ -9445,7 +9451,7 @@ class Cashfree {
|
|
|
9445
9451
|
else {
|
|
9446
9452
|
scope.setExtra('environment', 'production');
|
|
9447
9453
|
}
|
|
9448
|
-
scope.setExtra('release', "4.2.
|
|
9454
|
+
scope.setExtra('release', "4.2.2");
|
|
9449
9455
|
});
|
|
9450
9456
|
}
|
|
9451
9457
|
try {
|
|
@@ -9505,7 +9511,7 @@ class Cashfree {
|
|
|
9505
9511
|
else {
|
|
9506
9512
|
scope.setExtra('environment', 'production');
|
|
9507
9513
|
}
|
|
9508
|
-
scope.setExtra('release', "4.2.
|
|
9514
|
+
scope.setExtra('release', "4.2.2");
|
|
9509
9515
|
});
|
|
9510
9516
|
}
|
|
9511
9517
|
try {
|
|
@@ -9566,7 +9572,7 @@ class Cashfree {
|
|
|
9566
9572
|
else {
|
|
9567
9573
|
scope.setExtra('environment', 'production');
|
|
9568
9574
|
}
|
|
9569
|
-
scope.setExtra('release', "4.2.
|
|
9575
|
+
scope.setExtra('release', "4.2.2");
|
|
9570
9576
|
});
|
|
9571
9577
|
}
|
|
9572
9578
|
try {
|
|
@@ -9626,7 +9632,7 @@ class Cashfree {
|
|
|
9626
9632
|
else {
|
|
9627
9633
|
scope.setExtra('environment', 'production');
|
|
9628
9634
|
}
|
|
9629
|
-
scope.setExtra('release', "4.2.
|
|
9635
|
+
scope.setExtra('release', "4.2.2");
|
|
9630
9636
|
});
|
|
9631
9637
|
}
|
|
9632
9638
|
try {
|
|
@@ -9687,7 +9693,7 @@ class Cashfree {
|
|
|
9687
9693
|
else {
|
|
9688
9694
|
scope.setExtra('environment', 'production');
|
|
9689
9695
|
}
|
|
9690
|
-
scope.setExtra('release', "4.2.
|
|
9696
|
+
scope.setExtra('release', "4.2.2");
|
|
9691
9697
|
});
|
|
9692
9698
|
}
|
|
9693
9699
|
try {
|
|
@@ -9748,7 +9754,7 @@ class Cashfree {
|
|
|
9748
9754
|
else {
|
|
9749
9755
|
scope.setExtra('environment', 'production');
|
|
9750
9756
|
}
|
|
9751
|
-
scope.setExtra('release', "4.2.
|
|
9757
|
+
scope.setExtra('release', "4.2.2");
|
|
9752
9758
|
});
|
|
9753
9759
|
}
|
|
9754
9760
|
try {
|
|
@@ -9810,7 +9816,7 @@ class Cashfree {
|
|
|
9810
9816
|
else {
|
|
9811
9817
|
scope.setExtra('environment', 'production');
|
|
9812
9818
|
}
|
|
9813
|
-
scope.setExtra('release', "4.2.
|
|
9819
|
+
scope.setExtra('release', "4.2.2");
|
|
9814
9820
|
});
|
|
9815
9821
|
}
|
|
9816
9822
|
try {
|
|
@@ -9825,7 +9831,7 @@ class Cashfree {
|
|
|
9825
9831
|
}
|
|
9826
9832
|
/**
|
|
9827
9833
|
* Use this API to upload Physical Nach for Physical Nach Authorization.
|
|
9828
|
-
* @summary
|
|
9834
|
+
* @summary API to upload Physical Nach for Physical Nach Authorization.
|
|
9829
9835
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
9830
9836
|
* @param {string} payment_id Provide the PaymentId using which the payment was created.
|
|
9831
9837
|
* @param {File} file Select the .jpg file that should be uploaded or provide the path of that file. You cannot upload a file that is more than 1MB in size.
|
|
@@ -9873,7 +9879,7 @@ class Cashfree {
|
|
|
9873
9879
|
else {
|
|
9874
9880
|
scope.setExtra('environment', 'production');
|
|
9875
9881
|
}
|
|
9876
|
-
scope.setExtra('release', "4.2.
|
|
9882
|
+
scope.setExtra('release', "4.2.2");
|
|
9877
9883
|
});
|
|
9878
9884
|
}
|
|
9879
9885
|
try {
|
|
@@ -9888,7 +9894,7 @@ class Cashfree {
|
|
|
9888
9894
|
}
|
|
9889
9895
|
/**
|
|
9890
9896
|
* Use this API to check if a payment method is enabled for your account.
|
|
9891
|
-
* @summary
|
|
9897
|
+
* @summary API to get all the payment method details available for subscription payments.
|
|
9892
9898
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
9893
9899
|
* @param {SubscriptionEligibilityRequest} SubscriptionEligibilityRequest Request body to fetch subscription eligibile payment method details.
|
|
9894
9900
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
@@ -9933,7 +9939,7 @@ class Cashfree {
|
|
|
9933
9939
|
else {
|
|
9934
9940
|
scope.setExtra('environment', 'production');
|
|
9935
9941
|
}
|
|
9936
|
-
scope.setExtra('release', "4.2.
|
|
9942
|
+
scope.setExtra('release', "4.2.2");
|
|
9937
9943
|
});
|
|
9938
9944
|
}
|
|
9939
9945
|
try {
|
|
@@ -9994,7 +10000,7 @@ class Cashfree {
|
|
|
9994
10000
|
else {
|
|
9995
10001
|
scope.setExtra('environment', 'production');
|
|
9996
10002
|
}
|
|
9997
|
-
scope.setExtra('release', "4.2.
|
|
10003
|
+
scope.setExtra('release', "4.2.2");
|
|
9998
10004
|
});
|
|
9999
10005
|
}
|
|
10000
10006
|
try {
|
|
@@ -10055,7 +10061,7 @@ class Cashfree {
|
|
|
10055
10061
|
else {
|
|
10056
10062
|
scope.setExtra('environment', 'production');
|
|
10057
10063
|
}
|
|
10058
|
-
scope.setExtra('release', "4.2.
|
|
10064
|
+
scope.setExtra('release', "4.2.2");
|
|
10059
10065
|
});
|
|
10060
10066
|
}
|
|
10061
10067
|
try {
|
|
@@ -10116,7 +10122,7 @@ class Cashfree {
|
|
|
10116
10122
|
else {
|
|
10117
10123
|
scope.setExtra('environment', 'production');
|
|
10118
10124
|
}
|
|
10119
|
-
scope.setExtra('release', "4.2.
|
|
10125
|
+
scope.setExtra('release', "4.2.2");
|
|
10120
10126
|
});
|
|
10121
10127
|
}
|
|
10122
10128
|
try {
|
|
@@ -10177,7 +10183,7 @@ class Cashfree {
|
|
|
10177
10183
|
else {
|
|
10178
10184
|
scope.setExtra('environment', 'production');
|
|
10179
10185
|
}
|
|
10180
|
-
scope.setExtra('release', "4.2.
|
|
10186
|
+
scope.setExtra('release', "4.2.2");
|
|
10181
10187
|
});
|
|
10182
10188
|
}
|
|
10183
10189
|
try {
|