@gofynd/fdk-client-javascript 1.4.15-beta.3 → 1.4.15-beta.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 +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +48 -68
- package/sdk/application/Cart/CartApplicationClient.js +27 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +58 -59
- package/sdk/application/Catalog/CatalogApplicationClient.js +29 -30
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
- package/sdk/application/Content/ContentApplicationClient.d.ts +30 -19
- package/sdk/application/Content/ContentApplicationClient.js +54 -28
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationClient.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +15 -35
- package/sdk/application/Logistic/LogisticApplicationClient.js +8 -89
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
- package/sdk/application/Order/OrderApplicationClient.js +8 -47
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
- package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +2 -4
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +6 -6
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
- package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +115 -419
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -118
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1298 -5037
- package/sdk/platform/Cart/CartPlatformModel.js +1217 -1976
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -209
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +400 -457
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +142 -185
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +78 -96
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +117 -154
- package/sdk/platform/Catalog/CatalogPlatformClient.js +172 -292
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1647 -6385
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1680 -3217
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -72
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +24 -50
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +131 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +97 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
- package/sdk/platform/Content/ContentPlatformModel.js +390 -521
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -17
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +7 -85
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +24 -95
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +19 -39
- package/sdk/platform/Order/OrderPlatformClient.d.ts +96 -153
- package/sdk/platform/Order/OrderPlatformClient.js +198 -416
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1286 -7619
- package/sdk/platform/Order/OrderPlatformModel.js +1265 -3922
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +109 -270
- package/sdk/platform/Order/OrderPlatformValidator.js +77 -135
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +105 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +141 -129
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +319 -333
- package/sdk/platform/Payment/PaymentPlatformModel.js +278 -288
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +36 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +41 -132
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +14 -34
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +46 -42
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +28 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
- package/sdk/platform/Share/SharePlatformModel.js +4 -27
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
- package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +5 -791
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -105
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export = PaymentPlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
3
|
+
* @typedef PaymentGatewayConfigResponse
|
|
4
4
|
* @property {Object[]} [aggregators] - List of all config specific to the
|
|
5
5
|
* aggregator with their Details.
|
|
6
6
|
* @property {string} app_id - Application Id to which Payment config Mapped
|
|
@@ -25,7 +25,7 @@ export = PaymentPlatformModel;
|
|
|
25
25
|
* payment aggregator for the merchant.
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
|
-
* @typedef
|
|
28
|
+
* @typedef PaymentGatewayConfigRequest
|
|
29
29
|
* @property {string} app_id - Application Id to which Payment config Mapped
|
|
30
30
|
* @property {boolean} [is_active] - Enable or Disable Flag
|
|
31
31
|
* @property {PaymentGatewayConfig} [aggregator_name]
|
|
@@ -41,7 +41,7 @@ export = PaymentPlatformModel;
|
|
|
41
41
|
* @property {string} code - Error descrption code.
|
|
42
42
|
*/
|
|
43
43
|
/**
|
|
44
|
-
* @typedef
|
|
44
|
+
* @typedef HttpErrorCodeAndResponse
|
|
45
45
|
* @property {ErrorCodeAndDescription} error
|
|
46
46
|
* @property {boolean} success - Response is successful or not
|
|
47
47
|
*/
|
|
@@ -53,10 +53,10 @@ export = PaymentPlatformModel;
|
|
|
53
53
|
/**
|
|
54
54
|
* @typedef ProductCODData
|
|
55
55
|
* @property {Object} [items] - Item id with its cod availability.
|
|
56
|
-
* @property {
|
|
56
|
+
* @property {CODChargesLimitsResponse} [cod_charges]
|
|
57
57
|
*/
|
|
58
58
|
/**
|
|
59
|
-
* @typedef
|
|
59
|
+
* @typedef CODChargesLimitsResponse
|
|
60
60
|
* @property {number} [max_cart_value] - Max allowed cart value for cod order.
|
|
61
61
|
* @property {number} [min_cart_value] - Min allowed cart value for cod order.
|
|
62
62
|
* @property {number} [cod_charge] - Cod charges to be applied on order.
|
|
@@ -198,14 +198,14 @@ export = PaymentPlatformModel;
|
|
|
198
198
|
* @property {AdvanceObject} [advance]
|
|
199
199
|
*/
|
|
200
200
|
/**
|
|
201
|
-
* @typedef
|
|
201
|
+
* @typedef PaymentModeRouteResponse
|
|
202
202
|
* @property {PaymentOptionAndFlow} payment_options
|
|
203
203
|
* @property {boolean} success - Response is successful or not
|
|
204
204
|
* @property {Object} [payment_breakup] - Payment Breakup for advance payment
|
|
205
205
|
* @property {AdvancePaymentObject[]} [advance_payment] - Advance Payment Array
|
|
206
206
|
*/
|
|
207
207
|
/**
|
|
208
|
-
* @typedef
|
|
208
|
+
* @typedef PaymentOptionsResponse
|
|
209
209
|
* @property {PaymentOptions} payment_options
|
|
210
210
|
* @property {boolean} success - Response is successful or not
|
|
211
211
|
* @property {Object} [payment_breakup] - Payment Breakup for advance payment
|
|
@@ -247,7 +247,7 @@ export = PaymentPlatformModel;
|
|
|
247
247
|
* @property {string} transfer_type - Transafer type
|
|
248
248
|
*/
|
|
249
249
|
/**
|
|
250
|
-
* @typedef
|
|
250
|
+
* @typedef PayoutsResponse
|
|
251
251
|
* @property {boolean} success - Response is successful or not
|
|
252
252
|
* @property {Payout[]} items - Contains list of PayoutSchema
|
|
253
253
|
*/
|
|
@@ -265,7 +265,7 @@ export = PaymentPlatformModel;
|
|
|
265
265
|
* @property {number} [pincode]
|
|
266
266
|
*/
|
|
267
267
|
/**
|
|
268
|
-
* @typedef
|
|
268
|
+
* @typedef PayoutRequest
|
|
269
269
|
* @property {string} aggregator - Aggregator Name
|
|
270
270
|
* @property {Object} users - Payout users object
|
|
271
271
|
* @property {string} unique_external_id - Unique Id of Payout
|
|
@@ -274,7 +274,7 @@ export = PaymentPlatformModel;
|
|
|
274
274
|
* @property {string} transfer_type - Transafer type
|
|
275
275
|
*/
|
|
276
276
|
/**
|
|
277
|
-
* @typedef
|
|
277
|
+
* @typedef PayoutResponse
|
|
278
278
|
* @property {string} payment_status - Status of payment
|
|
279
279
|
* @property {Object} users - Users details object
|
|
280
280
|
* @property {string} aggregator - Aggregator Name
|
|
@@ -287,47 +287,47 @@ export = PaymentPlatformModel;
|
|
|
287
287
|
* @property {Object} payouts - Payout object
|
|
288
288
|
*/
|
|
289
289
|
/**
|
|
290
|
-
* @typedef
|
|
290
|
+
* @typedef UpdatePayoutResponse
|
|
291
291
|
* @property {boolean} is_default - Enable or Disable Default Payout
|
|
292
292
|
* @property {boolean} is_active - Enable or DIsable Flag Payout
|
|
293
293
|
* @property {boolean} success - Response is successful or not
|
|
294
294
|
*/
|
|
295
295
|
/**
|
|
296
|
-
* @typedef
|
|
296
|
+
* @typedef UpdatePayoutRequest
|
|
297
297
|
* @property {boolean} is_default - Enable or Disable Default Payout
|
|
298
298
|
* @property {boolean} is_active - Enable or Disable Flag Payout
|
|
299
299
|
* @property {string} unique_external_id - Unique Id of Payout
|
|
300
300
|
*/
|
|
301
301
|
/**
|
|
302
|
-
* @typedef
|
|
302
|
+
* @typedef DeletePayoutResponse
|
|
303
303
|
* @property {boolean} success - Response is successful or not
|
|
304
304
|
*/
|
|
305
305
|
/**
|
|
306
|
-
* @typedef
|
|
306
|
+
* @typedef SubscriptionPaymentMethodResponse
|
|
307
307
|
* @property {Object[]} data - Subscription Payment Method Object
|
|
308
308
|
* @property {boolean} success - Response is successful or not
|
|
309
309
|
*/
|
|
310
310
|
/**
|
|
311
|
-
* @typedef
|
|
311
|
+
* @typedef DeleteSubscriptionPaymentMethodResponse
|
|
312
312
|
* @property {boolean} success - Success or failure.
|
|
313
313
|
*/
|
|
314
314
|
/**
|
|
315
|
-
* @typedef
|
|
315
|
+
* @typedef SubscriptionConfigResponse
|
|
316
316
|
* @property {string} aggregator - Aggregator Name
|
|
317
317
|
* @property {Object} config - Aggregator Config
|
|
318
318
|
* @property {boolean} success - Response is successful or not
|
|
319
319
|
*/
|
|
320
320
|
/**
|
|
321
|
-
* @typedef
|
|
321
|
+
* @typedef SaveSubscriptionSetupIntentRequest
|
|
322
322
|
* @property {string} unique_external_id - Unique id i.e company:id
|
|
323
323
|
*/
|
|
324
324
|
/**
|
|
325
|
-
* @typedef
|
|
325
|
+
* @typedef SaveSubscriptionSetupIntentResponse
|
|
326
326
|
* @property {Object} data - Subscription Payment Method Object
|
|
327
327
|
* @property {boolean} success - Response is successful or not
|
|
328
328
|
*/
|
|
329
329
|
/**
|
|
330
|
-
* @typedef
|
|
330
|
+
* @typedef RefundAccountResponse
|
|
331
331
|
* @property {boolean} [is_verified_flag] - Account is verified or not
|
|
332
332
|
* @property {string} [message] - Response message
|
|
333
333
|
* @property {Object} data - Refund account data.
|
|
@@ -348,12 +348,12 @@ export = PaymentPlatformModel;
|
|
|
348
348
|
* @property {string} account_holder - Accountg holder name of account
|
|
349
349
|
*/
|
|
350
350
|
/**
|
|
351
|
-
* @typedef
|
|
351
|
+
* @typedef AddBeneficiaryDetailsOTPRequest
|
|
352
352
|
* @property {string} order_id - Order_id for which account will be added
|
|
353
353
|
* @property {BankDetailsForOTP} details
|
|
354
354
|
*/
|
|
355
355
|
/**
|
|
356
|
-
* @typedef
|
|
356
|
+
* @typedef IfscCodeResponse
|
|
357
357
|
* @property {string} branch_name - Branch Name Of Account
|
|
358
358
|
* @property {boolean} [success] - Response is successful or not
|
|
359
359
|
* @property {string} bank_name - Bank Name Of Account
|
|
@@ -381,7 +381,7 @@ export = PaymentPlatformModel;
|
|
|
381
381
|
* @property {string} [mobile] - MObile no of User
|
|
382
382
|
*/
|
|
383
383
|
/**
|
|
384
|
-
* @typedef
|
|
384
|
+
* @typedef OrderBeneficiaryResponse
|
|
385
385
|
* @property {OrderBeneficiaryDetails[]} [beneficiaries] - All Beneficiaries Of An Order
|
|
386
386
|
* @property {boolean} [show_beneficiary_details] - Show beneficiary details or not.
|
|
387
387
|
*/
|
|
@@ -407,12 +407,12 @@ export = PaymentPlatformModel;
|
|
|
407
407
|
* @property {string} mode - Payment mode short code
|
|
408
408
|
*/
|
|
409
409
|
/**
|
|
410
|
-
* @typedef
|
|
410
|
+
* @typedef PaymentConfirmationRequest
|
|
411
411
|
* @property {string} order_id - Unique order id
|
|
412
412
|
* @property {MultiTenderPaymentMethod[]} payment_methods
|
|
413
413
|
*/
|
|
414
414
|
/**
|
|
415
|
-
* @typedef
|
|
415
|
+
* @typedef PaymentConfirmationResponse
|
|
416
416
|
* @property {string} order_id - Unique order id
|
|
417
417
|
* @property {string} message - Message
|
|
418
418
|
* @property {boolean} success - Payment confirmation updated or not.
|
|
@@ -440,26 +440,26 @@ export = PaymentPlatformModel;
|
|
|
440
440
|
* @property {CODLimitConfig} limit
|
|
441
441
|
*/
|
|
442
442
|
/**
|
|
443
|
-
* @typedef
|
|
443
|
+
* @typedef GetUserBULimitResponse
|
|
444
444
|
* @property {string} business_unit - COD limit business unit
|
|
445
445
|
* @property {string} display_name - Display name for cod limit
|
|
446
446
|
* @property {CODPaymentLimitConfig} config
|
|
447
447
|
*/
|
|
448
448
|
/**
|
|
449
|
-
* @typedef
|
|
450
|
-
* @property {
|
|
449
|
+
* @typedef GetUserCODLimitResponse
|
|
450
|
+
* @property {GetUserBULimitResponse[]} items
|
|
451
451
|
* @property {boolean} success - Response is successful or not
|
|
452
452
|
* @property {string} [message] - Message for cod limit
|
|
453
453
|
*/
|
|
454
454
|
/**
|
|
455
|
-
* @typedef
|
|
455
|
+
* @typedef SetCODForUserRequest
|
|
456
456
|
* @property {string} [business_unit] - Business unit
|
|
457
457
|
* @property {string} mobileno - Mobile No. of User
|
|
458
458
|
* @property {boolean} is_active - Either true or false
|
|
459
459
|
* @property {string} merchant_user_id - Merchant User id
|
|
460
460
|
*/
|
|
461
461
|
/**
|
|
462
|
-
* @typedef
|
|
462
|
+
* @typedef SetCODOptionResponse
|
|
463
463
|
* @property {string} message - Message
|
|
464
464
|
* @property {boolean} success - Response is successful or not
|
|
465
465
|
*/
|
|
@@ -470,7 +470,7 @@ export = PaymentPlatformModel;
|
|
|
470
470
|
* @property {string[]} models - List of string of edc models
|
|
471
471
|
*/
|
|
472
472
|
/**
|
|
473
|
-
* @typedef
|
|
473
|
+
* @typedef EdcAggregatorAndModelListResponse
|
|
474
474
|
* @property {EdcModelData[]} data - List of aggregators and their edc models
|
|
475
475
|
* @property {boolean} success - Response is successful or not
|
|
476
476
|
*/
|
|
@@ -480,12 +480,12 @@ export = PaymentPlatformModel;
|
|
|
480
480
|
* @property {number} active_device_count - No of active devices
|
|
481
481
|
*/
|
|
482
482
|
/**
|
|
483
|
-
* @typedef
|
|
483
|
+
* @typedef EdcDeviceStatsResponse
|
|
484
484
|
* @property {StatisticsData} statistics
|
|
485
485
|
* @property {boolean} success - Response is successful or not
|
|
486
486
|
*/
|
|
487
487
|
/**
|
|
488
|
-
* @typedef
|
|
488
|
+
* @typedef EdcAddRequest
|
|
489
489
|
* @property {string} edc_model - Model of the edc machine
|
|
490
490
|
* @property {number} store_id - Store at which devices is to used
|
|
491
491
|
* @property {number} aggregator_id - Aggregator which will accept payment
|
|
@@ -510,17 +510,17 @@ export = PaymentPlatformModel;
|
|
|
510
510
|
* @property {string} application_id - Application ID
|
|
511
511
|
*/
|
|
512
512
|
/**
|
|
513
|
-
* @typedef
|
|
513
|
+
* @typedef EdcDeviceAddResponse
|
|
514
514
|
* @property {EdcDevice} data
|
|
515
515
|
* @property {boolean} success - Response is successful or not
|
|
516
516
|
*/
|
|
517
517
|
/**
|
|
518
|
-
* @typedef
|
|
518
|
+
* @typedef EdcDeviceDetailsResponse
|
|
519
519
|
* @property {EdcDevice} data
|
|
520
520
|
* @property {boolean} success - Response is successful or not
|
|
521
521
|
*/
|
|
522
522
|
/**
|
|
523
|
-
* @typedef
|
|
523
|
+
* @typedef EdcUpdateRequest
|
|
524
524
|
* @property {string} [edc_model] - Model of the edc machine
|
|
525
525
|
* @property {number} [store_id] - Store at which devices is to used
|
|
526
526
|
* @property {number} [aggregator_id] - Aggregator which will accept payment
|
|
@@ -530,7 +530,7 @@ export = PaymentPlatformModel;
|
|
|
530
530
|
* @property {string} [device_tag] - Device tag of edc device to identify it
|
|
531
531
|
*/
|
|
532
532
|
/**
|
|
533
|
-
* @typedef
|
|
533
|
+
* @typedef EdcDeviceUpdateResponse
|
|
534
534
|
* @property {boolean} success - Response is successful or not
|
|
535
535
|
*/
|
|
536
536
|
/**
|
|
@@ -544,14 +544,14 @@ export = PaymentPlatformModel;
|
|
|
544
544
|
* @property {number} [size] - The number of items per page.
|
|
545
545
|
*/
|
|
546
546
|
/**
|
|
547
|
-
* @typedef
|
|
547
|
+
* @typedef EdcDeviceListResponse
|
|
548
548
|
* @property {EdcDevice[]} items - List of all edc mapped to the application
|
|
549
549
|
* options with their Details.
|
|
550
550
|
* @property {Page} page
|
|
551
551
|
* @property {boolean} success - Response is successful or not
|
|
552
552
|
*/
|
|
553
553
|
/**
|
|
554
|
-
* @typedef
|
|
554
|
+
* @typedef PaymentInitializationRequest
|
|
555
555
|
* @property {string} [razorpay_payment_id] - Payment gateway payment id
|
|
556
556
|
* @property {string} [device_id] - EDC machine Unique Identifier
|
|
557
557
|
* @property {string} email - Customer valid email
|
|
@@ -567,7 +567,7 @@ export = PaymentPlatformModel;
|
|
|
567
567
|
* @property {string} method - Payment method
|
|
568
568
|
*/
|
|
569
569
|
/**
|
|
570
|
-
* @typedef
|
|
570
|
+
* @typedef PaymentInitializationResponse
|
|
571
571
|
* @property {string} [razorpay_payment_id] - Payment id.
|
|
572
572
|
* @property {string} [device_id] - EDC machine Unique Identifier
|
|
573
573
|
* @property {string} [upi_poll_url] - UPI poll url.
|
|
@@ -587,7 +587,7 @@ export = PaymentPlatformModel;
|
|
|
587
587
|
* @property {string} method - Payment method
|
|
588
588
|
*/
|
|
589
589
|
/**
|
|
590
|
-
* @typedef
|
|
590
|
+
* @typedef PaymentStatusUpdateRequest
|
|
591
591
|
* @property {string} [device_id] - EDC machine Unique Identifier
|
|
592
592
|
* @property {string} email - Customer valid email
|
|
593
593
|
* @property {string} customer_id - Payment gateway customer id.
|
|
@@ -603,7 +603,7 @@ export = PaymentPlatformModel;
|
|
|
603
603
|
* @property {string} merchant_transaction_id - Unique fynd transaction id
|
|
604
604
|
*/
|
|
605
605
|
/**
|
|
606
|
-
* @typedef
|
|
606
|
+
* @typedef PaymentStatusUpdateResponse
|
|
607
607
|
* @property {string} [redirect_url] - Redirect url
|
|
608
608
|
* @property {boolean} retry - Response is successful or not.
|
|
609
609
|
* @property {boolean} [success] - Response is successful or not
|
|
@@ -611,7 +611,7 @@ export = PaymentPlatformModel;
|
|
|
611
611
|
* @property {string} aggregator_name - Payment gateway name
|
|
612
612
|
*/
|
|
613
613
|
/**
|
|
614
|
-
* @typedef
|
|
614
|
+
* @typedef ResendOrCancelPaymentRequest
|
|
615
615
|
* @property {string} order_id - Unique order id
|
|
616
616
|
* @property {string} [device_id] - EDC machine Unique Identifier
|
|
617
617
|
* @property {string} request_type - Either resend or cancel
|
|
@@ -624,16 +624,16 @@ export = PaymentPlatformModel;
|
|
|
624
624
|
* status of payment link.
|
|
625
625
|
*/
|
|
626
626
|
/**
|
|
627
|
-
* @typedef
|
|
627
|
+
* @typedef ResendOrCancelPaymentResponse
|
|
628
628
|
* @property {LinkStatus} data
|
|
629
629
|
* @property {boolean} success - Response is successful or not.
|
|
630
630
|
*/
|
|
631
631
|
/**
|
|
632
|
-
* @typedef
|
|
632
|
+
* @typedef PaymentStatusBulkHandlerRequest
|
|
633
633
|
* @property {string[]} merchant_order_id - List of order ids
|
|
634
634
|
*/
|
|
635
635
|
/**
|
|
636
|
-
* @typedef
|
|
636
|
+
* @typedef PaymentObjectListSerializer
|
|
637
637
|
* @property {Object} user_object
|
|
638
638
|
* @property {string} modified_on
|
|
639
639
|
* @property {string} collected_by
|
|
@@ -656,10 +656,10 @@ export = PaymentPlatformModel;
|
|
|
656
656
|
/**
|
|
657
657
|
* @typedef PaymentStatusObject
|
|
658
658
|
* @property {string} merchant_order_id
|
|
659
|
-
* @property {
|
|
659
|
+
* @property {PaymentObjectListSerializer[]} [payment_object_list]
|
|
660
660
|
*/
|
|
661
661
|
/**
|
|
662
|
-
* @typedef
|
|
662
|
+
* @typedef PaymentStatusBulkHandlerResponse
|
|
663
663
|
* @property {number} [count]
|
|
664
664
|
* @property {PaymentStatusObject[]} [data]
|
|
665
665
|
* @property {string} success
|
|
@@ -667,7 +667,7 @@ export = PaymentPlatformModel;
|
|
|
667
667
|
* @property {number} status
|
|
668
668
|
*/
|
|
669
669
|
/**
|
|
670
|
-
* @typedef
|
|
670
|
+
* @typedef GetOauthUrlResponse
|
|
671
671
|
* @property {string} url - The url to call for authenticating
|
|
672
672
|
* @property {boolean} success - Response is successful or not
|
|
673
673
|
*/
|
|
@@ -698,12 +698,12 @@ export = PaymentPlatformModel;
|
|
|
698
698
|
* @property {RepaymentRequestDetails[]} [shipment_details]
|
|
699
699
|
*/
|
|
700
700
|
/**
|
|
701
|
-
* @typedef
|
|
701
|
+
* @typedef RepaymentResponse
|
|
702
702
|
* @property {Object} data
|
|
703
703
|
* @property {boolean} success - Success/Failure of the transaction
|
|
704
704
|
*/
|
|
705
705
|
/**
|
|
706
|
-
* @typedef
|
|
706
|
+
* @typedef MerchantOnBoardingRequest
|
|
707
707
|
* @property {string} credit_line_id - Merchant ID at Ajiodhan's end
|
|
708
708
|
* @property {string} aggregator - Payment aggregator name
|
|
709
709
|
* @property {string} app_id - Application id
|
|
@@ -711,12 +711,12 @@ export = PaymentPlatformModel;
|
|
|
711
711
|
* @property {string} status - Status
|
|
712
712
|
*/
|
|
713
713
|
/**
|
|
714
|
-
* @typedef
|
|
714
|
+
* @typedef MerchantOnBoardingResponse
|
|
715
715
|
* @property {Object} data
|
|
716
716
|
* @property {boolean} success - Success/Failure of the transaction
|
|
717
717
|
*/
|
|
718
718
|
/**
|
|
719
|
-
* @typedef
|
|
719
|
+
* @typedef ValidateCustomerRequest
|
|
720
720
|
* @property {string} phone_number - User mobile number without country code.
|
|
721
721
|
* @property {string} aggregator - Payment gateway name in camel case i.e Simpl, Rupifi
|
|
722
722
|
* @property {string} [payload] - Hashed payload string.
|
|
@@ -727,13 +727,13 @@ export = PaymentPlatformModel;
|
|
|
727
727
|
* @property {Object} [billing_address] - Extra meta fields.
|
|
728
728
|
*/
|
|
729
729
|
/**
|
|
730
|
-
* @typedef
|
|
730
|
+
* @typedef ValidateCustomerResponse
|
|
731
731
|
* @property {string} message - Error or success message.
|
|
732
732
|
* @property {Object} [data] - Payment gateway response data
|
|
733
733
|
* @property {boolean} success - Response is successful or not
|
|
734
734
|
*/
|
|
735
735
|
/**
|
|
736
|
-
* @typedef
|
|
736
|
+
* @typedef GetPaymentLinkResponse
|
|
737
737
|
* @property {string} message - Message
|
|
738
738
|
* @property {number} status_code - HTTP status code
|
|
739
739
|
* @property {number} [amount] - Total value of order
|
|
@@ -757,7 +757,7 @@ export = PaymentPlatformModel;
|
|
|
757
757
|
* @property {boolean} [cancelled] - Payment link is cancelled or not
|
|
758
758
|
*/
|
|
759
759
|
/**
|
|
760
|
-
* @typedef
|
|
760
|
+
* @typedef ErrorResponse
|
|
761
761
|
* @property {number} status_code - HTTP status code
|
|
762
762
|
* @property {ErrorDescription} [error]
|
|
763
763
|
* @property {string} message - Message
|
|
@@ -772,7 +772,7 @@ export = PaymentPlatformModel;
|
|
|
772
772
|
* to be done via payment link
|
|
773
773
|
*/
|
|
774
774
|
/**
|
|
775
|
-
* @typedef
|
|
775
|
+
* @typedef CreatePaymentLinkRequest
|
|
776
776
|
* @property {string} email - Email to which the payment link is to be sent
|
|
777
777
|
* @property {number} amount - Total value of order
|
|
778
778
|
* @property {string} mobile_number - Mobile number to which the payment link is
|
|
@@ -781,13 +781,9 @@ export = PaymentPlatformModel;
|
|
|
781
781
|
* @property {string} [description] - Merchant order id
|
|
782
782
|
* @property {CreatePaymentLinkMeta} meta
|
|
783
783
|
* @property {string} external_order_id - Merchant order id
|
|
784
|
-
* @property {string} [success_redirection_url] - URL to which the user will be
|
|
785
|
-
* redirected after a successful payment.
|
|
786
|
-
* @property {string} [failure_redirection_url] - URL to which the user will be
|
|
787
|
-
* redirected if the payment fails.
|
|
788
784
|
*/
|
|
789
785
|
/**
|
|
790
|
-
* @typedef
|
|
786
|
+
* @typedef CreatePaymentLinkResponse
|
|
791
787
|
* @property {string} message - Message
|
|
792
788
|
* @property {number} status_code - HTTP status code
|
|
793
789
|
* @property {string} [payment_link_url] - Url of payment link
|
|
@@ -796,7 +792,7 @@ export = PaymentPlatformModel;
|
|
|
796
792
|
* @property {string} [payment_link_id] - Unique id of payment link
|
|
797
793
|
*/
|
|
798
794
|
/**
|
|
799
|
-
* @typedef
|
|
795
|
+
* @typedef PollingPaymentLinkResponse
|
|
800
796
|
* @property {string} [message] - Message
|
|
801
797
|
* @property {number} [http_status] - HTTP status code
|
|
802
798
|
* @property {number} [status_code] - HTTP status code
|
|
@@ -809,18 +805,18 @@ export = PaymentPlatformModel;
|
|
|
809
805
|
* @property {string} [aggregator_name] - Aggregator name
|
|
810
806
|
*/
|
|
811
807
|
/**
|
|
812
|
-
* @typedef
|
|
808
|
+
* @typedef CancelOrResendPaymentLinkRequest
|
|
813
809
|
* @property {string} payment_link_id - Unique id of payment link
|
|
814
810
|
*/
|
|
815
811
|
/**
|
|
816
|
-
* @typedef
|
|
812
|
+
* @typedef ResendPaymentLinkResponse
|
|
817
813
|
* @property {number} status_code - HTTP status code
|
|
818
814
|
* @property {string} message - Message
|
|
819
815
|
* @property {number} [polling_timeout] - Polling request timeout
|
|
820
816
|
* @property {boolean} success - Successful or failure
|
|
821
817
|
*/
|
|
822
818
|
/**
|
|
823
|
-
* @typedef
|
|
819
|
+
* @typedef CancelPaymentLinkResponse
|
|
824
820
|
* @property {number} status_code - HTTP status code
|
|
825
821
|
* @property {string} message - Message
|
|
826
822
|
* @property {boolean} success - Successful or failure
|
|
@@ -843,18 +839,18 @@ export = PaymentPlatformModel;
|
|
|
843
839
|
* @property {PaymentCode} method_code
|
|
844
840
|
*/
|
|
845
841
|
/**
|
|
846
|
-
* @typedef
|
|
842
|
+
* @typedef GetPaymentCodeResponse
|
|
847
843
|
* @property {GetPaymentCode} data
|
|
848
844
|
* @property {boolean} success - Response is successful or not.
|
|
849
845
|
*/
|
|
850
846
|
/**
|
|
851
|
-
* @typedef
|
|
847
|
+
* @typedef PlatformPaymentModeResponse
|
|
852
848
|
* @property {string} [message] - Message
|
|
853
849
|
* @property {Object[]} [items] - List of all aggregator and payment mode details.
|
|
854
850
|
* @property {boolean} success - Response is successful or not.
|
|
855
851
|
*/
|
|
856
852
|
/**
|
|
857
|
-
* @typedef
|
|
853
|
+
* @typedef MerchnatPaymentModeRequest
|
|
858
854
|
* @property {Object} [offline] - Details to be updated for online payment configuration.
|
|
859
855
|
* @property {Object} [online] - Details to be updated for offline payment configuration.
|
|
860
856
|
*/
|
|
@@ -931,7 +927,7 @@ export = PaymentPlatformModel;
|
|
|
931
927
|
* @property {string} status - Status of the payment
|
|
932
928
|
*/
|
|
933
929
|
/**
|
|
934
|
-
* @typedef
|
|
930
|
+
* @typedef PaymentSessionRequestSerializer
|
|
935
931
|
* @property {Object} [meta] - Extra meta data specific to extensions
|
|
936
932
|
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
937
933
|
* etc.) against which payment_session was initiated. This is generated by
|
|
@@ -946,7 +942,7 @@ export = PaymentPlatformModel;
|
|
|
946
942
|
* @property {string} [source] - Source of payment update session
|
|
947
943
|
*/
|
|
948
944
|
/**
|
|
949
|
-
* @typedef
|
|
945
|
+
* @typedef PaymentSessionResponseSerializer
|
|
950
946
|
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
951
947
|
* etc.) against which payment_session was initiated. This is generated by
|
|
952
948
|
* Fynd payments platform and is unique.
|
|
@@ -975,7 +971,7 @@ export = PaymentPlatformModel;
|
|
|
975
971
|
* @property {string} [balance_transaction] - Balance transaction.
|
|
976
972
|
*/
|
|
977
973
|
/**
|
|
978
|
-
* @typedef
|
|
974
|
+
* @typedef RefundSessionRequestSerializer
|
|
979
975
|
* @property {Object} [meta] - Meta
|
|
980
976
|
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
981
977
|
* etc.) against which payment_session was initiated. This is generated by
|
|
@@ -990,7 +986,7 @@ export = PaymentPlatformModel;
|
|
|
990
986
|
* @property {string} checksum - Checksum to verify payload
|
|
991
987
|
*/
|
|
992
988
|
/**
|
|
993
|
-
* @typedef
|
|
989
|
+
* @typedef RefundSessionResponseSerializer
|
|
994
990
|
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
995
991
|
* etc.) against which payment_session was initiated. This is generated by
|
|
996
992
|
* Fynd payments platform and is unique.
|
|
@@ -1000,7 +996,7 @@ export = PaymentPlatformModel;
|
|
|
1000
996
|
* @property {number} total_refund_amount - The total amount refunded.
|
|
1001
997
|
*/
|
|
1002
998
|
/**
|
|
1003
|
-
* @typedef
|
|
999
|
+
* @typedef PaymentDetailsSerializer
|
|
1004
1000
|
* @property {Object[]} payment_methods - List of payment methods
|
|
1005
1001
|
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
1006
1002
|
* etc.) against which payment_session was initiated. This is generated by
|
|
@@ -1035,7 +1031,7 @@ export = PaymentPlatformModel;
|
|
|
1035
1031
|
* id generated by payment gateway
|
|
1036
1032
|
*/
|
|
1037
1033
|
/**
|
|
1038
|
-
* @typedef
|
|
1034
|
+
* @typedef CartDetailsSerializer
|
|
1039
1035
|
* @property {Object} items - Items that are added in cart
|
|
1040
1036
|
* @property {Object[]} articles - List of articles that are added in cart
|
|
1041
1037
|
* @property {number} cart_value - Total cart value i.e. amount to be paid
|
|
@@ -1044,7 +1040,7 @@ export = PaymentPlatformModel;
|
|
|
1044
1040
|
* retrieve custom data fields to cart items.
|
|
1045
1041
|
*/
|
|
1046
1042
|
/**
|
|
1047
|
-
* @typedef
|
|
1043
|
+
* @typedef RefundDetailsSerializer
|
|
1048
1044
|
* @property {number} amount - Refunded amount
|
|
1049
1045
|
* @property {string} currency - The currency of the payment.
|
|
1050
1046
|
* @property {string} request_id - Refund request id, unique id generated by Fynd platform
|
|
@@ -1053,7 +1049,7 @@ export = PaymentPlatformModel;
|
|
|
1053
1049
|
* @property {string} refund_utr - Unique refund utr generated by payment gateway.
|
|
1054
1050
|
*/
|
|
1055
1051
|
/**
|
|
1056
|
-
* @typedef
|
|
1052
|
+
* @typedef PaymentSessionSerializer
|
|
1057
1053
|
* @property {Object} payment_details - Object of payment details
|
|
1058
1054
|
* @property {string} [currency] - The currency of the payment.
|
|
1059
1055
|
* @property {string} status - The status of the payment session.
|
|
@@ -1061,8 +1057,8 @@ export = PaymentPlatformModel;
|
|
|
1061
1057
|
* @property {string} gid - Global identifier of the entity (e.g. order, cart
|
|
1062
1058
|
* etc.) against which payment_session was initiated. This is generated by
|
|
1063
1059
|
* Fynd payments platform and is unique.
|
|
1064
|
-
* @property {
|
|
1065
|
-
* @property {
|
|
1060
|
+
* @property {CartDetailsSerializer} [cart_details]
|
|
1061
|
+
* @property {RefundDetailsSerializer[]} refund_details - Object of refund details
|
|
1066
1062
|
*/
|
|
1067
1063
|
/**
|
|
1068
1064
|
* @typedef RefundSourcesPriority
|
|
@@ -1071,7 +1067,7 @@ export = PaymentPlatformModel;
|
|
|
1071
1067
|
* @property {string} source - Source of refund
|
|
1072
1068
|
*/
|
|
1073
1069
|
/**
|
|
1074
|
-
* @typedef
|
|
1070
|
+
* @typedef RefundPriorityResponseSerializer
|
|
1075
1071
|
* @property {string} configuration - Configuration for merchant or customer
|
|
1076
1072
|
* @property {boolean} success - Success
|
|
1077
1073
|
* @property {boolean} apportion - Apportion refund to multiple sources
|
|
@@ -1079,12 +1075,12 @@ export = PaymentPlatformModel;
|
|
|
1079
1075
|
* @property {string} [message] - Message
|
|
1080
1076
|
*/
|
|
1081
1077
|
/**
|
|
1082
|
-
* @typedef
|
|
1078
|
+
* @typedef RefundPriorityRequestSerializer
|
|
1083
1079
|
* @property {boolean} apportion - Apportion refund to multiple sources
|
|
1084
1080
|
* @property {RefundSourcesPriority[]} refund_sources_priority - Refund sources priority
|
|
1085
1081
|
*/
|
|
1086
1082
|
/**
|
|
1087
|
-
* @typedef
|
|
1083
|
+
* @typedef MerchantPaymentModeRequest
|
|
1088
1084
|
* @property {string} business_unit - Business unit
|
|
1089
1085
|
* @property {Object[]} items - List of item details with respect to payment_mode
|
|
1090
1086
|
* @property {Object} device - List of devices and its activation status
|
|
@@ -1100,7 +1096,7 @@ export = PaymentPlatformModel;
|
|
|
1100
1096
|
* @property {string} business_unit - Business unit name
|
|
1101
1097
|
*/
|
|
1102
1098
|
/**
|
|
1103
|
-
* @typedef
|
|
1099
|
+
* @typedef PlatformPaymentModeCopyConfigRequest
|
|
1104
1100
|
* @property {FromConfig} from_config
|
|
1105
1101
|
* @property {ToConfig} to_config
|
|
1106
1102
|
*/
|
|
@@ -1119,7 +1115,7 @@ export = PaymentPlatformModel;
|
|
|
1119
1115
|
* @property {string} name - Payment mode name
|
|
1120
1116
|
*/
|
|
1121
1117
|
/**
|
|
1122
|
-
* @typedef
|
|
1118
|
+
* @typedef PaymentOrderRequest
|
|
1123
1119
|
* @property {string} order_id - Order id
|
|
1124
1120
|
* @property {PaymentOrderMethods[]} [payment_methods]
|
|
1125
1121
|
* @property {string} [shipment_id] - Shipment_id
|
|
@@ -1138,7 +1134,7 @@ export = PaymentPlatformModel;
|
|
|
1138
1134
|
* @property {string} [merchant_order_id] - Merchant order id
|
|
1139
1135
|
*/
|
|
1140
1136
|
/**
|
|
1141
|
-
* @typedef
|
|
1137
|
+
* @typedef PaymentOrderResponse
|
|
1142
1138
|
* @property {string} message - Message
|
|
1143
1139
|
* @property {boolean} success - Successful or failure
|
|
1144
1140
|
* @property {string} [payment_confirm_url] - Payment confirm url for aggregator
|
|
@@ -1154,7 +1150,7 @@ export = PaymentPlatformModel;
|
|
|
1154
1150
|
* @property {string} [is_greater_than]
|
|
1155
1151
|
*/
|
|
1156
1152
|
/**
|
|
1157
|
-
* @typedef
|
|
1153
|
+
* @typedef AggregatorVersionResponse
|
|
1158
1154
|
* @property {string} message - Message
|
|
1159
1155
|
* @property {boolean} success - Successful or failure
|
|
1160
1156
|
* @property {AggregatorVersionItemSchema} [items]
|
|
@@ -1166,7 +1162,7 @@ export = PaymentPlatformModel;
|
|
|
1166
1162
|
* @property {string} [is_greater_than]
|
|
1167
1163
|
*/
|
|
1168
1164
|
/**
|
|
1169
|
-
* @typedef
|
|
1165
|
+
* @typedef AggregatorControlRequest
|
|
1170
1166
|
* @property {string} [business_unit] - Business unit
|
|
1171
1167
|
* @property {Object[]} [items] - List of item details with respect to payment_mode
|
|
1172
1168
|
* @property {string} [device] - Device name
|
|
@@ -1221,11 +1217,11 @@ export = PaymentPlatformModel;
|
|
|
1221
1217
|
declare class PaymentPlatformModel {
|
|
1222
1218
|
}
|
|
1223
1219
|
declare namespace PaymentPlatformModel {
|
|
1224
|
-
export {
|
|
1220
|
+
export { PaymentGatewayConfigResponse, ErrorCodeDescription, PaymentGatewayConfig, PaymentGatewayConfigRequest, PaymentGatewayToBeReviewed, ErrorCodeAndDescription, HttpErrorCodeAndResponse, IntentAppErrorList, ProductCODData, CODChargesLimitsResponse, PaymentModeLogo, IntentApp, PaymentModeList, RootPaymentMode, PaymentOptions, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteResponse, PaymentOptionsResponse, PayoutCustomer, PayoutMoreAttributes, PayoutAggregator, Payout, PayoutsResponse, PayoutBankDetails, PayoutRequest, PayoutResponse, UpdatePayoutResponse, UpdatePayoutRequest, DeletePayoutResponse, SubscriptionPaymentMethodResponse, DeleteSubscriptionPaymentMethodResponse, SubscriptionConfigResponse, SaveSubscriptionSetupIntentRequest, SaveSubscriptionSetupIntentResponse, RefundAccountResponse, NotFoundResourceError, BankDetailsForOTP, AddBeneficiaryDetailsOTPRequest, IfscCodeResponse, OrderBeneficiaryDetails, OrderBeneficiaryResponse, MultiTenderPaymentMeta, MultiTenderPaymentMethod, PaymentConfirmationRequest, PaymentConfirmationResponse, CODdata, CODLimitConfig, CODPaymentLimitConfig, GetUserBULimitResponse, GetUserCODLimitResponse, SetCODForUserRequest, SetCODOptionResponse, EdcModelData, EdcAggregatorAndModelListResponse, StatisticsData, EdcDeviceStatsResponse, EdcAddRequest, EdcDevice, EdcDeviceAddResponse, EdcDeviceDetailsResponse, EdcUpdateRequest, EdcDeviceUpdateResponse, Page, EdcDeviceListResponse, PaymentInitializationRequest, PaymentInitializationResponse, PaymentStatusUpdateRequest, PaymentStatusUpdateResponse, ResendOrCancelPaymentRequest, LinkStatus, ResendOrCancelPaymentResponse, PaymentStatusBulkHandlerRequest, PaymentObjectListSerializer, PaymentStatusObject, PaymentStatusBulkHandlerResponse, GetOauthUrlResponse, RevokeOAuthToken, RepaymentRequestDetails, RepaymentDetailsSerialiserPayAll, RepaymentResponse, MerchantOnBoardingRequest, MerchantOnBoardingResponse, ValidateCustomerRequest, ValidateCustomerResponse, GetPaymentLinkResponse, ErrorDescription, ErrorResponse, CreatePaymentLinkMeta, CreatePaymentLinkRequest, CreatePaymentLinkResponse, PollingPaymentLinkResponse, CancelOrResendPaymentLinkRequest, ResendPaymentLinkResponse, CancelPaymentLinkResponse, Code, PaymentCode, GetPaymentCode, GetPaymentCodeResponse, PlatformPaymentModeResponse, MerchnatPaymentModeRequest, OrderDetail, AddressDetail, PaymentSessionDetail, PaymentSessionRequestSerializer, PaymentSessionResponseSerializer, RefundSessionDetail, RefundSessionRequestSerializer, RefundSessionResponseSerializer, PaymentDetailsSerializer, CartDetailsSerializer, RefundDetailsSerializer, PaymentSessionSerializer, RefundSourcesPriority, RefundPriorityResponseSerializer, RefundPriorityRequestSerializer, MerchantPaymentModeRequest, FromConfig, ToConfig, PlatformPaymentModeCopyConfigRequest, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrderRequest, PaymentOrderData, PaymentOrderResponse, AggregatorVersionItemSchema, AggregatorVersionResponse, AggregatorVersionRequestSchema, AggregatorControlRequest, PaymentModeCustomConfigSchema, PaymentCustomConfigDetailsSchema, PaymentCustomConfigCustomerSchema, PaymentCustomConfigModeSchema, PaymentCustomConfigDetailsRequestSchema, PaymentCustomConfigCustomerRequestSchema, PaymentCustomConfigRequestSchema, PaymentCustomConfigResponseSchema };
|
|
1225
1221
|
}
|
|
1226
|
-
/** @returns {
|
|
1227
|
-
declare function
|
|
1228
|
-
type
|
|
1222
|
+
/** @returns {PaymentGatewayConfigResponse} */
|
|
1223
|
+
declare function PaymentGatewayConfigResponse(): PaymentGatewayConfigResponse;
|
|
1224
|
+
type PaymentGatewayConfigResponse = {
|
|
1229
1225
|
/**
|
|
1230
1226
|
* - List of all config specific to the
|
|
1231
1227
|
* aggregator with their Details.
|
|
@@ -1293,9 +1289,9 @@ type PaymentGatewayConfig = {
|
|
|
1293
1289
|
*/
|
|
1294
1290
|
merchant_salt: string;
|
|
1295
1291
|
};
|
|
1296
|
-
/** @returns {
|
|
1297
|
-
declare function
|
|
1298
|
-
type
|
|
1292
|
+
/** @returns {PaymentGatewayConfigRequest} */
|
|
1293
|
+
declare function PaymentGatewayConfigRequest(): PaymentGatewayConfigRequest;
|
|
1294
|
+
type PaymentGatewayConfigRequest = {
|
|
1299
1295
|
/**
|
|
1300
1296
|
* - Application Id to which Payment config Mapped
|
|
1301
1297
|
*/
|
|
@@ -1330,9 +1326,9 @@ type ErrorCodeAndDescription = {
|
|
|
1330
1326
|
*/
|
|
1331
1327
|
code: string;
|
|
1332
1328
|
};
|
|
1333
|
-
/** @returns {
|
|
1334
|
-
declare function
|
|
1335
|
-
type
|
|
1329
|
+
/** @returns {HttpErrorCodeAndResponse} */
|
|
1330
|
+
declare function HttpErrorCodeAndResponse(): HttpErrorCodeAndResponse;
|
|
1331
|
+
type HttpErrorCodeAndResponse = {
|
|
1336
1332
|
error: ErrorCodeAndDescription;
|
|
1337
1333
|
/**
|
|
1338
1334
|
* - Response is successful or not
|
|
@@ -1358,11 +1354,11 @@ type ProductCODData = {
|
|
|
1358
1354
|
* - Item id with its cod availability.
|
|
1359
1355
|
*/
|
|
1360
1356
|
items?: any;
|
|
1361
|
-
cod_charges?:
|
|
1357
|
+
cod_charges?: CODChargesLimitsResponse;
|
|
1362
1358
|
};
|
|
1363
|
-
/** @returns {
|
|
1364
|
-
declare function
|
|
1365
|
-
type
|
|
1359
|
+
/** @returns {CODChargesLimitsResponse} */
|
|
1360
|
+
declare function CODChargesLimitsResponse(): CODChargesLimitsResponse;
|
|
1361
|
+
type CODChargesLimitsResponse = {
|
|
1366
1362
|
/**
|
|
1367
1363
|
* - Max allowed cart value for cod order.
|
|
1368
1364
|
*/
|
|
@@ -1749,9 +1745,9 @@ type AdvancePaymentObject = {
|
|
|
1749
1745
|
split?: SplitObject;
|
|
1750
1746
|
advance?: AdvanceObject;
|
|
1751
1747
|
};
|
|
1752
|
-
/** @returns {
|
|
1753
|
-
declare function
|
|
1754
|
-
type
|
|
1748
|
+
/** @returns {PaymentModeRouteResponse} */
|
|
1749
|
+
declare function PaymentModeRouteResponse(): PaymentModeRouteResponse;
|
|
1750
|
+
type PaymentModeRouteResponse = {
|
|
1755
1751
|
payment_options: PaymentOptionAndFlow;
|
|
1756
1752
|
/**
|
|
1757
1753
|
* - Response is successful or not
|
|
@@ -1766,9 +1762,9 @@ type PaymentModeRouteDetails = {
|
|
|
1766
1762
|
*/
|
|
1767
1763
|
advance_payment?: AdvancePaymentObject[];
|
|
1768
1764
|
};
|
|
1769
|
-
/** @returns {
|
|
1770
|
-
declare function
|
|
1771
|
-
type
|
|
1765
|
+
/** @returns {PaymentOptionsResponse} */
|
|
1766
|
+
declare function PaymentOptionsResponse(): PaymentOptionsResponse;
|
|
1767
|
+
type PaymentOptionsResponse = {
|
|
1772
1768
|
payment_options: PaymentOptions;
|
|
1773
1769
|
/**
|
|
1774
1770
|
* - Response is successful or not
|
|
@@ -1882,9 +1878,9 @@ type Payout = {
|
|
|
1882
1878
|
*/
|
|
1883
1879
|
transfer_type: string;
|
|
1884
1880
|
};
|
|
1885
|
-
/** @returns {
|
|
1886
|
-
declare function
|
|
1887
|
-
type
|
|
1881
|
+
/** @returns {PayoutsResponse} */
|
|
1882
|
+
declare function PayoutsResponse(): PayoutsResponse;
|
|
1883
|
+
type PayoutsResponse = {
|
|
1888
1884
|
/**
|
|
1889
1885
|
* - Response is successful or not
|
|
1890
1886
|
*/
|
|
@@ -1908,9 +1904,9 @@ type PayoutBankDetails = {
|
|
|
1908
1904
|
branch_name?: string;
|
|
1909
1905
|
pincode?: number;
|
|
1910
1906
|
};
|
|
1911
|
-
/** @returns {
|
|
1912
|
-
declare function
|
|
1913
|
-
type
|
|
1907
|
+
/** @returns {PayoutRequest} */
|
|
1908
|
+
declare function PayoutRequest(): PayoutRequest;
|
|
1909
|
+
type PayoutRequest = {
|
|
1914
1910
|
/**
|
|
1915
1911
|
* - Aggregator Name
|
|
1916
1912
|
*/
|
|
@@ -1933,9 +1929,9 @@ type PayoutCreation = {
|
|
|
1933
1929
|
*/
|
|
1934
1930
|
transfer_type: string;
|
|
1935
1931
|
};
|
|
1936
|
-
/** @returns {
|
|
1937
|
-
declare function
|
|
1938
|
-
type
|
|
1932
|
+
/** @returns {PayoutResponse} */
|
|
1933
|
+
declare function PayoutResponse(): PayoutResponse;
|
|
1934
|
+
type PayoutResponse = {
|
|
1939
1935
|
/**
|
|
1940
1936
|
* - Status of payment
|
|
1941
1937
|
*/
|
|
@@ -1977,9 +1973,9 @@ type PayoutDetails = {
|
|
|
1977
1973
|
*/
|
|
1978
1974
|
payouts: any;
|
|
1979
1975
|
};
|
|
1980
|
-
/** @returns {
|
|
1981
|
-
declare function
|
|
1982
|
-
type
|
|
1976
|
+
/** @returns {UpdatePayoutResponse} */
|
|
1977
|
+
declare function UpdatePayoutResponse(): UpdatePayoutResponse;
|
|
1978
|
+
type UpdatePayoutResponse = {
|
|
1983
1979
|
/**
|
|
1984
1980
|
* - Enable or Disable Default Payout
|
|
1985
1981
|
*/
|
|
@@ -1993,9 +1989,9 @@ type UpdatePayoutDetails = {
|
|
|
1993
1989
|
*/
|
|
1994
1990
|
success: boolean;
|
|
1995
1991
|
};
|
|
1996
|
-
/** @returns {
|
|
1997
|
-
declare function
|
|
1998
|
-
type
|
|
1992
|
+
/** @returns {UpdatePayoutRequest} */
|
|
1993
|
+
declare function UpdatePayoutRequest(): UpdatePayoutRequest;
|
|
1994
|
+
type UpdatePayoutRequest = {
|
|
1999
1995
|
/**
|
|
2000
1996
|
* - Enable or Disable Default Payout
|
|
2001
1997
|
*/
|
|
@@ -2009,17 +2005,17 @@ type UpdatePayoutCreation = {
|
|
|
2009
2005
|
*/
|
|
2010
2006
|
unique_external_id: string;
|
|
2011
2007
|
};
|
|
2012
|
-
/** @returns {
|
|
2013
|
-
declare function
|
|
2014
|
-
type
|
|
2008
|
+
/** @returns {DeletePayoutResponse} */
|
|
2009
|
+
declare function DeletePayoutResponse(): DeletePayoutResponse;
|
|
2010
|
+
type DeletePayoutResponse = {
|
|
2015
2011
|
/**
|
|
2016
2012
|
* - Response is successful or not
|
|
2017
2013
|
*/
|
|
2018
2014
|
success: boolean;
|
|
2019
2015
|
};
|
|
2020
|
-
/** @returns {
|
|
2021
|
-
declare function
|
|
2022
|
-
type
|
|
2016
|
+
/** @returns {SubscriptionPaymentMethodResponse} */
|
|
2017
|
+
declare function SubscriptionPaymentMethodResponse(): SubscriptionPaymentMethodResponse;
|
|
2018
|
+
type SubscriptionPaymentMethodResponse = {
|
|
2023
2019
|
/**
|
|
2024
2020
|
* - Subscription Payment Method Object
|
|
2025
2021
|
*/
|
|
@@ -2029,17 +2025,17 @@ type SubscriptionPaymentMethodDetails = {
|
|
|
2029
2025
|
*/
|
|
2030
2026
|
success: boolean;
|
|
2031
2027
|
};
|
|
2032
|
-
/** @returns {
|
|
2033
|
-
declare function
|
|
2034
|
-
type
|
|
2028
|
+
/** @returns {DeleteSubscriptionPaymentMethodResponse} */
|
|
2029
|
+
declare function DeleteSubscriptionPaymentMethodResponse(): DeleteSubscriptionPaymentMethodResponse;
|
|
2030
|
+
type DeleteSubscriptionPaymentMethodResponse = {
|
|
2035
2031
|
/**
|
|
2036
2032
|
* - Success or failure.
|
|
2037
2033
|
*/
|
|
2038
2034
|
success: boolean;
|
|
2039
2035
|
};
|
|
2040
|
-
/** @returns {
|
|
2041
|
-
declare function
|
|
2042
|
-
type
|
|
2036
|
+
/** @returns {SubscriptionConfigResponse} */
|
|
2037
|
+
declare function SubscriptionConfigResponse(): SubscriptionConfigResponse;
|
|
2038
|
+
type SubscriptionConfigResponse = {
|
|
2043
2039
|
/**
|
|
2044
2040
|
* - Aggregator Name
|
|
2045
2041
|
*/
|
|
@@ -2053,17 +2049,17 @@ type SubscriptionConfigDetails = {
|
|
|
2053
2049
|
*/
|
|
2054
2050
|
success: boolean;
|
|
2055
2051
|
};
|
|
2056
|
-
/** @returns {
|
|
2057
|
-
declare function
|
|
2058
|
-
type
|
|
2052
|
+
/** @returns {SaveSubscriptionSetupIntentRequest} */
|
|
2053
|
+
declare function SaveSubscriptionSetupIntentRequest(): SaveSubscriptionSetupIntentRequest;
|
|
2054
|
+
type SaveSubscriptionSetupIntentRequest = {
|
|
2059
2055
|
/**
|
|
2060
2056
|
* - Unique id i.e company:id
|
|
2061
2057
|
*/
|
|
2062
2058
|
unique_external_id: string;
|
|
2063
2059
|
};
|
|
2064
|
-
/** @returns {
|
|
2065
|
-
declare function
|
|
2066
|
-
type
|
|
2060
|
+
/** @returns {SaveSubscriptionSetupIntentResponse} */
|
|
2061
|
+
declare function SaveSubscriptionSetupIntentResponse(): SaveSubscriptionSetupIntentResponse;
|
|
2062
|
+
type SaveSubscriptionSetupIntentResponse = {
|
|
2067
2063
|
/**
|
|
2068
2064
|
* - Subscription Payment Method Object
|
|
2069
2065
|
*/
|
|
@@ -2073,9 +2069,9 @@ type SaveSubscriptionSetupIntentDetails = {
|
|
|
2073
2069
|
*/
|
|
2074
2070
|
success: boolean;
|
|
2075
2071
|
};
|
|
2076
|
-
/** @returns {
|
|
2077
|
-
declare function
|
|
2078
|
-
type
|
|
2072
|
+
/** @returns {RefundAccountResponse} */
|
|
2073
|
+
declare function RefundAccountResponse(): RefundAccountResponse;
|
|
2074
|
+
type RefundAccountResponse = {
|
|
2079
2075
|
/**
|
|
2080
2076
|
* - Account is verified or not
|
|
2081
2077
|
*/
|
|
@@ -2133,18 +2129,18 @@ type BankDetailsForOTP = {
|
|
|
2133
2129
|
*/
|
|
2134
2130
|
account_holder: string;
|
|
2135
2131
|
};
|
|
2136
|
-
/** @returns {
|
|
2137
|
-
declare function
|
|
2138
|
-
type
|
|
2132
|
+
/** @returns {AddBeneficiaryDetailsOTPRequest} */
|
|
2133
|
+
declare function AddBeneficiaryDetailsOTPRequest(): AddBeneficiaryDetailsOTPRequest;
|
|
2134
|
+
type AddBeneficiaryDetailsOTPRequest = {
|
|
2139
2135
|
/**
|
|
2140
2136
|
* - Order_id for which account will be added
|
|
2141
2137
|
*/
|
|
2142
2138
|
order_id: string;
|
|
2143
2139
|
details: BankDetailsForOTP;
|
|
2144
2140
|
};
|
|
2145
|
-
/** @returns {
|
|
2146
|
-
declare function
|
|
2147
|
-
type
|
|
2141
|
+
/** @returns {IfscCodeResponse} */
|
|
2142
|
+
declare function IfscCodeResponse(): IfscCodeResponse;
|
|
2143
|
+
type IfscCodeResponse = {
|
|
2148
2144
|
/**
|
|
2149
2145
|
* - Branch Name Of Account
|
|
2150
2146
|
*/
|
|
@@ -2238,9 +2234,9 @@ type OrderBeneficiaryDetails = {
|
|
|
2238
2234
|
*/
|
|
2239
2235
|
mobile?: string;
|
|
2240
2236
|
};
|
|
2241
|
-
/** @returns {
|
|
2242
|
-
declare function
|
|
2243
|
-
type
|
|
2237
|
+
/** @returns {OrderBeneficiaryResponse} */
|
|
2238
|
+
declare function OrderBeneficiaryResponse(): OrderBeneficiaryResponse;
|
|
2239
|
+
type OrderBeneficiaryResponse = {
|
|
2244
2240
|
/**
|
|
2245
2241
|
* - All Beneficiaries Of An Order
|
|
2246
2242
|
*/
|
|
@@ -2300,18 +2296,18 @@ type MultiTenderPaymentMethod = {
|
|
|
2300
2296
|
*/
|
|
2301
2297
|
mode: string;
|
|
2302
2298
|
};
|
|
2303
|
-
/** @returns {
|
|
2304
|
-
declare function
|
|
2305
|
-
type
|
|
2299
|
+
/** @returns {PaymentConfirmationRequest} */
|
|
2300
|
+
declare function PaymentConfirmationRequest(): PaymentConfirmationRequest;
|
|
2301
|
+
type PaymentConfirmationRequest = {
|
|
2306
2302
|
/**
|
|
2307
2303
|
* - Unique order id
|
|
2308
2304
|
*/
|
|
2309
2305
|
order_id: string;
|
|
2310
2306
|
payment_methods: MultiTenderPaymentMethod[];
|
|
2311
2307
|
};
|
|
2312
|
-
/** @returns {
|
|
2313
|
-
declare function
|
|
2314
|
-
type
|
|
2308
|
+
/** @returns {PaymentConfirmationResponse} */
|
|
2309
|
+
declare function PaymentConfirmationResponse(): PaymentConfirmationResponse;
|
|
2310
|
+
type PaymentConfirmationResponse = {
|
|
2315
2311
|
/**
|
|
2316
2312
|
* - Unique order id
|
|
2317
2313
|
*/
|
|
@@ -2386,9 +2382,9 @@ type CODPaymentLimitConfig = {
|
|
|
2386
2382
|
remaining_limit: number;
|
|
2387
2383
|
limit: CODLimitConfig;
|
|
2388
2384
|
};
|
|
2389
|
-
/** @returns {
|
|
2390
|
-
declare function
|
|
2391
|
-
type
|
|
2385
|
+
/** @returns {GetUserBULimitResponse} */
|
|
2386
|
+
declare function GetUserBULimitResponse(): GetUserBULimitResponse;
|
|
2387
|
+
type GetUserBULimitResponse = {
|
|
2392
2388
|
/**
|
|
2393
2389
|
* - COD limit business unit
|
|
2394
2390
|
*/
|
|
@@ -2399,10 +2395,10 @@ type GetUserBULimitResponseSchema = {
|
|
|
2399
2395
|
display_name: string;
|
|
2400
2396
|
config: CODPaymentLimitConfig;
|
|
2401
2397
|
};
|
|
2402
|
-
/** @returns {
|
|
2403
|
-
declare function
|
|
2404
|
-
type
|
|
2405
|
-
items:
|
|
2398
|
+
/** @returns {GetUserCODLimitResponse} */
|
|
2399
|
+
declare function GetUserCODLimitResponse(): GetUserCODLimitResponse;
|
|
2400
|
+
type GetUserCODLimitResponse = {
|
|
2401
|
+
items: GetUserBULimitResponse[];
|
|
2406
2402
|
/**
|
|
2407
2403
|
* - Response is successful or not
|
|
2408
2404
|
*/
|
|
@@ -2412,9 +2408,9 @@ type GetUserCODLimitDetails = {
|
|
|
2412
2408
|
*/
|
|
2413
2409
|
message?: string;
|
|
2414
2410
|
};
|
|
2415
|
-
/** @returns {
|
|
2416
|
-
declare function
|
|
2417
|
-
type
|
|
2411
|
+
/** @returns {SetCODForUserRequest} */
|
|
2412
|
+
declare function SetCODForUserRequest(): SetCODForUserRequest;
|
|
2413
|
+
type SetCODForUserRequest = {
|
|
2418
2414
|
/**
|
|
2419
2415
|
* - Business unit
|
|
2420
2416
|
*/
|
|
@@ -2432,9 +2428,9 @@ type SetCODForUserCreation = {
|
|
|
2432
2428
|
*/
|
|
2433
2429
|
merchant_user_id: string;
|
|
2434
2430
|
};
|
|
2435
|
-
/** @returns {
|
|
2436
|
-
declare function
|
|
2437
|
-
type
|
|
2431
|
+
/** @returns {SetCODOptionResponse} */
|
|
2432
|
+
declare function SetCODOptionResponse(): SetCODOptionResponse;
|
|
2433
|
+
type SetCODOptionResponse = {
|
|
2438
2434
|
/**
|
|
2439
2435
|
* - Message
|
|
2440
2436
|
*/
|
|
@@ -2460,9 +2456,9 @@ type EdcModelData = {
|
|
|
2460
2456
|
*/
|
|
2461
2457
|
models: string[];
|
|
2462
2458
|
};
|
|
2463
|
-
/** @returns {
|
|
2464
|
-
declare function
|
|
2465
|
-
type
|
|
2459
|
+
/** @returns {EdcAggregatorAndModelListResponse} */
|
|
2460
|
+
declare function EdcAggregatorAndModelListResponse(): EdcAggregatorAndModelListResponse;
|
|
2461
|
+
type EdcAggregatorAndModelListResponse = {
|
|
2466
2462
|
/**
|
|
2467
2463
|
* - List of aggregators and their edc models
|
|
2468
2464
|
*/
|
|
@@ -2484,18 +2480,18 @@ type StatisticsData = {
|
|
|
2484
2480
|
*/
|
|
2485
2481
|
active_device_count: number;
|
|
2486
2482
|
};
|
|
2487
|
-
/** @returns {
|
|
2488
|
-
declare function
|
|
2489
|
-
type
|
|
2483
|
+
/** @returns {EdcDeviceStatsResponse} */
|
|
2484
|
+
declare function EdcDeviceStatsResponse(): EdcDeviceStatsResponse;
|
|
2485
|
+
type EdcDeviceStatsResponse = {
|
|
2490
2486
|
statistics: StatisticsData;
|
|
2491
2487
|
/**
|
|
2492
2488
|
* - Response is successful or not
|
|
2493
2489
|
*/
|
|
2494
2490
|
success: boolean;
|
|
2495
2491
|
};
|
|
2496
|
-
/** @returns {
|
|
2497
|
-
declare function
|
|
2498
|
-
type
|
|
2492
|
+
/** @returns {EdcAddRequest} */
|
|
2493
|
+
declare function EdcAddRequest(): EdcAddRequest;
|
|
2494
|
+
type EdcAddRequest = {
|
|
2499
2495
|
/**
|
|
2500
2496
|
* - Model of the edc machine
|
|
2501
2497
|
*/
|
|
@@ -2571,27 +2567,27 @@ type EdcDevice = {
|
|
|
2571
2567
|
*/
|
|
2572
2568
|
application_id: string;
|
|
2573
2569
|
};
|
|
2574
|
-
/** @returns {
|
|
2575
|
-
declare function
|
|
2576
|
-
type
|
|
2570
|
+
/** @returns {EdcDeviceAddResponse} */
|
|
2571
|
+
declare function EdcDeviceAddResponse(): EdcDeviceAddResponse;
|
|
2572
|
+
type EdcDeviceAddResponse = {
|
|
2577
2573
|
data: EdcDevice;
|
|
2578
2574
|
/**
|
|
2579
2575
|
* - Response is successful or not
|
|
2580
2576
|
*/
|
|
2581
2577
|
success: boolean;
|
|
2582
2578
|
};
|
|
2583
|
-
/** @returns {
|
|
2584
|
-
declare function
|
|
2585
|
-
type
|
|
2579
|
+
/** @returns {EdcDeviceDetailsResponse} */
|
|
2580
|
+
declare function EdcDeviceDetailsResponse(): EdcDeviceDetailsResponse;
|
|
2581
|
+
type EdcDeviceDetailsResponse = {
|
|
2586
2582
|
data: EdcDevice;
|
|
2587
2583
|
/**
|
|
2588
2584
|
* - Response is successful or not
|
|
2589
2585
|
*/
|
|
2590
2586
|
success: boolean;
|
|
2591
2587
|
};
|
|
2592
|
-
/** @returns {
|
|
2593
|
-
declare function
|
|
2594
|
-
type
|
|
2588
|
+
/** @returns {EdcUpdateRequest} */
|
|
2589
|
+
declare function EdcUpdateRequest(): EdcUpdateRequest;
|
|
2590
|
+
type EdcUpdateRequest = {
|
|
2595
2591
|
/**
|
|
2596
2592
|
* - Model of the edc machine
|
|
2597
2593
|
*/
|
|
@@ -2621,9 +2617,9 @@ type EdcUpdate = {
|
|
|
2621
2617
|
*/
|
|
2622
2618
|
device_tag?: string;
|
|
2623
2619
|
};
|
|
2624
|
-
/** @returns {
|
|
2625
|
-
declare function
|
|
2626
|
-
type
|
|
2620
|
+
/** @returns {EdcDeviceUpdateResponse} */
|
|
2621
|
+
declare function EdcDeviceUpdateResponse(): EdcDeviceUpdateResponse;
|
|
2622
|
+
type EdcDeviceUpdateResponse = {
|
|
2627
2623
|
/**
|
|
2628
2624
|
* - Response is successful or not
|
|
2629
2625
|
*/
|
|
@@ -2661,9 +2657,9 @@ type Page = {
|
|
|
2661
2657
|
*/
|
|
2662
2658
|
size?: number;
|
|
2663
2659
|
};
|
|
2664
|
-
/** @returns {
|
|
2665
|
-
declare function
|
|
2666
|
-
type
|
|
2660
|
+
/** @returns {EdcDeviceListResponse} */
|
|
2661
|
+
declare function EdcDeviceListResponse(): EdcDeviceListResponse;
|
|
2662
|
+
type EdcDeviceListResponse = {
|
|
2667
2663
|
/**
|
|
2668
2664
|
* - List of all edc mapped to the application
|
|
2669
2665
|
* options with their Details.
|
|
@@ -2675,9 +2671,9 @@ type EdcDeviceListDetails = {
|
|
|
2675
2671
|
*/
|
|
2676
2672
|
success: boolean;
|
|
2677
2673
|
};
|
|
2678
|
-
/** @returns {
|
|
2679
|
-
declare function
|
|
2680
|
-
type
|
|
2674
|
+
/** @returns {PaymentInitializationRequest} */
|
|
2675
|
+
declare function PaymentInitializationRequest(): PaymentInitializationRequest;
|
|
2676
|
+
type PaymentInitializationRequest = {
|
|
2681
2677
|
/**
|
|
2682
2678
|
* - Payment gateway payment id
|
|
2683
2679
|
*/
|
|
@@ -2731,9 +2727,9 @@ type PaymentInitializationCreation = {
|
|
|
2731
2727
|
*/
|
|
2732
2728
|
method: string;
|
|
2733
2729
|
};
|
|
2734
|
-
/** @returns {
|
|
2735
|
-
declare function
|
|
2736
|
-
type
|
|
2730
|
+
/** @returns {PaymentInitializationResponse} */
|
|
2731
|
+
declare function PaymentInitializationResponse(): PaymentInitializationResponse;
|
|
2732
|
+
type PaymentInitializationResponse = {
|
|
2737
2733
|
/**
|
|
2738
2734
|
* - Payment id.
|
|
2739
2735
|
*/
|
|
@@ -2803,9 +2799,9 @@ type PaymentInitializationDetails = {
|
|
|
2803
2799
|
*/
|
|
2804
2800
|
method: string;
|
|
2805
2801
|
};
|
|
2806
|
-
/** @returns {
|
|
2807
|
-
declare function
|
|
2808
|
-
type
|
|
2802
|
+
/** @returns {PaymentStatusUpdateRequest} */
|
|
2803
|
+
declare function PaymentStatusUpdateRequest(): PaymentStatusUpdateRequest;
|
|
2804
|
+
type PaymentStatusUpdateRequest = {
|
|
2809
2805
|
/**
|
|
2810
2806
|
* - EDC machine Unique Identifier
|
|
2811
2807
|
*/
|
|
@@ -2859,9 +2855,9 @@ type PaymentStatusUpdateCreation = {
|
|
|
2859
2855
|
*/
|
|
2860
2856
|
merchant_transaction_id: string;
|
|
2861
2857
|
};
|
|
2862
|
-
/** @returns {
|
|
2863
|
-
declare function
|
|
2864
|
-
type
|
|
2858
|
+
/** @returns {PaymentStatusUpdateResponse} */
|
|
2859
|
+
declare function PaymentStatusUpdateResponse(): PaymentStatusUpdateResponse;
|
|
2860
|
+
type PaymentStatusUpdateResponse = {
|
|
2865
2861
|
/**
|
|
2866
2862
|
* - Redirect url
|
|
2867
2863
|
*/
|
|
@@ -2883,9 +2879,9 @@ type PaymentStatusUpdateDetails = {
|
|
|
2883
2879
|
*/
|
|
2884
2880
|
aggregator_name: string;
|
|
2885
2881
|
};
|
|
2886
|
-
/** @returns {
|
|
2887
|
-
declare function
|
|
2888
|
-
type
|
|
2882
|
+
/** @returns {ResendOrCancelPaymentRequest} */
|
|
2883
|
+
declare function ResendOrCancelPaymentRequest(): ResendOrCancelPaymentRequest;
|
|
2884
|
+
type ResendOrCancelPaymentRequest = {
|
|
2889
2885
|
/**
|
|
2890
2886
|
* - Unique order id
|
|
2891
2887
|
*/
|
|
@@ -2916,26 +2912,26 @@ type LinkStatus = {
|
|
|
2916
2912
|
*/
|
|
2917
2913
|
is_payment_done?: boolean;
|
|
2918
2914
|
};
|
|
2919
|
-
/** @returns {
|
|
2920
|
-
declare function
|
|
2921
|
-
type
|
|
2915
|
+
/** @returns {ResendOrCancelPaymentResponse} */
|
|
2916
|
+
declare function ResendOrCancelPaymentResponse(): ResendOrCancelPaymentResponse;
|
|
2917
|
+
type ResendOrCancelPaymentResponse = {
|
|
2922
2918
|
data: LinkStatus;
|
|
2923
2919
|
/**
|
|
2924
2920
|
* - Response is successful or not.
|
|
2925
2921
|
*/
|
|
2926
2922
|
success: boolean;
|
|
2927
2923
|
};
|
|
2928
|
-
/** @returns {
|
|
2929
|
-
declare function
|
|
2930
|
-
type
|
|
2924
|
+
/** @returns {PaymentStatusBulkHandlerRequest} */
|
|
2925
|
+
declare function PaymentStatusBulkHandlerRequest(): PaymentStatusBulkHandlerRequest;
|
|
2926
|
+
type PaymentStatusBulkHandlerRequest = {
|
|
2931
2927
|
/**
|
|
2932
2928
|
* - List of order ids
|
|
2933
2929
|
*/
|
|
2934
2930
|
merchant_order_id: string[];
|
|
2935
2931
|
};
|
|
2936
|
-
/** @returns {
|
|
2937
|
-
declare function
|
|
2938
|
-
type
|
|
2932
|
+
/** @returns {PaymentObjectListSerializer} */
|
|
2933
|
+
declare function PaymentObjectListSerializer(): PaymentObjectListSerializer;
|
|
2934
|
+
type PaymentObjectListSerializer = {
|
|
2939
2935
|
user_object: any;
|
|
2940
2936
|
modified_on: string;
|
|
2941
2937
|
collected_by: string;
|
|
@@ -2959,20 +2955,20 @@ type PaymentObjectList = {
|
|
|
2959
2955
|
declare function PaymentStatusObject(): PaymentStatusObject;
|
|
2960
2956
|
type PaymentStatusObject = {
|
|
2961
2957
|
merchant_order_id: string;
|
|
2962
|
-
payment_object_list?:
|
|
2958
|
+
payment_object_list?: PaymentObjectListSerializer[];
|
|
2963
2959
|
};
|
|
2964
|
-
/** @returns {
|
|
2965
|
-
declare function
|
|
2966
|
-
type
|
|
2960
|
+
/** @returns {PaymentStatusBulkHandlerResponse} */
|
|
2961
|
+
declare function PaymentStatusBulkHandlerResponse(): PaymentStatusBulkHandlerResponse;
|
|
2962
|
+
type PaymentStatusBulkHandlerResponse = {
|
|
2967
2963
|
count?: number;
|
|
2968
2964
|
data?: PaymentStatusObject[];
|
|
2969
2965
|
success: string;
|
|
2970
2966
|
error?: string;
|
|
2971
2967
|
status: number;
|
|
2972
2968
|
};
|
|
2973
|
-
/** @returns {
|
|
2974
|
-
declare function
|
|
2975
|
-
type
|
|
2969
|
+
/** @returns {GetOauthUrlResponse} */
|
|
2970
|
+
declare function GetOauthUrlResponse(): GetOauthUrlResponse;
|
|
2971
|
+
type GetOauthUrlResponse = {
|
|
2976
2972
|
/**
|
|
2977
2973
|
* - The url to call for authenticating
|
|
2978
2974
|
*/
|
|
@@ -3059,18 +3055,18 @@ type RepaymentDetailsSerialiserPayAll = {
|
|
|
3059
3055
|
aggregator_order_id: string;
|
|
3060
3056
|
shipment_details?: RepaymentRequestDetails[];
|
|
3061
3057
|
};
|
|
3062
|
-
/** @returns {
|
|
3063
|
-
declare function
|
|
3064
|
-
type
|
|
3058
|
+
/** @returns {RepaymentResponse} */
|
|
3059
|
+
declare function RepaymentResponse(): RepaymentResponse;
|
|
3060
|
+
type RepaymentResponse = {
|
|
3065
3061
|
data: any;
|
|
3066
3062
|
/**
|
|
3067
3063
|
* - Success/Failure of the transaction
|
|
3068
3064
|
*/
|
|
3069
3065
|
success: boolean;
|
|
3070
3066
|
};
|
|
3071
|
-
/** @returns {
|
|
3072
|
-
declare function
|
|
3073
|
-
type
|
|
3067
|
+
/** @returns {MerchantOnBoardingRequest} */
|
|
3068
|
+
declare function MerchantOnBoardingRequest(): MerchantOnBoardingRequest;
|
|
3069
|
+
type MerchantOnBoardingRequest = {
|
|
3074
3070
|
/**
|
|
3075
3071
|
* - Merchant ID at Ajiodhan's end
|
|
3076
3072
|
*/
|
|
@@ -3092,18 +3088,18 @@ type MerchantOnBoardingCreation = {
|
|
|
3092
3088
|
*/
|
|
3093
3089
|
status: string;
|
|
3094
3090
|
};
|
|
3095
|
-
/** @returns {
|
|
3096
|
-
declare function
|
|
3097
|
-
type
|
|
3091
|
+
/** @returns {MerchantOnBoardingResponse} */
|
|
3092
|
+
declare function MerchantOnBoardingResponse(): MerchantOnBoardingResponse;
|
|
3093
|
+
type MerchantOnBoardingResponse = {
|
|
3098
3094
|
data: any;
|
|
3099
3095
|
/**
|
|
3100
3096
|
* - Success/Failure of the transaction
|
|
3101
3097
|
*/
|
|
3102
3098
|
success: boolean;
|
|
3103
3099
|
};
|
|
3104
|
-
/** @returns {
|
|
3105
|
-
declare function
|
|
3106
|
-
type
|
|
3100
|
+
/** @returns {ValidateCustomerRequest} */
|
|
3101
|
+
declare function ValidateCustomerRequest(): ValidateCustomerRequest;
|
|
3102
|
+
type ValidateCustomerRequest = {
|
|
3107
3103
|
/**
|
|
3108
3104
|
* - User mobile number without country code.
|
|
3109
3105
|
*/
|
|
@@ -3137,9 +3133,9 @@ type ValidateCustomerCreation = {
|
|
|
3137
3133
|
*/
|
|
3138
3134
|
billing_address?: any;
|
|
3139
3135
|
};
|
|
3140
|
-
/** @returns {
|
|
3141
|
-
declare function
|
|
3142
|
-
type
|
|
3136
|
+
/** @returns {ValidateCustomerResponse} */
|
|
3137
|
+
declare function ValidateCustomerResponse(): ValidateCustomerResponse;
|
|
3138
|
+
type ValidateCustomerResponse = {
|
|
3143
3139
|
/**
|
|
3144
3140
|
* - Error or success message.
|
|
3145
3141
|
*/
|
|
@@ -3153,9 +3149,9 @@ type ValidateCustomerDetails = {
|
|
|
3153
3149
|
*/
|
|
3154
3150
|
success: boolean;
|
|
3155
3151
|
};
|
|
3156
|
-
/** @returns {
|
|
3157
|
-
declare function
|
|
3158
|
-
type
|
|
3152
|
+
/** @returns {GetPaymentLinkResponse} */
|
|
3153
|
+
declare function GetPaymentLinkResponse(): GetPaymentLinkResponse;
|
|
3154
|
+
type GetPaymentLinkResponse = {
|
|
3159
3155
|
/**
|
|
3160
3156
|
* - Message
|
|
3161
3157
|
*/
|
|
@@ -3230,9 +3226,9 @@ type ErrorDescription = {
|
|
|
3230
3226
|
*/
|
|
3231
3227
|
cancelled?: boolean;
|
|
3232
3228
|
};
|
|
3233
|
-
/** @returns {
|
|
3234
|
-
declare function
|
|
3235
|
-
type
|
|
3229
|
+
/** @returns {ErrorResponse} */
|
|
3230
|
+
declare function ErrorResponse(): ErrorResponse;
|
|
3231
|
+
type ErrorResponse = {
|
|
3236
3232
|
/**
|
|
3237
3233
|
* - HTTP status code
|
|
3238
3234
|
*/
|
|
@@ -3268,9 +3264,9 @@ type CreatePaymentLinkMeta = {
|
|
|
3268
3264
|
*/
|
|
3269
3265
|
assign_card_id?: string;
|
|
3270
3266
|
};
|
|
3271
|
-
/** @returns {
|
|
3272
|
-
declare function
|
|
3273
|
-
type
|
|
3267
|
+
/** @returns {CreatePaymentLinkRequest} */
|
|
3268
|
+
declare function CreatePaymentLinkRequest(): CreatePaymentLinkRequest;
|
|
3269
|
+
type CreatePaymentLinkRequest = {
|
|
3274
3270
|
/**
|
|
3275
3271
|
* - Email to which the payment link is to be sent
|
|
3276
3272
|
*/
|
|
@@ -3297,20 +3293,10 @@ type CreatePaymentLinkCreation = {
|
|
|
3297
3293
|
* - Merchant order id
|
|
3298
3294
|
*/
|
|
3299
3295
|
external_order_id: string;
|
|
3300
|
-
/**
|
|
3301
|
-
* - URL to which the user will be
|
|
3302
|
-
* redirected after a successful payment.
|
|
3303
|
-
*/
|
|
3304
|
-
success_redirection_url?: string;
|
|
3305
|
-
/**
|
|
3306
|
-
* - URL to which the user will be
|
|
3307
|
-
* redirected if the payment fails.
|
|
3308
|
-
*/
|
|
3309
|
-
failure_redirection_url?: string;
|
|
3310
3296
|
};
|
|
3311
|
-
/** @returns {
|
|
3312
|
-
declare function
|
|
3313
|
-
type
|
|
3297
|
+
/** @returns {CreatePaymentLinkResponse} */
|
|
3298
|
+
declare function CreatePaymentLinkResponse(): CreatePaymentLinkResponse;
|
|
3299
|
+
type CreatePaymentLinkResponse = {
|
|
3314
3300
|
/**
|
|
3315
3301
|
* - Message
|
|
3316
3302
|
*/
|
|
@@ -3336,9 +3322,9 @@ type CreatePaymentLinkDetails = {
|
|
|
3336
3322
|
*/
|
|
3337
3323
|
payment_link_id?: string;
|
|
3338
3324
|
};
|
|
3339
|
-
/** @returns {
|
|
3340
|
-
declare function
|
|
3341
|
-
type
|
|
3325
|
+
/** @returns {PollingPaymentLinkResponse} */
|
|
3326
|
+
declare function PollingPaymentLinkResponse(): PollingPaymentLinkResponse;
|
|
3327
|
+
type PollingPaymentLinkResponse = {
|
|
3342
3328
|
/**
|
|
3343
3329
|
* - Message
|
|
3344
3330
|
*/
|
|
@@ -3380,17 +3366,17 @@ type PollingPaymentLinkDetails = {
|
|
|
3380
3366
|
*/
|
|
3381
3367
|
aggregator_name?: string;
|
|
3382
3368
|
};
|
|
3383
|
-
/** @returns {
|
|
3384
|
-
declare function
|
|
3385
|
-
type
|
|
3369
|
+
/** @returns {CancelOrResendPaymentLinkRequest} */
|
|
3370
|
+
declare function CancelOrResendPaymentLinkRequest(): CancelOrResendPaymentLinkRequest;
|
|
3371
|
+
type CancelOrResendPaymentLinkRequest = {
|
|
3386
3372
|
/**
|
|
3387
3373
|
* - Unique id of payment link
|
|
3388
3374
|
*/
|
|
3389
3375
|
payment_link_id: string;
|
|
3390
3376
|
};
|
|
3391
|
-
/** @returns {
|
|
3392
|
-
declare function
|
|
3393
|
-
type
|
|
3377
|
+
/** @returns {ResendPaymentLinkResponse} */
|
|
3378
|
+
declare function ResendPaymentLinkResponse(): ResendPaymentLinkResponse;
|
|
3379
|
+
type ResendPaymentLinkResponse = {
|
|
3394
3380
|
/**
|
|
3395
3381
|
* - HTTP status code
|
|
3396
3382
|
*/
|
|
@@ -3408,9 +3394,9 @@ type ResendPaymentLinkDetails = {
|
|
|
3408
3394
|
*/
|
|
3409
3395
|
success: boolean;
|
|
3410
3396
|
};
|
|
3411
|
-
/** @returns {
|
|
3412
|
-
declare function
|
|
3413
|
-
type
|
|
3397
|
+
/** @returns {CancelPaymentLinkResponse} */
|
|
3398
|
+
declare function CancelPaymentLinkResponse(): CancelPaymentLinkResponse;
|
|
3399
|
+
type CancelPaymentLinkResponse = {
|
|
3414
3400
|
/**
|
|
3415
3401
|
* - HTTP status code
|
|
3416
3402
|
*/
|
|
@@ -3462,18 +3448,18 @@ declare function GetPaymentCode(): GetPaymentCode;
|
|
|
3462
3448
|
type GetPaymentCode = {
|
|
3463
3449
|
method_code: PaymentCode;
|
|
3464
3450
|
};
|
|
3465
|
-
/** @returns {
|
|
3466
|
-
declare function
|
|
3467
|
-
type
|
|
3451
|
+
/** @returns {GetPaymentCodeResponse} */
|
|
3452
|
+
declare function GetPaymentCodeResponse(): GetPaymentCodeResponse;
|
|
3453
|
+
type GetPaymentCodeResponse = {
|
|
3468
3454
|
data: GetPaymentCode;
|
|
3469
3455
|
/**
|
|
3470
3456
|
* - Response is successful or not.
|
|
3471
3457
|
*/
|
|
3472
3458
|
success: boolean;
|
|
3473
3459
|
};
|
|
3474
|
-
/** @returns {
|
|
3475
|
-
declare function
|
|
3476
|
-
type
|
|
3460
|
+
/** @returns {PlatformPaymentModeResponse} */
|
|
3461
|
+
declare function PlatformPaymentModeResponse(): PlatformPaymentModeResponse;
|
|
3462
|
+
type PlatformPaymentModeResponse = {
|
|
3477
3463
|
/**
|
|
3478
3464
|
* - Message
|
|
3479
3465
|
*/
|
|
@@ -3487,9 +3473,9 @@ type PlatformPaymentModeDetails = {
|
|
|
3487
3473
|
*/
|
|
3488
3474
|
success: boolean;
|
|
3489
3475
|
};
|
|
3490
|
-
/** @returns {
|
|
3491
|
-
declare function
|
|
3492
|
-
type
|
|
3476
|
+
/** @returns {MerchnatPaymentModeRequest} */
|
|
3477
|
+
declare function MerchnatPaymentModeRequest(): MerchnatPaymentModeRequest;
|
|
3478
|
+
type MerchnatPaymentModeRequest = {
|
|
3493
3479
|
/**
|
|
3494
3480
|
* - Details to be updated for online payment configuration.
|
|
3495
3481
|
*/
|
|
@@ -3715,9 +3701,9 @@ type PaymentSessionDetail = {
|
|
|
3715
3701
|
*/
|
|
3716
3702
|
status: string;
|
|
3717
3703
|
};
|
|
3718
|
-
/** @returns {
|
|
3719
|
-
declare function
|
|
3720
|
-
type
|
|
3704
|
+
/** @returns {PaymentSessionRequestSerializer} */
|
|
3705
|
+
declare function PaymentSessionRequestSerializer(): PaymentSessionRequestSerializer;
|
|
3706
|
+
type PaymentSessionRequestSerializer = {
|
|
3721
3707
|
/**
|
|
3722
3708
|
* - Extra meta data specific to extensions
|
|
3723
3709
|
*/
|
|
@@ -3758,9 +3744,9 @@ type PaymentSessionCreation = {
|
|
|
3758
3744
|
*/
|
|
3759
3745
|
source?: string;
|
|
3760
3746
|
};
|
|
3761
|
-
/** @returns {
|
|
3762
|
-
declare function
|
|
3763
|
-
type
|
|
3747
|
+
/** @returns {PaymentSessionResponseSerializer} */
|
|
3748
|
+
declare function PaymentSessionResponseSerializer(): PaymentSessionResponseSerializer;
|
|
3749
|
+
type PaymentSessionResponseSerializer = {
|
|
3764
3750
|
/**
|
|
3765
3751
|
* - Global identifier of the entity (e.g. order, cart
|
|
3766
3752
|
* etc.) against which payment_session was initiated. This is generated by
|
|
@@ -3843,9 +3829,9 @@ type RefundSessionDetail = {
|
|
|
3843
3829
|
*/
|
|
3844
3830
|
balance_transaction?: string;
|
|
3845
3831
|
};
|
|
3846
|
-
/** @returns {
|
|
3847
|
-
declare function
|
|
3848
|
-
type
|
|
3832
|
+
/** @returns {RefundSessionRequestSerializer} */
|
|
3833
|
+
declare function RefundSessionRequestSerializer(): RefundSessionRequestSerializer;
|
|
3834
|
+
type RefundSessionRequestSerializer = {
|
|
3849
3835
|
/**
|
|
3850
3836
|
* - Meta
|
|
3851
3837
|
*/
|
|
@@ -3886,9 +3872,9 @@ type RefundSessionCreation = {
|
|
|
3886
3872
|
*/
|
|
3887
3873
|
checksum: string;
|
|
3888
3874
|
};
|
|
3889
|
-
/** @returns {
|
|
3890
|
-
declare function
|
|
3891
|
-
type
|
|
3875
|
+
/** @returns {RefundSessionResponseSerializer} */
|
|
3876
|
+
declare function RefundSessionResponseSerializer(): RefundSessionResponseSerializer;
|
|
3877
|
+
type RefundSessionResponseSerializer = {
|
|
3892
3878
|
/**
|
|
3893
3879
|
* - Global identifier of the entity (e.g. order, cart
|
|
3894
3880
|
* etc.) against which payment_session was initiated. This is generated by
|
|
@@ -3912,9 +3898,9 @@ type RefundSessionDetails = {
|
|
|
3912
3898
|
*/
|
|
3913
3899
|
total_refund_amount: number;
|
|
3914
3900
|
};
|
|
3915
|
-
/** @returns {
|
|
3916
|
-
declare function
|
|
3917
|
-
type
|
|
3901
|
+
/** @returns {PaymentDetailsSerializer} */
|
|
3902
|
+
declare function PaymentDetailsSerializer(): PaymentDetailsSerializer;
|
|
3903
|
+
type PaymentDetailsSerializer = {
|
|
3918
3904
|
/**
|
|
3919
3905
|
* - List of payment methods
|
|
3920
3906
|
*/
|
|
@@ -4008,9 +3994,9 @@ type PaymentDetails = {
|
|
|
4008
3994
|
*/
|
|
4009
3995
|
aggregator_order_id?: string;
|
|
4010
3996
|
};
|
|
4011
|
-
/** @returns {
|
|
4012
|
-
declare function
|
|
4013
|
-
type
|
|
3997
|
+
/** @returns {CartDetailsSerializer} */
|
|
3998
|
+
declare function CartDetailsSerializer(): CartDetailsSerializer;
|
|
3999
|
+
type CartDetailsSerializer = {
|
|
4014
4000
|
/**
|
|
4015
4001
|
* - Items that are added in cart
|
|
4016
4002
|
*/
|
|
@@ -4033,9 +4019,9 @@ type CartDetails = {
|
|
|
4033
4019
|
*/
|
|
4034
4020
|
custom_cart_meta?: any;
|
|
4035
4021
|
};
|
|
4036
|
-
/** @returns {
|
|
4037
|
-
declare function
|
|
4038
|
-
type
|
|
4022
|
+
/** @returns {RefundDetailsSerializer} */
|
|
4023
|
+
declare function RefundDetailsSerializer(): RefundDetailsSerializer;
|
|
4024
|
+
type RefundDetailsSerializer = {
|
|
4039
4025
|
/**
|
|
4040
4026
|
* - Refunded amount
|
|
4041
4027
|
*/
|
|
@@ -4061,9 +4047,9 @@ type RefundDetails = {
|
|
|
4061
4047
|
*/
|
|
4062
4048
|
refund_utr: string;
|
|
4063
4049
|
};
|
|
4064
|
-
/** @returns {
|
|
4065
|
-
declare function
|
|
4066
|
-
type
|
|
4050
|
+
/** @returns {PaymentSessionSerializer} */
|
|
4051
|
+
declare function PaymentSessionSerializer(): PaymentSessionSerializer;
|
|
4052
|
+
type PaymentSessionSerializer = {
|
|
4067
4053
|
/**
|
|
4068
4054
|
* - Object of payment details
|
|
4069
4055
|
*/
|
|
@@ -4086,11 +4072,11 @@ type PaymentSessionFetchDetails = {
|
|
|
4086
4072
|
* Fynd payments platform and is unique.
|
|
4087
4073
|
*/
|
|
4088
4074
|
gid: string;
|
|
4089
|
-
cart_details?:
|
|
4075
|
+
cart_details?: CartDetailsSerializer;
|
|
4090
4076
|
/**
|
|
4091
4077
|
* - Object of refund details
|
|
4092
4078
|
*/
|
|
4093
|
-
refund_details:
|
|
4079
|
+
refund_details: RefundDetailsSerializer[];
|
|
4094
4080
|
};
|
|
4095
4081
|
/** @returns {RefundSourcesPriority} */
|
|
4096
4082
|
declare function RefundSourcesPriority(): RefundSourcesPriority;
|
|
@@ -4108,9 +4094,9 @@ type RefundSourcesPriority = {
|
|
|
4108
4094
|
*/
|
|
4109
4095
|
source: string;
|
|
4110
4096
|
};
|
|
4111
|
-
/** @returns {
|
|
4112
|
-
declare function
|
|
4113
|
-
type
|
|
4097
|
+
/** @returns {RefundPriorityResponseSerializer} */
|
|
4098
|
+
declare function RefundPriorityResponseSerializer(): RefundPriorityResponseSerializer;
|
|
4099
|
+
type RefundPriorityResponseSerializer = {
|
|
4114
4100
|
/**
|
|
4115
4101
|
* - Configuration for merchant or customer
|
|
4116
4102
|
*/
|
|
@@ -4132,9 +4118,9 @@ type RefundPriorityDetails = {
|
|
|
4132
4118
|
*/
|
|
4133
4119
|
message?: string;
|
|
4134
4120
|
};
|
|
4135
|
-
/** @returns {
|
|
4136
|
-
declare function
|
|
4137
|
-
type
|
|
4121
|
+
/** @returns {RefundPriorityRequestSerializer} */
|
|
4122
|
+
declare function RefundPriorityRequestSerializer(): RefundPriorityRequestSerializer;
|
|
4123
|
+
type RefundPriorityRequestSerializer = {
|
|
4138
4124
|
/**
|
|
4139
4125
|
* - Apportion refund to multiple sources
|
|
4140
4126
|
*/
|
|
@@ -4144,9 +4130,9 @@ type RefundPriorityCreation = {
|
|
|
4144
4130
|
*/
|
|
4145
4131
|
refund_sources_priority: RefundSourcesPriority[];
|
|
4146
4132
|
};
|
|
4147
|
-
/** @returns {
|
|
4148
|
-
declare function
|
|
4149
|
-
type
|
|
4133
|
+
/** @returns {MerchantPaymentModeRequest} */
|
|
4134
|
+
declare function MerchantPaymentModeRequest(): MerchantPaymentModeRequest;
|
|
4135
|
+
type MerchantPaymentModeRequest = {
|
|
4150
4136
|
/**
|
|
4151
4137
|
* - Business unit
|
|
4152
4138
|
*/
|
|
@@ -4184,9 +4170,9 @@ type ToConfig = {
|
|
|
4184
4170
|
*/
|
|
4185
4171
|
business_unit: string;
|
|
4186
4172
|
};
|
|
4187
|
-
/** @returns {
|
|
4188
|
-
declare function
|
|
4189
|
-
type
|
|
4173
|
+
/** @returns {PlatformPaymentModeCopyConfigRequest} */
|
|
4174
|
+
declare function PlatformPaymentModeCopyConfigRequest(): PlatformPaymentModeCopyConfigRequest;
|
|
4175
|
+
type PlatformPaymentModeCopyConfigRequest = {
|
|
4190
4176
|
from_config: FromConfig;
|
|
4191
4177
|
to_config: ToConfig;
|
|
4192
4178
|
};
|
|
@@ -4227,9 +4213,9 @@ type PaymentOrderMethods = {
|
|
|
4227
4213
|
*/
|
|
4228
4214
|
name: string;
|
|
4229
4215
|
};
|
|
4230
|
-
/** @returns {
|
|
4231
|
-
declare function
|
|
4232
|
-
type
|
|
4216
|
+
/** @returns {PaymentOrderRequest} */
|
|
4217
|
+
declare function PaymentOrderRequest(): PaymentOrderRequest;
|
|
4218
|
+
type PaymentOrderRequest = {
|
|
4233
4219
|
/**
|
|
4234
4220
|
* - Order id
|
|
4235
4221
|
*/
|
|
@@ -4284,9 +4270,9 @@ type PaymentOrderData = {
|
|
|
4284
4270
|
*/
|
|
4285
4271
|
merchant_order_id?: string;
|
|
4286
4272
|
};
|
|
4287
|
-
/** @returns {
|
|
4288
|
-
declare function
|
|
4289
|
-
type
|
|
4273
|
+
/** @returns {PaymentOrderResponse} */
|
|
4274
|
+
declare function PaymentOrderResponse(): PaymentOrderResponse;
|
|
4275
|
+
type PaymentOrderResponse = {
|
|
4290
4276
|
/**
|
|
4291
4277
|
* - Message
|
|
4292
4278
|
*/
|
|
@@ -4320,9 +4306,9 @@ type AggregatorVersionItemSchema = {
|
|
|
4320
4306
|
is_less_than?: string;
|
|
4321
4307
|
is_greater_than?: string;
|
|
4322
4308
|
};
|
|
4323
|
-
/** @returns {
|
|
4324
|
-
declare function
|
|
4325
|
-
type
|
|
4309
|
+
/** @returns {AggregatorVersionResponse} */
|
|
4310
|
+
declare function AggregatorVersionResponse(): AggregatorVersionResponse;
|
|
4311
|
+
type AggregatorVersionResponse = {
|
|
4326
4312
|
/**
|
|
4327
4313
|
* - Message
|
|
4328
4314
|
*/
|
|
@@ -4340,9 +4326,9 @@ type AggregatorVersionRequestSchema = {
|
|
|
4340
4326
|
is_less_than?: string;
|
|
4341
4327
|
is_greater_than?: string;
|
|
4342
4328
|
};
|
|
4343
|
-
/** @returns {
|
|
4344
|
-
declare function
|
|
4345
|
-
type
|
|
4329
|
+
/** @returns {AggregatorControlRequest} */
|
|
4330
|
+
declare function AggregatorControlRequest(): AggregatorControlRequest;
|
|
4331
|
+
type AggregatorControlRequest = {
|
|
4346
4332
|
/**
|
|
4347
4333
|
* - Business unit
|
|
4348
4334
|
*/
|