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