cashfree-pg 3.1.3 → 3.1.4
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/README.md +31 -0
- package/api.ts +65 -65
- package/dist/api.js +65 -65
- package/dist/esm/api.js +65 -65
- package/docs/Eligibility.md +383 -0
- package/docs/Offers.md +181 -0
- package/docs/Orders.md +188 -0
- package/docs/PaymentLink.md +296 -0
- package/docs/Payments.md +429 -0
- package/docs/Reconciliation.md +243 -0
- package/docs/Refunds.md +203 -0
- package/docs/Settlements.md +55 -0
- package/docs/TokenVault.md +214 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,6 +62,37 @@ Cashfree.PGFetchOrder("2022-09-01", "<order_id>").then((response) => {
|
|
|
62
62
|
});
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
+
Validate Webhook
|
|
66
|
+
```javascript
|
|
67
|
+
app.post('/webhook', function (req, res) {
|
|
68
|
+
try {
|
|
69
|
+
Cashfree.PGVerifyWebhookSignature(req.headers["x-webhook-signature"], req.rawBody, req.headers["x-webhook-timestamp"]))
|
|
70
|
+
} catch (err) {
|
|
71
|
+
console.log(err.message)
|
|
72
|
+
}
|
|
73
|
+
})
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Supported Resources
|
|
77
|
+
|
|
78
|
+
- [Order](docs/Orders.md)
|
|
79
|
+
|
|
80
|
+
- [Payment](docs/Payments.md)
|
|
81
|
+
|
|
82
|
+
- [Refund](docs/Refunds.md)
|
|
83
|
+
|
|
84
|
+
- [Token Vault](docs/TokenVault.md)
|
|
85
|
+
|
|
86
|
+
- [Eligiblity](docs/Eligibility.md)
|
|
87
|
+
|
|
88
|
+
- [PaymentLink](docs/PaymentLink.md)
|
|
89
|
+
|
|
90
|
+
- [Settlements](docs/Settlements.md)
|
|
91
|
+
|
|
92
|
+
- [Offers](docs/Offers.md)
|
|
93
|
+
|
|
94
|
+
- [Reconciliation](docs/Reconciliation.md)
|
|
95
|
+
|
|
65
96
|
## Licence
|
|
66
97
|
|
|
67
98
|
Apache Licensed. See [LICENSE.md](LICENSE.md) for more details
|
package/api.ts
CHANGED
|
@@ -4864,7 +4864,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
4864
4864
|
|
|
4865
4865
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4866
4866
|
|
|
4867
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
4867
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
4868
4868
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4869
4869
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4870
4870
|
}
|
|
@@ -4938,7 +4938,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
4938
4938
|
|
|
4939
4939
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4940
4940
|
|
|
4941
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
4941
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
4942
4942
|
if (x_api_version != null && x_api_version != undefined) {
|
|
4943
4943
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
4944
4944
|
}
|
|
@@ -5012,7 +5012,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
5012
5012
|
|
|
5013
5013
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5014
5014
|
|
|
5015
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
5015
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
5016
5016
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5017
5017
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5018
5018
|
}
|
|
@@ -5086,7 +5086,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
5086
5086
|
|
|
5087
5087
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5088
5088
|
|
|
5089
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
5089
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
5090
5090
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5091
5091
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5092
5092
|
}
|
|
@@ -5260,7 +5260,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
5260
5260
|
|
|
5261
5261
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5262
5262
|
|
|
5263
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
5263
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
5264
5264
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5265
5265
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5266
5266
|
}
|
|
@@ -5333,7 +5333,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
5333
5333
|
|
|
5334
5334
|
|
|
5335
5335
|
|
|
5336
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
5336
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
5337
5337
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5338
5338
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5339
5339
|
}
|
|
@@ -5470,7 +5470,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
5470
5470
|
|
|
5471
5471
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5472
5472
|
|
|
5473
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
5473
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
5474
5474
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5475
5475
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5476
5476
|
}
|
|
@@ -5543,7 +5543,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
5543
5543
|
|
|
5544
5544
|
|
|
5545
5545
|
|
|
5546
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
5546
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
5547
5547
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5548
5548
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5549
5549
|
}
|
|
@@ -5682,7 +5682,7 @@ const PGReconciliationApiAxiosParamCreator = function (configuration?: Configura
|
|
|
5682
5682
|
|
|
5683
5683
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5684
5684
|
|
|
5685
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
5685
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
5686
5686
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5687
5687
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5688
5688
|
}
|
|
@@ -5803,7 +5803,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5803
5803
|
|
|
5804
5804
|
|
|
5805
5805
|
|
|
5806
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
5806
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
5807
5807
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5808
5808
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5809
5809
|
}
|
|
@@ -5876,7 +5876,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5876
5876
|
|
|
5877
5877
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5878
5878
|
|
|
5879
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
5879
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
5880
5880
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5881
5881
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5882
5882
|
}
|
|
@@ -5949,7 +5949,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5949
5949
|
|
|
5950
5950
|
|
|
5951
5951
|
|
|
5952
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
5952
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
5953
5953
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5954
5954
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5955
5955
|
}
|
|
@@ -6021,7 +6021,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6021
6021
|
|
|
6022
6022
|
|
|
6023
6023
|
|
|
6024
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
6024
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
6025
6025
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6026
6026
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6027
6027
|
}
|
|
@@ -6198,7 +6198,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
6198
6198
|
|
|
6199
6199
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6200
6200
|
|
|
6201
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
6201
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
6202
6202
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6203
6203
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6204
6204
|
}
|
|
@@ -6261,7 +6261,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
6261
6261
|
|
|
6262
6262
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6263
6263
|
|
|
6264
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
6264
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
6265
6265
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6266
6266
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6267
6267
|
}
|
|
@@ -6338,7 +6338,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
6338
6338
|
|
|
6339
6339
|
|
|
6340
6340
|
|
|
6341
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
6341
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
6342
6342
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6343
6343
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6344
6344
|
}
|
|
@@ -6410,7 +6410,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
6410
6410
|
|
|
6411
6411
|
|
|
6412
6412
|
|
|
6413
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
6413
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
6414
6414
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6415
6415
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6416
6416
|
}
|
|
@@ -6468,7 +6468,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
6468
6468
|
|
|
6469
6469
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6470
6470
|
|
|
6471
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
6471
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
6472
6472
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6473
6473
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6474
6474
|
}
|
|
@@ -6667,7 +6667,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
6667
6667
|
|
|
6668
6668
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6669
6669
|
|
|
6670
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
6670
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
6671
6671
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6672
6672
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6673
6673
|
}
|
|
@@ -6744,7 +6744,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
6744
6744
|
|
|
6745
6745
|
|
|
6746
6746
|
|
|
6747
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
6747
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
6748
6748
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6749
6749
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6750
6750
|
}
|
|
@@ -6816,7 +6816,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
6816
6816
|
|
|
6817
6817
|
|
|
6818
6818
|
|
|
6819
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
6819
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
6820
6820
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6821
6821
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6822
6822
|
}
|
|
@@ -6975,7 +6975,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C
|
|
|
6975
6975
|
|
|
6976
6976
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6977
6977
|
|
|
6978
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
6978
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
6979
6979
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6980
6980
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6981
6981
|
}
|
|
@@ -7051,7 +7051,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C
|
|
|
7051
7051
|
|
|
7052
7052
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7053
7053
|
|
|
7054
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
7054
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
7055
7055
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7056
7056
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7057
7057
|
}
|
|
@@ -7192,7 +7192,7 @@ const SettlementsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7192
7192
|
|
|
7193
7193
|
|
|
7194
7194
|
|
|
7195
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
7195
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
7196
7196
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7197
7197
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7198
7198
|
}
|
|
@@ -7311,7 +7311,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
7311
7311
|
|
|
7312
7312
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7313
7313
|
|
|
7314
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
7314
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
7315
7315
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7316
7316
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7317
7317
|
}
|
|
@@ -7385,7 +7385,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
7385
7385
|
|
|
7386
7386
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7387
7387
|
|
|
7388
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
7388
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
7389
7389
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7390
7390
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7391
7391
|
}
|
|
@@ -7458,7 +7458,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
7458
7458
|
|
|
7459
7459
|
|
|
7460
7460
|
|
|
7461
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
7461
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
7462
7462
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7463
7463
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7464
7464
|
}
|
|
@@ -7540,7 +7540,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
7540
7540
|
|
|
7541
7541
|
|
|
7542
7542
|
|
|
7543
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
7543
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
7544
7544
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7545
7545
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7546
7546
|
}
|
|
@@ -7717,7 +7717,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7717
7717
|
|
|
7718
7718
|
|
|
7719
7719
|
|
|
7720
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
7720
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
7721
7721
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7722
7722
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7723
7723
|
}
|
|
@@ -7793,7 +7793,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7793
7793
|
|
|
7794
7794
|
|
|
7795
7795
|
|
|
7796
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
7796
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
7797
7797
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7798
7798
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7799
7799
|
}
|
|
@@ -7872,7 +7872,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7872
7872
|
|
|
7873
7873
|
|
|
7874
7874
|
|
|
7875
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
7875
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
7876
7876
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7877
7877
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7878
7878
|
}
|
|
@@ -7948,7 +7948,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7948
7948
|
|
|
7949
7949
|
|
|
7950
7950
|
|
|
7951
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.
|
|
7951
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.1.4';
|
|
7952
7952
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7953
7953
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7954
7954
|
}
|
|
@@ -8119,7 +8119,7 @@ export class Cashfree {
|
|
|
8119
8119
|
*/
|
|
8120
8120
|
public static PGVerifyWebhookSignature(signature: string, rawBody: string, timestamp: string) {
|
|
8121
8121
|
const body = timestamp + rawBody
|
|
8122
|
-
const secretKey = Cashfree.
|
|
8122
|
+
const secretKey = Cashfree.XClientSecret;
|
|
8123
8123
|
let generatedSignature = crypto.createHmac('sha256', secretKey).update(body).digest("base64");
|
|
8124
8124
|
if(generatedSignature === signature) {
|
|
8125
8125
|
let jsonObject = JSON.parse(rawBody)
|
|
@@ -8176,7 +8176,7 @@ export class Cashfree {
|
|
|
8176
8176
|
} else {
|
|
8177
8177
|
scope.setExtra('environment', 'production');
|
|
8178
8178
|
}
|
|
8179
|
-
scope.setExtra('release', "3.1.
|
|
8179
|
+
scope.setExtra('release', "3.1.4");
|
|
8180
8180
|
});
|
|
8181
8181
|
}
|
|
8182
8182
|
try {
|
|
@@ -8236,7 +8236,7 @@ export class Cashfree {
|
|
|
8236
8236
|
} else {
|
|
8237
8237
|
scope.setExtra('environment', 'production');
|
|
8238
8238
|
}
|
|
8239
|
-
scope.setExtra('release', "3.1.
|
|
8239
|
+
scope.setExtra('release', "3.1.4");
|
|
8240
8240
|
});
|
|
8241
8241
|
}
|
|
8242
8242
|
try {
|
|
@@ -8296,7 +8296,7 @@ export class Cashfree {
|
|
|
8296
8296
|
} else {
|
|
8297
8297
|
scope.setExtra('environment', 'production');
|
|
8298
8298
|
}
|
|
8299
|
-
scope.setExtra('release', "3.1.
|
|
8299
|
+
scope.setExtra('release', "3.1.4");
|
|
8300
8300
|
});
|
|
8301
8301
|
}
|
|
8302
8302
|
try {
|
|
@@ -8356,7 +8356,7 @@ export class Cashfree {
|
|
|
8356
8356
|
} else {
|
|
8357
8357
|
scope.setExtra('environment', 'production');
|
|
8358
8358
|
}
|
|
8359
|
-
scope.setExtra('release', "3.1.
|
|
8359
|
+
scope.setExtra('release', "3.1.4");
|
|
8360
8360
|
});
|
|
8361
8361
|
}
|
|
8362
8362
|
try {
|
|
@@ -8416,7 +8416,7 @@ export class Cashfree {
|
|
|
8416
8416
|
} else {
|
|
8417
8417
|
scope.setExtra('environment', 'production');
|
|
8418
8418
|
}
|
|
8419
|
-
scope.setExtra('release', "3.1.
|
|
8419
|
+
scope.setExtra('release', "3.1.4");
|
|
8420
8420
|
});
|
|
8421
8421
|
}
|
|
8422
8422
|
try {
|
|
@@ -8476,7 +8476,7 @@ export class Cashfree {
|
|
|
8476
8476
|
} else {
|
|
8477
8477
|
scope.setExtra('environment', 'production');
|
|
8478
8478
|
}
|
|
8479
|
-
scope.setExtra('release', "3.1.
|
|
8479
|
+
scope.setExtra('release', "3.1.4");
|
|
8480
8480
|
});
|
|
8481
8481
|
}
|
|
8482
8482
|
try {
|
|
@@ -8536,7 +8536,7 @@ export class Cashfree {
|
|
|
8536
8536
|
} else {
|
|
8537
8537
|
scope.setExtra('environment', 'production');
|
|
8538
8538
|
}
|
|
8539
|
-
scope.setExtra('release', "3.1.
|
|
8539
|
+
scope.setExtra('release', "3.1.4");
|
|
8540
8540
|
});
|
|
8541
8541
|
}
|
|
8542
8542
|
try {
|
|
@@ -8596,7 +8596,7 @@ export class Cashfree {
|
|
|
8596
8596
|
} else {
|
|
8597
8597
|
scope.setExtra('environment', 'production');
|
|
8598
8598
|
}
|
|
8599
|
-
scope.setExtra('release', "3.1.
|
|
8599
|
+
scope.setExtra('release', "3.1.4");
|
|
8600
8600
|
});
|
|
8601
8601
|
}
|
|
8602
8602
|
try {
|
|
@@ -8658,7 +8658,7 @@ export class Cashfree {
|
|
|
8658
8658
|
} else {
|
|
8659
8659
|
scope.setExtra('environment', 'production');
|
|
8660
8660
|
}
|
|
8661
|
-
scope.setExtra('release', "3.1.
|
|
8661
|
+
scope.setExtra('release', "3.1.4");
|
|
8662
8662
|
});
|
|
8663
8663
|
}
|
|
8664
8664
|
try {
|
|
@@ -8718,7 +8718,7 @@ export class Cashfree {
|
|
|
8718
8718
|
} else {
|
|
8719
8719
|
scope.setExtra('environment', 'production');
|
|
8720
8720
|
}
|
|
8721
|
-
scope.setExtra('release', "3.1.
|
|
8721
|
+
scope.setExtra('release', "3.1.4");
|
|
8722
8722
|
});
|
|
8723
8723
|
}
|
|
8724
8724
|
try {
|
|
@@ -8778,7 +8778,7 @@ export class Cashfree {
|
|
|
8778
8778
|
} else {
|
|
8779
8779
|
scope.setExtra('environment', 'production');
|
|
8780
8780
|
}
|
|
8781
|
-
scope.setExtra('release', "3.1.
|
|
8781
|
+
scope.setExtra('release', "3.1.4");
|
|
8782
8782
|
});
|
|
8783
8783
|
}
|
|
8784
8784
|
try {
|
|
@@ -8838,7 +8838,7 @@ export class Cashfree {
|
|
|
8838
8838
|
} else {
|
|
8839
8839
|
scope.setExtra('environment', 'production');
|
|
8840
8840
|
}
|
|
8841
|
-
scope.setExtra('release', "3.1.
|
|
8841
|
+
scope.setExtra('release', "3.1.4");
|
|
8842
8842
|
});
|
|
8843
8843
|
}
|
|
8844
8844
|
try {
|
|
@@ -8898,7 +8898,7 @@ export class Cashfree {
|
|
|
8898
8898
|
} else {
|
|
8899
8899
|
scope.setExtra('environment', 'production');
|
|
8900
8900
|
}
|
|
8901
|
-
scope.setExtra('release', "3.1.
|
|
8901
|
+
scope.setExtra('release', "3.1.4");
|
|
8902
8902
|
});
|
|
8903
8903
|
}
|
|
8904
8904
|
try {
|
|
@@ -8959,7 +8959,7 @@ export class Cashfree {
|
|
|
8959
8959
|
} else {
|
|
8960
8960
|
scope.setExtra('environment', 'production');
|
|
8961
8961
|
}
|
|
8962
|
-
scope.setExtra('release', "3.1.
|
|
8962
|
+
scope.setExtra('release', "3.1.4");
|
|
8963
8963
|
});
|
|
8964
8964
|
}
|
|
8965
8965
|
try {
|
|
@@ -9020,7 +9020,7 @@ export class Cashfree {
|
|
|
9020
9020
|
} else {
|
|
9021
9021
|
scope.setExtra('environment', 'production');
|
|
9022
9022
|
}
|
|
9023
|
-
scope.setExtra('release', "3.1.
|
|
9023
|
+
scope.setExtra('release', "3.1.4");
|
|
9024
9024
|
});
|
|
9025
9025
|
}
|
|
9026
9026
|
try {
|
|
@@ -9081,7 +9081,7 @@ export class Cashfree {
|
|
|
9081
9081
|
} else {
|
|
9082
9082
|
scope.setExtra('environment', 'production');
|
|
9083
9083
|
}
|
|
9084
|
-
scope.setExtra('release', "3.1.
|
|
9084
|
+
scope.setExtra('release', "3.1.4");
|
|
9085
9085
|
});
|
|
9086
9086
|
}
|
|
9087
9087
|
try {
|
|
@@ -9141,7 +9141,7 @@ export class Cashfree {
|
|
|
9141
9141
|
} else {
|
|
9142
9142
|
scope.setExtra('environment', 'production');
|
|
9143
9143
|
}
|
|
9144
|
-
scope.setExtra('release', "3.1.
|
|
9144
|
+
scope.setExtra('release', "3.1.4");
|
|
9145
9145
|
});
|
|
9146
9146
|
}
|
|
9147
9147
|
try {
|
|
@@ -9201,7 +9201,7 @@ export class Cashfree {
|
|
|
9201
9201
|
} else {
|
|
9202
9202
|
scope.setExtra('environment', 'production');
|
|
9203
9203
|
}
|
|
9204
|
-
scope.setExtra('release', "3.1.
|
|
9204
|
+
scope.setExtra('release', "3.1.4");
|
|
9205
9205
|
});
|
|
9206
9206
|
}
|
|
9207
9207
|
try {
|
|
@@ -9262,7 +9262,7 @@ export class Cashfree {
|
|
|
9262
9262
|
} else {
|
|
9263
9263
|
scope.setExtra('environment', 'production');
|
|
9264
9264
|
}
|
|
9265
|
-
scope.setExtra('release', "3.1.
|
|
9265
|
+
scope.setExtra('release', "3.1.4");
|
|
9266
9266
|
});
|
|
9267
9267
|
}
|
|
9268
9268
|
try {
|
|
@@ -9323,7 +9323,7 @@ export class Cashfree {
|
|
|
9323
9323
|
} else {
|
|
9324
9324
|
scope.setExtra('environment', 'production');
|
|
9325
9325
|
}
|
|
9326
|
-
scope.setExtra('release', "3.1.
|
|
9326
|
+
scope.setExtra('release', "3.1.4");
|
|
9327
9327
|
});
|
|
9328
9328
|
}
|
|
9329
9329
|
try {
|
|
@@ -9383,7 +9383,7 @@ export class Cashfree {
|
|
|
9383
9383
|
} else {
|
|
9384
9384
|
scope.setExtra('environment', 'production');
|
|
9385
9385
|
}
|
|
9386
|
-
scope.setExtra('release', "3.1.
|
|
9386
|
+
scope.setExtra('release', "3.1.4");
|
|
9387
9387
|
});
|
|
9388
9388
|
}
|
|
9389
9389
|
try {
|
|
@@ -9445,7 +9445,7 @@ export class Cashfree {
|
|
|
9445
9445
|
} else {
|
|
9446
9446
|
scope.setExtra('environment', 'production');
|
|
9447
9447
|
}
|
|
9448
|
-
scope.setExtra('release', "3.1.
|
|
9448
|
+
scope.setExtra('release', "3.1.4");
|
|
9449
9449
|
});
|
|
9450
9450
|
}
|
|
9451
9451
|
try {
|
|
@@ -9507,7 +9507,7 @@ export class Cashfree {
|
|
|
9507
9507
|
} else {
|
|
9508
9508
|
scope.setExtra('environment', 'production');
|
|
9509
9509
|
}
|
|
9510
|
-
scope.setExtra('release', "3.1.
|
|
9510
|
+
scope.setExtra('release', "3.1.4");
|
|
9511
9511
|
});
|
|
9512
9512
|
}
|
|
9513
9513
|
try {
|
|
@@ -9567,7 +9567,7 @@ export class Cashfree {
|
|
|
9567
9567
|
} else {
|
|
9568
9568
|
scope.setExtra('environment', 'production');
|
|
9569
9569
|
}
|
|
9570
|
-
scope.setExtra('release', "3.1.
|
|
9570
|
+
scope.setExtra('release', "3.1.4");
|
|
9571
9571
|
});
|
|
9572
9572
|
}
|
|
9573
9573
|
try {
|
|
@@ -9627,7 +9627,7 @@ export class Cashfree {
|
|
|
9627
9627
|
} else {
|
|
9628
9628
|
scope.setExtra('environment', 'production');
|
|
9629
9629
|
}
|
|
9630
|
-
scope.setExtra('release', "3.1.
|
|
9630
|
+
scope.setExtra('release', "3.1.4");
|
|
9631
9631
|
});
|
|
9632
9632
|
}
|
|
9633
9633
|
try {
|
|
@@ -9687,7 +9687,7 @@ export class Cashfree {
|
|
|
9687
9687
|
} else {
|
|
9688
9688
|
scope.setExtra('environment', 'production');
|
|
9689
9689
|
}
|
|
9690
|
-
scope.setExtra('release', "3.1.
|
|
9690
|
+
scope.setExtra('release', "3.1.4");
|
|
9691
9691
|
});
|
|
9692
9692
|
}
|
|
9693
9693
|
try {
|
|
@@ -9747,7 +9747,7 @@ export class Cashfree {
|
|
|
9747
9747
|
} else {
|
|
9748
9748
|
scope.setExtra('environment', 'production');
|
|
9749
9749
|
}
|
|
9750
|
-
scope.setExtra('release', "3.1.
|
|
9750
|
+
scope.setExtra('release', "3.1.4");
|
|
9751
9751
|
});
|
|
9752
9752
|
}
|
|
9753
9753
|
try {
|
|
@@ -9808,7 +9808,7 @@ export class Cashfree {
|
|
|
9808
9808
|
} else {
|
|
9809
9809
|
scope.setExtra('environment', 'production');
|
|
9810
9810
|
}
|
|
9811
|
-
scope.setExtra('release', "3.1.
|
|
9811
|
+
scope.setExtra('release', "3.1.4");
|
|
9812
9812
|
});
|
|
9813
9813
|
}
|
|
9814
9814
|
try {
|
|
@@ -9869,7 +9869,7 @@ export class Cashfree {
|
|
|
9869
9869
|
} else {
|
|
9870
9870
|
scope.setExtra('environment', 'production');
|
|
9871
9871
|
}
|
|
9872
|
-
scope.setExtra('release', "3.1.
|
|
9872
|
+
scope.setExtra('release', "3.1.4");
|
|
9873
9873
|
});
|
|
9874
9874
|
}
|
|
9875
9875
|
try {
|
|
@@ -9930,7 +9930,7 @@ export class Cashfree {
|
|
|
9930
9930
|
} else {
|
|
9931
9931
|
scope.setExtra('environment', 'production');
|
|
9932
9932
|
}
|
|
9933
|
-
scope.setExtra('release', "3.1.
|
|
9933
|
+
scope.setExtra('release', "3.1.4");
|
|
9934
9934
|
});
|
|
9935
9935
|
}
|
|
9936
9936
|
try {
|
|
@@ -9991,7 +9991,7 @@ export class Cashfree {
|
|
|
9991
9991
|
} else {
|
|
9992
9992
|
scope.setExtra('environment', 'production');
|
|
9993
9993
|
}
|
|
9994
|
-
scope.setExtra('release', "3.1.
|
|
9994
|
+
scope.setExtra('release', "3.1.4");
|
|
9995
9995
|
});
|
|
9996
9996
|
}
|
|
9997
9997
|
try {
|
|
@@ -10052,7 +10052,7 @@ export class Cashfree {
|
|
|
10052
10052
|
} else {
|
|
10053
10053
|
scope.setExtra('environment', 'production');
|
|
10054
10054
|
}
|
|
10055
|
-
scope.setExtra('release', "3.1.
|
|
10055
|
+
scope.setExtra('release', "3.1.4");
|
|
10056
10056
|
});
|
|
10057
10057
|
}
|
|
10058
10058
|
try {
|