@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +53 -60
- package/sdk/application/Cart/CartApplicationClient.js +53 -130
- package/sdk/application/Cart/CartApplicationModel.d.ts +143 -489
- package/sdk/application/Cart/CartApplicationModel.js +159 -380
- package/sdk/application/Cart/CartApplicationValidator.d.ts +19 -38
- package/sdk/application/Cart/CartApplicationValidator.js +18 -34
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +68 -88
- package/sdk/application/Catalog/CatalogApplicationClient.js +94 -114
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +142 -194
- package/sdk/application/Catalog/CatalogApplicationModel.js +133 -171
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -3
- package/sdk/application/Common/CommonApplicationClient.js +5 -6
- package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
- package/sdk/application/Common/CommonApplicationModel.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +27 -34
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +27 -34
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +57 -45
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +47 -35
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +33 -23
- package/sdk/application/Content/ContentApplicationClient.js +75 -54
- package/sdk/application/Content/ContentApplicationModel.d.ts +37 -93
- package/sdk/application/Content/ContentApplicationModel.js +32 -83
- package/sdk/application/Content/ContentApplicationValidator.d.ts +17 -23
- package/sdk/application/Content/ContentApplicationValidator.js +10 -15
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -9
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +13 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +25 -23
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +18 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -2
- package/sdk/application/Lead/LeadApplicationClient.js +3 -2
- package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationModel.js +19 -19
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -39
- package/sdk/application/Logistic/LogisticApplicationClient.js +21 -189
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +173 -532
- package/sdk/application/Logistic/LogisticApplicationModel.js +139 -409
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +9 -54
- package/sdk/application/Logistic/LogisticApplicationValidator.js +8 -42
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -24
- package/sdk/application/Order/OrderApplicationClient.js +13 -96
- package/sdk/application/Order/OrderApplicationModel.d.ts +120 -436
- package/sdk/application/Order/OrderApplicationModel.js +81 -279
- package/sdk/application/Order/OrderApplicationValidator.d.ts +3 -17
- package/sdk/application/Order/OrderApplicationValidator.js +2 -15
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +99 -96
- package/sdk/application/Payment/PaymentApplicationClient.js +114 -111
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +289 -293
- package/sdk/application/Payment/PaymentApplicationModel.js +241 -243
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +22 -19
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
- package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
- package/sdk/application/Share/ShareApplicationModel.js +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +6 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +17 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +22 -42
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +3 -16
- package/sdk/application/Theme/ThemeApplicationValidator.js +2 -9
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +10 -10
- package/sdk/application/User/UserApplicationModel.d.ts +17 -17
- package/sdk/application/User/UserApplicationModel.js +16 -16
- package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.js +2 -2
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +9 -11
- package/sdk/application/Webhook/WebhookApplicationModel.js +6 -8
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
- package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
- package/sdk/application/index.d.ts +0 -1
- package/sdk/application/index.js +0 -2
- 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 +85 -767
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
- 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 +112 -407
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1321 -4975
- package/sdk/platform/Cart/CartPlatformModel.js +1226 -1922
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
- package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1751 -1501
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1224 -1393
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- 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 +124 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +94 -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 +4 -15
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -83
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -25
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -16
- package/sdk/platform/Order/OrderPlatformClient.d.ts +97 -178
- package/sdk/platform/Order/OrderPlatformClient.js +245 -597
- package/sdk/platform/Order/OrderPlatformModel.d.ts +3071 -5449
- package/sdk/platform/Order/OrderPlatformModel.js +1656 -3501
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +190 -237
- package/sdk/platform/Order/OrderPlatformValidator.js +105 -153
- 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 +106 -94
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +507 -386
- package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
- 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 +35 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +396 -620
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +326 -501
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
- 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 -36
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
- package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
- package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
|
@@ -13,7 +13,7 @@ export = PaymentApplicationModel;
|
|
|
13
13
|
* @property {string} [merchant_id] - Unique merchant id.
|
|
14
14
|
*/
|
|
15
15
|
/**
|
|
16
|
-
* @typedef
|
|
16
|
+
* @typedef AggregatorsConfigDetailResponse
|
|
17
17
|
* @property {boolean} success - Api response was successful or not.
|
|
18
18
|
* @property {AggregatorConfigDetail} [razorpay]
|
|
19
19
|
* @property {AggregatorConfigDetail} [juspay]
|
|
@@ -31,19 +31,19 @@ export = PaymentApplicationModel;
|
|
|
31
31
|
* @property {string} description - Error human understandable description.
|
|
32
32
|
*/
|
|
33
33
|
/**
|
|
34
|
-
* @typedef
|
|
34
|
+
* @typedef HttpErrorCodeAndResponse
|
|
35
35
|
* @property {ErrorCodeAndDescription} [error]
|
|
36
36
|
* @property {boolean} success - Response is successful or not.
|
|
37
37
|
*/
|
|
38
38
|
/**
|
|
39
|
-
* @typedef
|
|
39
|
+
* @typedef AttachCardRequest
|
|
40
40
|
* @property {string} [nickname] - Nickname of the card holder.
|
|
41
41
|
* @property {boolean} [refresh] - Refresh cache flag.
|
|
42
42
|
* @property {string} card_id - Card token of payment gateway.
|
|
43
43
|
* @property {string} [name_on_card] - Name of the card holder.
|
|
44
44
|
*/
|
|
45
45
|
/**
|
|
46
|
-
* @typedef
|
|
46
|
+
* @typedef AttachCardsResponse
|
|
47
47
|
* @property {Object} data - List of cards of customer.
|
|
48
48
|
* @property {boolean} success - Response is successful or not.
|
|
49
49
|
* @property {string} [message] - Human readable message.
|
|
@@ -55,7 +55,7 @@ export = PaymentApplicationModel;
|
|
|
55
55
|
* @property {string} [customer_id] - Payment gateway customer id.
|
|
56
56
|
*/
|
|
57
57
|
/**
|
|
58
|
-
* @typedef
|
|
58
|
+
* @typedef ActiveCardPaymentGatewayResponse
|
|
59
59
|
* @property {CardPaymentGateway} cards
|
|
60
60
|
* @property {boolean} success - Response is successful or not.
|
|
61
61
|
* @property {string} message - Human readable message.
|
|
@@ -84,22 +84,22 @@ export = PaymentApplicationModel;
|
|
|
84
84
|
* @property {string} [card_id] - Unique identifier for the card within the system.
|
|
85
85
|
*/
|
|
86
86
|
/**
|
|
87
|
-
* @typedef
|
|
87
|
+
* @typedef ListCardsResponse
|
|
88
88
|
* @property {Card[]} [data] - List of cards of customer.
|
|
89
89
|
* @property {boolean} success - Response is successful or not.
|
|
90
90
|
* @property {string} message - Human readable message.
|
|
91
91
|
*/
|
|
92
92
|
/**
|
|
93
|
-
* @typedef
|
|
93
|
+
* @typedef DeletehCardRequest
|
|
94
94
|
* @property {string} card_id - Card token of payment gateway.
|
|
95
95
|
*/
|
|
96
96
|
/**
|
|
97
|
-
* @typedef
|
|
97
|
+
* @typedef DeleteCardsResponse
|
|
98
98
|
* @property {boolean} success - Response is successful or not.
|
|
99
99
|
* @property {string} [message] - Human readable message.
|
|
100
100
|
*/
|
|
101
101
|
/**
|
|
102
|
-
* @typedef
|
|
102
|
+
* @typedef ValidateCustomerRequest
|
|
103
103
|
* @property {string} aggregator - Payment gateway name in camelcase i.e Simple, Rupifi.
|
|
104
104
|
* @property {number} transaction_amount_in_paise - Payable amount in paise.
|
|
105
105
|
* @property {string} phone_number - User mobile number without country code.
|
|
@@ -110,13 +110,13 @@ export = PaymentApplicationModel;
|
|
|
110
110
|
* @property {Object} [delivery_address] - Extra meta fields.
|
|
111
111
|
*/
|
|
112
112
|
/**
|
|
113
|
-
* @typedef
|
|
113
|
+
* @typedef ValidateCustomerResponse
|
|
114
114
|
* @property {Object} [data] - Payment gateway response data.
|
|
115
115
|
* @property {boolean} success - Response is successful or not.
|
|
116
116
|
* @property {string} message - Error or success message.
|
|
117
117
|
*/
|
|
118
118
|
/**
|
|
119
|
-
* @typedef
|
|
119
|
+
* @typedef ChargeCustomerRequest
|
|
120
120
|
* @property {boolean} [verified] - Already Verified flag from payment gateway i.e Mswipe.
|
|
121
121
|
* @property {string} aggregator - Payment gateway name i.e Simpl, Mswipe.
|
|
122
122
|
* @property {string} order_id - Unique order id.
|
|
@@ -124,7 +124,7 @@ export = PaymentApplicationModel;
|
|
|
124
124
|
* @property {number} amount - Chargeable amount of order.
|
|
125
125
|
*/
|
|
126
126
|
/**
|
|
127
|
-
* @typedef
|
|
127
|
+
* @typedef ChargeCustomerResponse
|
|
128
128
|
* @property {string} status - Status of charged payment.
|
|
129
129
|
* @property {string} [cart_id] - Cart id of customer.
|
|
130
130
|
* @property {boolean} success - Response is successful or not.
|
|
@@ -134,7 +134,7 @@ export = PaymentApplicationModel;
|
|
|
134
134
|
* @property {string} [delivery_address_id] - Delivery address id of customer.
|
|
135
135
|
*/
|
|
136
136
|
/**
|
|
137
|
-
* @typedef
|
|
137
|
+
* @typedef PaymentInitializationRequest
|
|
138
138
|
* @property {string} [razorpay_payment_id] - Payment gateway payment id.
|
|
139
139
|
* @property {string} method - Payment method.
|
|
140
140
|
* @property {string} [device_id] - EDC machine Unique Identifier.
|
|
@@ -150,7 +150,7 @@ export = PaymentApplicationModel;
|
|
|
150
150
|
* @property {string} email - Customer valid email.
|
|
151
151
|
*/
|
|
152
152
|
/**
|
|
153
|
-
* @typedef
|
|
153
|
+
* @typedef PaymentInitializationResponse
|
|
154
154
|
* @property {string} [status] - Status of payment.
|
|
155
155
|
* @property {string} [razorpay_payment_id] - Payment id.
|
|
156
156
|
* @property {string} [aggregator_order_id] - Payment order id.
|
|
@@ -170,8 +170,8 @@ export = PaymentApplicationModel;
|
|
|
170
170
|
* @property {string} [bqr_image] - Bharat qr image url.
|
|
171
171
|
*/
|
|
172
172
|
/**
|
|
173
|
-
* @typedef
|
|
174
|
-
* @property {string} status - Status of payment.
|
|
173
|
+
* @typedef PaymentStatusUpdateRequest
|
|
174
|
+
* @property {string} [status] - Status of payment.
|
|
175
175
|
* @property {string} [merchant_transaction_id] - Unique fynd transaction id.
|
|
176
176
|
* @property {string} method - Payment method.
|
|
177
177
|
* @property {string} [device_id] - EDC machine Unique Identifier.
|
|
@@ -180,13 +180,13 @@ export = PaymentApplicationModel;
|
|
|
180
180
|
* @property {string} [contact] - Customer valid mobile number.
|
|
181
181
|
* @property {string} merchant_order_id - Unique fynd order id.
|
|
182
182
|
* @property {string} [vpa] - Customer vpa address.
|
|
183
|
-
* @property {string} order_id - Payment gateway order id.
|
|
183
|
+
* @property {string} [order_id] - Payment gateway order id.
|
|
184
184
|
* @property {string} [currency] - Currency code.
|
|
185
185
|
* @property {number} [amount] - Payable amount.
|
|
186
186
|
* @property {string} [email] - Customer valid email.
|
|
187
187
|
*/
|
|
188
188
|
/**
|
|
189
|
-
* @typedef
|
|
189
|
+
* @typedef PaymentStatusUpdateResponse
|
|
190
190
|
* @property {string} status - Payment status.
|
|
191
191
|
* @property {boolean} [success] - Response is successful or not.
|
|
192
192
|
* @property {boolean} retry - Response is successful or not.
|
|
@@ -336,7 +336,7 @@ export = PaymentApplicationModel;
|
|
|
336
336
|
* @property {AdvanceObject} [advance]
|
|
337
337
|
*/
|
|
338
338
|
/**
|
|
339
|
-
* @typedef
|
|
339
|
+
* @typedef PaymentModeRouteResponse
|
|
340
340
|
* @property {PaymentOptionAndFlow} payment_options
|
|
341
341
|
* @property {boolean} success - Response is successful or not.
|
|
342
342
|
* @property {Object} [payment_breakup] - Payment Breakup for advance payment.
|
|
@@ -370,7 +370,7 @@ export = PaymentApplicationModel;
|
|
|
370
370
|
* @property {string} [kyc_url] - Rupifi KYC banner url.
|
|
371
371
|
*/
|
|
372
372
|
/**
|
|
373
|
-
* @typedef
|
|
373
|
+
* @typedef RupifiBannerResponse
|
|
374
374
|
* @property {RupifiBannerData} data
|
|
375
375
|
* @property {boolean} success - Successful or not.
|
|
376
376
|
*/
|
|
@@ -381,12 +381,12 @@ export = PaymentApplicationModel;
|
|
|
381
381
|
* @property {boolean} display - Need to display banner or not.
|
|
382
382
|
*/
|
|
383
383
|
/**
|
|
384
|
-
* @typedef
|
|
384
|
+
* @typedef EpaylaterBannerResponse
|
|
385
385
|
* @property {EpaylaterBannerData} data
|
|
386
386
|
* @property {boolean} success - Successful or not.
|
|
387
387
|
*/
|
|
388
388
|
/**
|
|
389
|
-
* @typedef
|
|
389
|
+
* @typedef ResendOrCancelPaymentRequest
|
|
390
390
|
* @property {string} order_id - Unique order id.
|
|
391
391
|
* @property {string} [device_id] - EDC machine Unique Identifier.
|
|
392
392
|
* @property {string} request_type - Either resend or cancel.
|
|
@@ -399,21 +399,21 @@ export = PaymentApplicationModel;
|
|
|
399
399
|
* status of payment link.
|
|
400
400
|
*/
|
|
401
401
|
/**
|
|
402
|
-
* @typedef
|
|
402
|
+
* @typedef ResendOrCancelPaymentResponse
|
|
403
403
|
* @property {LinkStatus} data
|
|
404
404
|
* @property {boolean} success - Response is successful or not.
|
|
405
405
|
*/
|
|
406
406
|
/**
|
|
407
|
-
* @typedef
|
|
407
|
+
* @typedef renderHTMLRequest
|
|
408
408
|
* @property {string} [returntype] - Return Type of API.
|
|
409
409
|
* @property {string} base64_html - Base64 encoded html string.
|
|
410
410
|
*/
|
|
411
411
|
/**
|
|
412
|
-
* @typedef
|
|
412
|
+
* @typedef renderHTMLResponse
|
|
413
413
|
* @property {string} html - HTML string.
|
|
414
414
|
*/
|
|
415
415
|
/**
|
|
416
|
-
* @typedef
|
|
416
|
+
* @typedef ValidateVPARequest
|
|
417
417
|
* @property {string} upi_vpa - UPI ID.
|
|
418
418
|
* @property {string} [aggregator] - Aggregator slug.
|
|
419
419
|
*/
|
|
@@ -425,7 +425,7 @@ export = PaymentApplicationModel;
|
|
|
425
425
|
* @property {string} upi_vpa - UPI ID.
|
|
426
426
|
*/
|
|
427
427
|
/**
|
|
428
|
-
* @typedef
|
|
428
|
+
* @typedef ValidateVPAResponse
|
|
429
429
|
* @property {ValidateUPI} data
|
|
430
430
|
* @property {boolean} success - Response is successful or not.
|
|
431
431
|
*/
|
|
@@ -450,7 +450,7 @@ export = PaymentApplicationModel;
|
|
|
450
450
|
* @property {string} bank - Bank associated with the card.
|
|
451
451
|
*/
|
|
452
452
|
/**
|
|
453
|
-
* @typedef
|
|
453
|
+
* @typedef CardDetailsResponse
|
|
454
454
|
* @property {CardDetails} data
|
|
455
455
|
* @property {boolean} success - Response is successful or not.
|
|
456
456
|
*/
|
|
@@ -468,21 +468,21 @@ export = PaymentApplicationModel;
|
|
|
468
468
|
* @property {string} display_name - Beneficiary Mode Name.
|
|
469
469
|
*/
|
|
470
470
|
/**
|
|
471
|
-
* @typedef
|
|
471
|
+
* @typedef TransferModeResponse
|
|
472
472
|
* @property {TransferModeDetails[]} data - Response Object.
|
|
473
473
|
*/
|
|
474
474
|
/**
|
|
475
|
-
* @typedef
|
|
475
|
+
* @typedef UpdateRefundTransferModeRequest
|
|
476
476
|
* @property {boolean} enable - True for enabling the Transfer Mode.
|
|
477
477
|
* @property {string} transfer_mode - Transfer Mode of the Beneficiary to be added.
|
|
478
478
|
*/
|
|
479
479
|
/**
|
|
480
|
-
* @typedef
|
|
480
|
+
* @typedef UpdateRefundTransferModeResponse
|
|
481
481
|
* @property {boolean} [success] - Response is successful or not.
|
|
482
482
|
*/
|
|
483
483
|
/**
|
|
484
484
|
* @typedef OrderBeneficiaryDetails
|
|
485
|
-
* @property {string} modified_on -
|
|
485
|
+
* @property {string} modified_on - MOdification Date of Beneficiary.
|
|
486
486
|
* @property {string} account_no - Account Number.
|
|
487
487
|
* @property {string} [mobile] - MObile no of User.
|
|
488
488
|
* @property {string} bank_name - Bank Name Of Account.
|
|
@@ -503,7 +503,7 @@ export = PaymentApplicationModel;
|
|
|
503
503
|
* @property {string} display_name - Display Name Of Account.
|
|
504
504
|
*/
|
|
505
505
|
/**
|
|
506
|
-
* @typedef
|
|
506
|
+
* @typedef OrderBeneficiaryResponse
|
|
507
507
|
* @property {boolean} [show_beneficiary_details] - Show beneficiary details or not.
|
|
508
508
|
* @property {OrderBeneficiaryDetails[]} [beneficiaries] - All Beneficiaries Of An Order.
|
|
509
509
|
*/
|
|
@@ -514,7 +514,7 @@ export = PaymentApplicationModel;
|
|
|
514
514
|
* @property {boolean} success - Response is successful or not.
|
|
515
515
|
*/
|
|
516
516
|
/**
|
|
517
|
-
* @typedef
|
|
517
|
+
* @typedef IfscCodeResponse
|
|
518
518
|
* @property {string} branch_name - Branch Name Of Account.
|
|
519
519
|
* @property {boolean} [success] - Response is successful or not.
|
|
520
520
|
* @property {string} bank_name - Bank Name Of Account.
|
|
@@ -526,13 +526,13 @@ export = PaymentApplicationModel;
|
|
|
526
526
|
* @property {boolean} success - Response is successful or not.
|
|
527
527
|
*/
|
|
528
528
|
/**
|
|
529
|
-
* @typedef
|
|
529
|
+
* @typedef AddBeneficiaryViaOtpVerificationRequest
|
|
530
530
|
* @property {string} request_id - Request id.
|
|
531
531
|
* @property {string} hash_key - Hash key of the beneficiary Id.
|
|
532
532
|
* @property {string} otp - Otp sent to the given Mobile No.
|
|
533
533
|
*/
|
|
534
534
|
/**
|
|
535
|
-
* @typedef
|
|
535
|
+
* @typedef AddBeneficiaryViaOtpVerificationResponse
|
|
536
536
|
* @property {boolean} [success] - Response is successful or not.
|
|
537
537
|
* @property {string} message - Aggregator Response of beneficiary.
|
|
538
538
|
*/
|
|
@@ -557,7 +557,7 @@ export = PaymentApplicationModel;
|
|
|
557
557
|
* @property {string} email - Email of the Account Holder.
|
|
558
558
|
*/
|
|
559
559
|
/**
|
|
560
|
-
* @typedef
|
|
560
|
+
* @typedef AddBeneficiaryDetailsRequest
|
|
561
561
|
* @property {boolean} delights - True if beneficiary to be added by delights or
|
|
562
562
|
* False if by User.
|
|
563
563
|
* @property {string} shipment_id - Shipment Id of the respective Merchant Order Id.
|
|
@@ -568,7 +568,7 @@ export = PaymentApplicationModel;
|
|
|
568
568
|
* @property {string} [request_id] - Request Id for add benificiary request.
|
|
569
569
|
*/
|
|
570
570
|
/**
|
|
571
|
-
* @typedef
|
|
571
|
+
* @typedef RefundAccountResponse
|
|
572
572
|
* @property {boolean} [is_verified_flag] - Flag for verification of refund.
|
|
573
573
|
* @property {Object} [data] - Refund account data.
|
|
574
574
|
* @property {boolean} success - Success or failure flag.
|
|
@@ -583,34 +583,34 @@ export = PaymentApplicationModel;
|
|
|
583
583
|
* @property {string} account_holder - Name of the account holder.
|
|
584
584
|
*/
|
|
585
585
|
/**
|
|
586
|
-
* @typedef
|
|
586
|
+
* @typedef AddBeneficiaryDetailsOTPRequest
|
|
587
587
|
* @property {string} order_id - Unique identifier for an order.
|
|
588
588
|
* @property {BankDetailsForOTP} details
|
|
589
589
|
*/
|
|
590
590
|
/**
|
|
591
|
-
* @typedef
|
|
591
|
+
* @typedef WalletOtpRequest
|
|
592
592
|
* @property {string} country_code - Country Code of the Mobile Number.
|
|
593
593
|
* @property {string} mobile - Wallet Mobile Number of the User.
|
|
594
594
|
*/
|
|
595
595
|
/**
|
|
596
|
-
* @typedef
|
|
596
|
+
* @typedef WalletOtpResponse
|
|
597
597
|
* @property {string} request_id - Request Id for wallet otp request.
|
|
598
598
|
* @property {string} is_verified_flag - Boolean Flag whether OTP Validation is
|
|
599
599
|
* already done or not.
|
|
600
600
|
* @property {boolean} [success] - Response is successful or not.
|
|
601
601
|
*/
|
|
602
602
|
/**
|
|
603
|
-
* @typedef
|
|
603
|
+
* @typedef SetDefaultBeneficiaryRequest
|
|
604
604
|
* @property {string} order_id - Merchant Order Id.
|
|
605
605
|
* @property {string} beneficiary_id - Beneficiary Hash Id of the beneficiary added.
|
|
606
606
|
*/
|
|
607
607
|
/**
|
|
608
|
-
* @typedef
|
|
608
|
+
* @typedef SetDefaultBeneficiaryResponse
|
|
609
609
|
* @property {boolean} is_beneficiary_set - Boolean Flag whether Beneficiary set or not.
|
|
610
610
|
* @property {boolean} [success] - Response is successful or not.
|
|
611
611
|
*/
|
|
612
612
|
/**
|
|
613
|
-
* @typedef
|
|
613
|
+
* @typedef GetPaymentLinkResponse
|
|
614
614
|
* @property {number} status_code - HTTP status code.
|
|
615
615
|
* @property {string} [payment_link_current_status] - Status of payment link.
|
|
616
616
|
* @property {boolean} success - Successful or failure.
|
|
@@ -633,7 +633,7 @@ export = PaymentApplicationModel;
|
|
|
633
633
|
* @property {boolean} [invalid_id] - Payment link id is valid or not.
|
|
634
634
|
*/
|
|
635
635
|
/**
|
|
636
|
-
* @typedef
|
|
636
|
+
* @typedef ErrorResponse
|
|
637
637
|
* @property {number} status_code - HTTP status code.
|
|
638
638
|
* @property {ErrorDescription} [error]
|
|
639
639
|
* @property {string} message - Detailed message.
|
|
@@ -649,7 +649,7 @@ export = PaymentApplicationModel;
|
|
|
649
649
|
* @property {string} amount - Total amount for the transaction.
|
|
650
650
|
*/
|
|
651
651
|
/**
|
|
652
|
-
* @typedef
|
|
652
|
+
* @typedef CreatePaymentLinkRequest
|
|
653
653
|
* @property {string} [description] - Merchant order id.
|
|
654
654
|
* @property {string} external_order_id - Merchant order id.
|
|
655
655
|
* @property {string} mobile_number - Mobile number to which the payment link is
|
|
@@ -657,13 +657,9 @@ export = PaymentApplicationModel;
|
|
|
657
657
|
* @property {number} amount - Total value of order.
|
|
658
658
|
* @property {CreatePaymentLinkMeta} meta
|
|
659
659
|
* @property {string} email - Email to which the payment link is to be sent.
|
|
660
|
-
* @property {string} [success_redirection_url] - URL to which the user will be
|
|
661
|
-
* redirected after a successful payment.
|
|
662
|
-
* @property {string} [failure_redirection_url] - URL to which the user will be
|
|
663
|
-
* redirected if the payment fails.
|
|
664
660
|
*/
|
|
665
661
|
/**
|
|
666
|
-
* @typedef
|
|
662
|
+
* @typedef CreatePaymentLinkResponse
|
|
667
663
|
* @property {number} status_code - HTTP status code.
|
|
668
664
|
* @property {boolean} success - Successful or failure.
|
|
669
665
|
* @property {number} [polling_timeout] - Polling request timeout.
|
|
@@ -672,24 +668,24 @@ export = PaymentApplicationModel;
|
|
|
672
668
|
* @property {string} [payment_link_id] - Unique id of payment link.
|
|
673
669
|
*/
|
|
674
670
|
/**
|
|
675
|
-
* @typedef
|
|
671
|
+
* @typedef CancelOrResendPaymentLinkRequest
|
|
676
672
|
* @property {string} payment_link_id - Unique id of payment link.
|
|
677
673
|
*/
|
|
678
674
|
/**
|
|
679
|
-
* @typedef
|
|
675
|
+
* @typedef ResendPaymentLinkResponse
|
|
680
676
|
* @property {number} status_code - HTTP status code.
|
|
681
677
|
* @property {number} [polling_timeout] - Polling request timeout.
|
|
682
678
|
* @property {boolean} success - Successful or failure.
|
|
683
679
|
* @property {string} message - Detailed message.
|
|
684
680
|
*/
|
|
685
681
|
/**
|
|
686
|
-
* @typedef
|
|
682
|
+
* @typedef CancelPaymentLinkResponse
|
|
687
683
|
* @property {number} status_code - HTTP status code.
|
|
688
684
|
* @property {boolean} success - Successful or failure.
|
|
689
685
|
* @property {string} message - Detailed message.
|
|
690
686
|
*/
|
|
691
687
|
/**
|
|
692
|
-
* @typedef
|
|
688
|
+
* @typedef PollingPaymentLinkResponse
|
|
693
689
|
* @property {string} [status] - Status of payment link.
|
|
694
690
|
* @property {number} [status_code] - HTTP status code.
|
|
695
691
|
* @property {boolean} [success] - Successful or failure.
|
|
@@ -714,10 +710,12 @@ export = PaymentApplicationModel;
|
|
|
714
710
|
* @property {PaymentMethodsMeta} meta
|
|
715
711
|
*/
|
|
716
712
|
/**
|
|
717
|
-
* @typedef
|
|
713
|
+
* @typedef CreateOrderUserRequest
|
|
714
|
+
* @property {string} failure_callback_url - Failure page url.
|
|
718
715
|
* @property {string} currency - Currency of the transaction.
|
|
719
716
|
* @property {string} payment_link_id - Unique id of payment link.
|
|
720
717
|
* @property {CreateOrderUserPaymentMethods} payment_methods
|
|
718
|
+
* @property {string} success_callback_url - Success page url.
|
|
721
719
|
* @property {Object} [meta] - Meta details.
|
|
722
720
|
*/
|
|
723
721
|
/**
|
|
@@ -734,7 +732,7 @@ export = PaymentApplicationModel;
|
|
|
734
732
|
* @property {string} [email] - Email.
|
|
735
733
|
*/
|
|
736
734
|
/**
|
|
737
|
-
* @typedef
|
|
735
|
+
* @typedef CreateOrderUserResponse
|
|
738
736
|
* @property {number} status_code - HTTP status code.
|
|
739
737
|
* @property {boolean} success - Successful or failure.
|
|
740
738
|
* @property {CreateOrderUserData} [data]
|
|
@@ -768,7 +766,7 @@ export = PaymentApplicationModel;
|
|
|
768
766
|
* @property {string} [activation_url] - Url for activation.
|
|
769
767
|
*/
|
|
770
768
|
/**
|
|
771
|
-
* @typedef
|
|
769
|
+
* @typedef CustomerCreditSummaryResponse
|
|
772
770
|
* @property {CreditSummary} [data]
|
|
773
771
|
* @property {boolean} success - Payment confirmation updated or not.
|
|
774
772
|
*/
|
|
@@ -778,7 +776,7 @@ export = PaymentApplicationModel;
|
|
|
778
776
|
* @property {string} signup_url - URL to which the user may redirect.
|
|
779
777
|
*/
|
|
780
778
|
/**
|
|
781
|
-
* @typedef
|
|
779
|
+
* @typedef RedirectToAggregatorResponse
|
|
782
780
|
* @property {RedirectURL} data
|
|
783
781
|
* @property {boolean} success - Status updated or not.
|
|
784
782
|
*/
|
|
@@ -789,7 +787,7 @@ export = PaymentApplicationModel;
|
|
|
789
787
|
* @property {string} signup_url - URL to which the user may redirect.
|
|
790
788
|
*/
|
|
791
789
|
/**
|
|
792
|
-
* @typedef
|
|
790
|
+
* @typedef CheckCreditResponse
|
|
793
791
|
* @property {CreditDetail} data
|
|
794
792
|
* @property {boolean} success - Operation is successful or not.
|
|
795
793
|
*/
|
|
@@ -857,7 +855,7 @@ export = PaymentApplicationModel;
|
|
|
857
855
|
* @property {string} [os_version] - OS Version.
|
|
858
856
|
*/
|
|
859
857
|
/**
|
|
860
|
-
* @typedef
|
|
858
|
+
* @typedef CustomerOnboardingRequest
|
|
861
859
|
* @property {UserPersonalInfoInDetails} [personal_info]
|
|
862
860
|
* @property {string} [mcc] - Merchant Category Code, indicating the type of business.
|
|
863
861
|
* @property {string} aggregator - Payment aggregator handling the transaction.
|
|
@@ -877,26 +875,26 @@ export = PaymentApplicationModel;
|
|
|
877
875
|
* @property {string} [activation_url] - Url for activation.
|
|
878
876
|
*/
|
|
879
877
|
/**
|
|
880
|
-
* @typedef
|
|
878
|
+
* @typedef CustomerOnboardingResponse
|
|
881
879
|
* @property {OnboardSummary} data
|
|
882
880
|
* @property {boolean} success - Status updated or not.
|
|
883
881
|
*/
|
|
884
882
|
/**
|
|
885
|
-
* @typedef
|
|
886
|
-
* @property {number} status_code - HTTP
|
|
883
|
+
* @typedef OutstandingOrderDetailsResponse
|
|
884
|
+
* @property {number} status_code - HTTP Status code.
|
|
887
885
|
* @property {Object[]} [data] - Dict containing the outstanding order details.
|
|
888
886
|
* @property {boolean} success - Response is successful or not.
|
|
889
887
|
* @property {string} [message] - Message.
|
|
890
888
|
*/
|
|
891
889
|
/**
|
|
892
|
-
* @typedef
|
|
893
|
-
* @property {number} status_code - HTTP
|
|
890
|
+
* @typedef PaidOrderDetailsResponse
|
|
891
|
+
* @property {number} status_code - HTTP Status code.
|
|
894
892
|
* @property {Object[]} [data] - Dict containing the paid order details.
|
|
895
893
|
* @property {boolean} success - Response is successful or not.
|
|
896
894
|
* @property {string} [message] - Message.
|
|
897
895
|
*/
|
|
898
896
|
/**
|
|
899
|
-
* @typedef
|
|
897
|
+
* @typedef DeleteRefundAccountResponse
|
|
900
898
|
* @property {boolean} success - Success/Failure of the deleted beneficiary.
|
|
901
899
|
* @property {string} message - Message.
|
|
902
900
|
*/
|
|
@@ -918,14 +916,14 @@ export = PaymentApplicationModel;
|
|
|
918
916
|
* Code value.
|
|
919
917
|
*/
|
|
920
918
|
/**
|
|
921
|
-
* @typedef
|
|
919
|
+
* @typedef RefundOptionResponse
|
|
922
920
|
* @property {OfflineRefundOptions} offline_refund_options - Available offline
|
|
923
921
|
* refund options data.
|
|
924
922
|
* @property {boolean} success - Success/Failure Of response.
|
|
925
923
|
* @property {RefundOptions} refund_options - Available refund options data.
|
|
926
924
|
*/
|
|
927
925
|
/**
|
|
928
|
-
* @typedef
|
|
926
|
+
* @typedef SelectedRefundOptionResponse
|
|
929
927
|
* @property {Object} transfer_mode - Selected transfer mode for given shipment.
|
|
930
928
|
* @property {string} shipment_id - ID of the shipment.
|
|
931
929
|
* @property {string} message - Detailed message.
|
|
@@ -977,14 +975,14 @@ export = PaymentApplicationModel;
|
|
|
977
975
|
* @property {UpiBeneficiaryDetails} [upi] - List of all add UPI beneficiary details.
|
|
978
976
|
*/
|
|
979
977
|
/**
|
|
980
|
-
* @typedef
|
|
978
|
+
* @typedef OrderBeneficiaryResponseSchemaV2
|
|
981
979
|
* @property {boolean} show_beneficiary_details - Show Beneficiary details on UI or not.
|
|
982
980
|
* @property {BeneficiaryRefundOptions} data - Beneficiary Data for Bank
|
|
983
981
|
* account, UPI and Wallets.
|
|
984
982
|
* @property {Object} limit - Max Limit for adding bank account, UPI and wallet.
|
|
985
983
|
*/
|
|
986
984
|
/**
|
|
987
|
-
* @typedef
|
|
985
|
+
* @typedef ValidateValidateAddressRequest
|
|
988
986
|
* @property {string} [ifsc_code] - IFSC Code.
|
|
989
987
|
* @property {string} [upi_vpa] - VPA Address.
|
|
990
988
|
* @property {string} [aggregator] - Aggregator Name.
|
|
@@ -997,7 +995,7 @@ export = PaymentApplicationModel;
|
|
|
997
995
|
* @property {string} customer_name - VPA Customer Name.
|
|
998
996
|
*/
|
|
999
997
|
/**
|
|
1000
|
-
* @typedef
|
|
998
|
+
* @typedef ValidateValidateAddressResponse
|
|
1001
999
|
* @property {VPADetails} [upi] - UPI validation details.
|
|
1002
1000
|
* @property {boolean} success - Whether address validation is successful or not.
|
|
1003
1001
|
* @property {Object} [ifsc] - IFSC details response data.
|
|
@@ -1017,7 +1015,7 @@ export = PaymentApplicationModel;
|
|
|
1017
1015
|
* @property {string} name - Payment mode name.
|
|
1018
1016
|
*/
|
|
1019
1017
|
/**
|
|
1020
|
-
* @typedef
|
|
1018
|
+
* @typedef PaymentOrderRequest
|
|
1021
1019
|
* @property {PaymentOrderMethods[]} [payment_methods] - All payment methods for order.
|
|
1022
1020
|
* @property {string} order_id - Order id.
|
|
1023
1021
|
* @property {string} [shipment_id] - Shipment_id.
|
|
@@ -1036,7 +1034,7 @@ export = PaymentApplicationModel;
|
|
|
1036
1034
|
* @property {string} [method] - Method of payment or delivery for the order.
|
|
1037
1035
|
*/
|
|
1038
1036
|
/**
|
|
1039
|
-
* @typedef
|
|
1037
|
+
* @typedef PaymentOrderResponse
|
|
1040
1038
|
* @property {string} [payment_confirm_url] - Payment confirm url for aggregator.
|
|
1041
1039
|
* @property {string} [callback_url] - Callback url for aggregator.
|
|
1042
1040
|
* @property {string} [order_id] - Merchant order id.
|
|
@@ -1046,7 +1044,7 @@ export = PaymentApplicationModel;
|
|
|
1046
1044
|
* @property {string} message - Detailed message.
|
|
1047
1045
|
*/
|
|
1048
1046
|
/**
|
|
1049
|
-
* @typedef
|
|
1047
|
+
* @typedef ShipmentRefundRequest
|
|
1050
1048
|
* @property {string} shipment_id - Shipment Id of the respective Merchant Order Id.
|
|
1051
1049
|
* @property {string} order_id - Merchant Order Id.
|
|
1052
1050
|
* @property {string} transfer_mode - Transfer Mode of the Beneficiary to be added.
|
|
@@ -1062,7 +1060,7 @@ export = PaymentApplicationModel;
|
|
|
1062
1060
|
* receiving the refund.
|
|
1063
1061
|
*/
|
|
1064
1062
|
/**
|
|
1065
|
-
* @typedef
|
|
1063
|
+
* @typedef ShipmentRefundResponse
|
|
1066
1064
|
* @property {ShipmentRefundDetail} data - Selected Shipment refund option details.
|
|
1067
1065
|
* @property {boolean} success - Successful or not.
|
|
1068
1066
|
* @property {string} message - Detailed message.
|
|
@@ -1070,7 +1068,7 @@ export = PaymentApplicationModel;
|
|
|
1070
1068
|
declare class PaymentApplicationModel {
|
|
1071
1069
|
}
|
|
1072
1070
|
declare namespace PaymentApplicationModel {
|
|
1073
|
-
export { AggregatorConfigDetail,
|
|
1071
|
+
export { AggregatorConfigDetail, AggregatorsConfigDetailResponse, ErrorCodeAndDescription, HttpErrorCodeAndResponse, AttachCardRequest, AttachCardsResponse, CardPaymentGateway, ActiveCardPaymentGatewayResponse, Card, ListCardsResponse, DeletehCardRequest, DeleteCardsResponse, ValidateCustomerRequest, ValidateCustomerResponse, ChargeCustomerRequest, ChargeCustomerResponse, PaymentInitializationRequest, PaymentInitializationResponse, PaymentStatusUpdateRequest, PaymentStatusUpdateResponse, IntentAppErrorList, PaymentModeLogo, IntentApp, PaymentModeList, RootPaymentMode, AggregatorRoute, PaymentDefaultSelection, PaymentFlow, PaymentOptionAndFlow, AdvanceObject, SplitObject, AdvancePaymentObject, PaymentModeRouteResponse, WalletLinkRequestSchema, WalletVerifyRequestSchema, WalletDelinkRequestSchema, WalletResponseSchema, RupifiBannerData, RupifiBannerResponse, EpaylaterBannerData, EpaylaterBannerResponse, ResendOrCancelPaymentRequest, LinkStatus, ResendOrCancelPaymentResponse, renderHTMLRequest, renderHTMLResponse, ValidateVPARequest, ValidateUPI, ValidateVPAResponse, CardDetails, CardDetailsResponse, TransferItemsDetails, TransferModeDetails, TransferModeResponse, UpdateRefundTransferModeRequest, UpdateRefundTransferModeResponse, OrderBeneficiaryDetails, OrderBeneficiaryResponse, NotFoundResourceError, IfscCodeResponse, ErrorCodeDescription, AddBeneficiaryViaOtpVerificationRequest, AddBeneficiaryViaOtpVerificationResponse, WrongOtpError, BeneficiaryModeDetails, AddBeneficiaryDetailsRequest, RefundAccountResponse, BankDetailsForOTP, AddBeneficiaryDetailsOTPRequest, WalletOtpRequest, WalletOtpResponse, SetDefaultBeneficiaryRequest, SetDefaultBeneficiaryResponse, GetPaymentLinkResponse, ErrorDescription, ErrorResponse, CreatePaymentLinkMeta, CreatePaymentLinkRequest, CreatePaymentLinkResponse, CancelOrResendPaymentLinkRequest, ResendPaymentLinkResponse, CancelPaymentLinkResponse, PollingPaymentLinkResponse, PaymentMethodsMeta, CreateOrderUserPaymentMethods, CreateOrderUserRequest, CreateOrderUserData, CreateOrderUserResponse, BalanceDetails, CreditSummary, CustomerCreditSummaryResponse, RedirectURL, RedirectToAggregatorResponse, CreditDetail, CheckCreditResponse, KYCAddress, UserPersonalInfoInDetails, MarketplaceInfo, BusinessDetails, DeviceDetails, CustomerOnboardingRequest, OnboardSummary, CustomerOnboardingResponse, OutstandingOrderDetailsResponse, PaidOrderDetailsResponse, DeleteRefundAccountResponse, RefundOptionsDetails, RefundOptions, OfflineRefundOptions, RefundOptionResponse, SelectedRefundOptionResponse, WalletBeneficiaryDetails, UpiBeneficiaryDetails, BeneficiaryRefundOptions, OrderBeneficiaryResponseSchemaV2, ValidateValidateAddressRequest, VPADetails, ValidateValidateAddressResponse, PaymentMethodsMetaOrder, PaymentOrderMethods, PaymentOrderRequest, PaymentOrderData, PaymentOrderResponse, ShipmentRefundRequest, ShipmentRefundDetail, ShipmentRefundResponse };
|
|
1074
1072
|
}
|
|
1075
1073
|
/** @returns {AggregatorConfigDetail} */
|
|
1076
1074
|
declare function AggregatorConfigDetail(): AggregatorConfigDetail;
|
|
@@ -1116,9 +1114,9 @@ type AggregatorConfigDetail = {
|
|
|
1116
1114
|
*/
|
|
1117
1115
|
merchant_id?: string;
|
|
1118
1116
|
};
|
|
1119
|
-
/** @returns {
|
|
1120
|
-
declare function
|
|
1121
|
-
type
|
|
1117
|
+
/** @returns {AggregatorsConfigDetailResponse} */
|
|
1118
|
+
declare function AggregatorsConfigDetailResponse(): AggregatorsConfigDetailResponse;
|
|
1119
|
+
type AggregatorsConfigDetailResponse = {
|
|
1122
1120
|
/**
|
|
1123
1121
|
* - Api response was successful or not.
|
|
1124
1122
|
*/
|
|
@@ -1148,18 +1146,18 @@ type ErrorCodeAndDescription = {
|
|
|
1148
1146
|
*/
|
|
1149
1147
|
description: string;
|
|
1150
1148
|
};
|
|
1151
|
-
/** @returns {
|
|
1152
|
-
declare function
|
|
1153
|
-
type
|
|
1149
|
+
/** @returns {HttpErrorCodeAndResponse} */
|
|
1150
|
+
declare function HttpErrorCodeAndResponse(): HttpErrorCodeAndResponse;
|
|
1151
|
+
type HttpErrorCodeAndResponse = {
|
|
1154
1152
|
error?: ErrorCodeAndDescription;
|
|
1155
1153
|
/**
|
|
1156
1154
|
* - Response is successful or not.
|
|
1157
1155
|
*/
|
|
1158
1156
|
success: boolean;
|
|
1159
1157
|
};
|
|
1160
|
-
/** @returns {
|
|
1161
|
-
declare function
|
|
1162
|
-
type
|
|
1158
|
+
/** @returns {AttachCardRequest} */
|
|
1159
|
+
declare function AttachCardRequest(): AttachCardRequest;
|
|
1160
|
+
type AttachCardRequest = {
|
|
1163
1161
|
/**
|
|
1164
1162
|
* - Nickname of the card holder.
|
|
1165
1163
|
*/
|
|
@@ -1177,9 +1175,9 @@ type AttachCard = {
|
|
|
1177
1175
|
*/
|
|
1178
1176
|
name_on_card?: string;
|
|
1179
1177
|
};
|
|
1180
|
-
/** @returns {
|
|
1181
|
-
declare function
|
|
1182
|
-
type
|
|
1178
|
+
/** @returns {AttachCardsResponse} */
|
|
1179
|
+
declare function AttachCardsResponse(): AttachCardsResponse;
|
|
1180
|
+
type AttachCardsResponse = {
|
|
1183
1181
|
/**
|
|
1184
1182
|
* - List of cards of customer.
|
|
1185
1183
|
*/
|
|
@@ -1209,9 +1207,9 @@ type CardPaymentGateway = {
|
|
|
1209
1207
|
*/
|
|
1210
1208
|
customer_id?: string;
|
|
1211
1209
|
};
|
|
1212
|
-
/** @returns {
|
|
1213
|
-
declare function
|
|
1214
|
-
type
|
|
1210
|
+
/** @returns {ActiveCardPaymentGatewayResponse} */
|
|
1211
|
+
declare function ActiveCardPaymentGatewayResponse(): ActiveCardPaymentGatewayResponse;
|
|
1212
|
+
type ActiveCardPaymentGatewayResponse = {
|
|
1215
1213
|
cards: CardPaymentGateway;
|
|
1216
1214
|
/**
|
|
1217
1215
|
* - Response is successful or not.
|
|
@@ -1297,9 +1295,9 @@ type Card = {
|
|
|
1297
1295
|
*/
|
|
1298
1296
|
card_id?: string;
|
|
1299
1297
|
};
|
|
1300
|
-
/** @returns {
|
|
1301
|
-
declare function
|
|
1302
|
-
type
|
|
1298
|
+
/** @returns {ListCardsResponse} */
|
|
1299
|
+
declare function ListCardsResponse(): ListCardsResponse;
|
|
1300
|
+
type ListCardsResponse = {
|
|
1303
1301
|
/**
|
|
1304
1302
|
* - List of cards of customer.
|
|
1305
1303
|
*/
|
|
@@ -1313,17 +1311,17 @@ type ListCardsDetails = {
|
|
|
1313
1311
|
*/
|
|
1314
1312
|
message: string;
|
|
1315
1313
|
};
|
|
1316
|
-
/** @returns {
|
|
1317
|
-
declare function
|
|
1318
|
-
type
|
|
1314
|
+
/** @returns {DeletehCardRequest} */
|
|
1315
|
+
declare function DeletehCardRequest(): DeletehCardRequest;
|
|
1316
|
+
type DeletehCardRequest = {
|
|
1319
1317
|
/**
|
|
1320
1318
|
* - Card token of payment gateway.
|
|
1321
1319
|
*/
|
|
1322
1320
|
card_id: string;
|
|
1323
1321
|
};
|
|
1324
|
-
/** @returns {
|
|
1325
|
-
declare function
|
|
1326
|
-
type
|
|
1322
|
+
/** @returns {DeleteCardsResponse} */
|
|
1323
|
+
declare function DeleteCardsResponse(): DeleteCardsResponse;
|
|
1324
|
+
type DeleteCardsResponse = {
|
|
1327
1325
|
/**
|
|
1328
1326
|
* - Response is successful or not.
|
|
1329
1327
|
*/
|
|
@@ -1333,9 +1331,9 @@ type DeleteCardsDetails = {
|
|
|
1333
1331
|
*/
|
|
1334
1332
|
message?: string;
|
|
1335
1333
|
};
|
|
1336
|
-
/** @returns {
|
|
1337
|
-
declare function
|
|
1338
|
-
type
|
|
1334
|
+
/** @returns {ValidateCustomerRequest} */
|
|
1335
|
+
declare function ValidateCustomerRequest(): ValidateCustomerRequest;
|
|
1336
|
+
type ValidateCustomerRequest = {
|
|
1339
1337
|
/**
|
|
1340
1338
|
* - Payment gateway name in camelcase i.e Simple, Rupifi.
|
|
1341
1339
|
*/
|
|
@@ -1369,9 +1367,9 @@ type ValidateCustomer = {
|
|
|
1369
1367
|
*/
|
|
1370
1368
|
delivery_address?: any;
|
|
1371
1369
|
};
|
|
1372
|
-
/** @returns {
|
|
1373
|
-
declare function
|
|
1374
|
-
type
|
|
1370
|
+
/** @returns {ValidateCustomerResponse} */
|
|
1371
|
+
declare function ValidateCustomerResponse(): ValidateCustomerResponse;
|
|
1372
|
+
type ValidateCustomerResponse = {
|
|
1375
1373
|
/**
|
|
1376
1374
|
* - Payment gateway response data.
|
|
1377
1375
|
*/
|
|
@@ -1385,9 +1383,9 @@ type ValidateCustomerDetails = {
|
|
|
1385
1383
|
*/
|
|
1386
1384
|
message: string;
|
|
1387
1385
|
};
|
|
1388
|
-
/** @returns {
|
|
1389
|
-
declare function
|
|
1390
|
-
type
|
|
1386
|
+
/** @returns {ChargeCustomerRequest} */
|
|
1387
|
+
declare function ChargeCustomerRequest(): ChargeCustomerRequest;
|
|
1388
|
+
type ChargeCustomerRequest = {
|
|
1391
1389
|
/**
|
|
1392
1390
|
* - Already Verified flag from payment gateway i.e Mswipe.
|
|
1393
1391
|
*/
|
|
@@ -1409,9 +1407,9 @@ type ChargeCustomer = {
|
|
|
1409
1407
|
*/
|
|
1410
1408
|
amount: number;
|
|
1411
1409
|
};
|
|
1412
|
-
/** @returns {
|
|
1413
|
-
declare function
|
|
1414
|
-
type
|
|
1410
|
+
/** @returns {ChargeCustomerResponse} */
|
|
1411
|
+
declare function ChargeCustomerResponse(): ChargeCustomerResponse;
|
|
1412
|
+
type ChargeCustomerResponse = {
|
|
1415
1413
|
/**
|
|
1416
1414
|
* - Status of charged payment.
|
|
1417
1415
|
*/
|
|
@@ -1441,9 +1439,9 @@ type ChargeCustomerDetails = {
|
|
|
1441
1439
|
*/
|
|
1442
1440
|
delivery_address_id?: string;
|
|
1443
1441
|
};
|
|
1444
|
-
/** @returns {
|
|
1445
|
-
declare function
|
|
1446
|
-
type
|
|
1442
|
+
/** @returns {PaymentInitializationRequest} */
|
|
1443
|
+
declare function PaymentInitializationRequest(): PaymentInitializationRequest;
|
|
1444
|
+
type PaymentInitializationRequest = {
|
|
1447
1445
|
/**
|
|
1448
1446
|
* - Payment gateway payment id.
|
|
1449
1447
|
*/
|
|
@@ -1497,9 +1495,9 @@ type PaymentInitialization = {
|
|
|
1497
1495
|
*/
|
|
1498
1496
|
email: string;
|
|
1499
1497
|
};
|
|
1500
|
-
/** @returns {
|
|
1501
|
-
declare function
|
|
1502
|
-
type
|
|
1498
|
+
/** @returns {PaymentInitializationResponse} */
|
|
1499
|
+
declare function PaymentInitializationResponse(): PaymentInitializationResponse;
|
|
1500
|
+
type PaymentInitializationResponse = {
|
|
1503
1501
|
/**
|
|
1504
1502
|
* - Status of payment.
|
|
1505
1503
|
*/
|
|
@@ -1569,13 +1567,13 @@ type PaymentInitializationDetails = {
|
|
|
1569
1567
|
*/
|
|
1570
1568
|
bqr_image?: string;
|
|
1571
1569
|
};
|
|
1572
|
-
/** @returns {
|
|
1573
|
-
declare function
|
|
1574
|
-
type
|
|
1570
|
+
/** @returns {PaymentStatusUpdateRequest} */
|
|
1571
|
+
declare function PaymentStatusUpdateRequest(): PaymentStatusUpdateRequest;
|
|
1572
|
+
type PaymentStatusUpdateRequest = {
|
|
1575
1573
|
/**
|
|
1576
1574
|
* - Status of payment.
|
|
1577
1575
|
*/
|
|
1578
|
-
status
|
|
1576
|
+
status?: string;
|
|
1579
1577
|
/**
|
|
1580
1578
|
* - Unique fynd transaction id.
|
|
1581
1579
|
*/
|
|
@@ -1611,7 +1609,7 @@ type PaymentStatusUpdate = {
|
|
|
1611
1609
|
/**
|
|
1612
1610
|
* - Payment gateway order id.
|
|
1613
1611
|
*/
|
|
1614
|
-
order_id
|
|
1612
|
+
order_id?: string;
|
|
1615
1613
|
/**
|
|
1616
1614
|
* - Currency code.
|
|
1617
1615
|
*/
|
|
@@ -1625,9 +1623,9 @@ type PaymentStatusUpdate = {
|
|
|
1625
1623
|
*/
|
|
1626
1624
|
email?: string;
|
|
1627
1625
|
};
|
|
1628
|
-
/** @returns {
|
|
1629
|
-
declare function
|
|
1630
|
-
type
|
|
1626
|
+
/** @returns {PaymentStatusUpdateResponse} */
|
|
1627
|
+
declare function PaymentStatusUpdateResponse(): PaymentStatusUpdateResponse;
|
|
1628
|
+
type PaymentStatusUpdateResponse = {
|
|
1631
1629
|
/**
|
|
1632
1630
|
* - Payment status.
|
|
1633
1631
|
*/
|
|
@@ -2031,9 +2029,9 @@ type AdvancePaymentObject = {
|
|
|
2031
2029
|
split?: SplitObject;
|
|
2032
2030
|
advance?: AdvanceObject;
|
|
2033
2031
|
};
|
|
2034
|
-
/** @returns {
|
|
2035
|
-
declare function
|
|
2036
|
-
type
|
|
2032
|
+
/** @returns {PaymentModeRouteResponse} */
|
|
2033
|
+
declare function PaymentModeRouteResponse(): PaymentModeRouteResponse;
|
|
2034
|
+
type PaymentModeRouteResponse = {
|
|
2037
2035
|
payment_options: PaymentOptionAndFlow;
|
|
2038
2036
|
/**
|
|
2039
2037
|
* - Response is successful or not.
|
|
@@ -2116,9 +2114,9 @@ type RupifiBannerData = {
|
|
|
2116
2114
|
*/
|
|
2117
2115
|
kyc_url?: string;
|
|
2118
2116
|
};
|
|
2119
|
-
/** @returns {
|
|
2120
|
-
declare function
|
|
2121
|
-
type
|
|
2117
|
+
/** @returns {RupifiBannerResponse} */
|
|
2118
|
+
declare function RupifiBannerResponse(): RupifiBannerResponse;
|
|
2119
|
+
type RupifiBannerResponse = {
|
|
2122
2120
|
data: RupifiBannerData;
|
|
2123
2121
|
/**
|
|
2124
2122
|
* - Successful or not.
|
|
@@ -2141,18 +2139,18 @@ type EpaylaterBannerData = {
|
|
|
2141
2139
|
*/
|
|
2142
2140
|
display: boolean;
|
|
2143
2141
|
};
|
|
2144
|
-
/** @returns {
|
|
2145
|
-
declare function
|
|
2146
|
-
type
|
|
2142
|
+
/** @returns {EpaylaterBannerResponse} */
|
|
2143
|
+
declare function EpaylaterBannerResponse(): EpaylaterBannerResponse;
|
|
2144
|
+
type EpaylaterBannerResponse = {
|
|
2147
2145
|
data: EpaylaterBannerData;
|
|
2148
2146
|
/**
|
|
2149
2147
|
* - Successful or not.
|
|
2150
2148
|
*/
|
|
2151
2149
|
success: boolean;
|
|
2152
2150
|
};
|
|
2153
|
-
/** @returns {
|
|
2154
|
-
declare function
|
|
2155
|
-
type
|
|
2151
|
+
/** @returns {ResendOrCancelPaymentRequest} */
|
|
2152
|
+
declare function ResendOrCancelPaymentRequest(): ResendOrCancelPaymentRequest;
|
|
2153
|
+
type ResendOrCancelPaymentRequest = {
|
|
2156
2154
|
/**
|
|
2157
2155
|
* - Unique order id.
|
|
2158
2156
|
*/
|
|
@@ -2183,18 +2181,18 @@ type LinkStatus = {
|
|
|
2183
2181
|
*/
|
|
2184
2182
|
is_payment_done?: boolean;
|
|
2185
2183
|
};
|
|
2186
|
-
/** @returns {
|
|
2187
|
-
declare function
|
|
2188
|
-
type
|
|
2184
|
+
/** @returns {ResendOrCancelPaymentResponse} */
|
|
2185
|
+
declare function ResendOrCancelPaymentResponse(): ResendOrCancelPaymentResponse;
|
|
2186
|
+
type ResendOrCancelPaymentResponse = {
|
|
2189
2187
|
data: LinkStatus;
|
|
2190
2188
|
/**
|
|
2191
2189
|
* - Response is successful or not.
|
|
2192
2190
|
*/
|
|
2193
2191
|
success: boolean;
|
|
2194
2192
|
};
|
|
2195
|
-
/** @returns {
|
|
2196
|
-
declare function
|
|
2197
|
-
type
|
|
2193
|
+
/** @returns {renderHTMLRequest} */
|
|
2194
|
+
declare function renderHTMLRequest(): renderHTMLRequest;
|
|
2195
|
+
type renderHTMLRequest = {
|
|
2198
2196
|
/**
|
|
2199
2197
|
* - Return Type of API.
|
|
2200
2198
|
*/
|
|
@@ -2204,17 +2202,17 @@ type RenderHTML = {
|
|
|
2204
2202
|
*/
|
|
2205
2203
|
base64_html: string;
|
|
2206
2204
|
};
|
|
2207
|
-
/** @returns {
|
|
2208
|
-
declare function
|
|
2209
|
-
type
|
|
2205
|
+
/** @returns {renderHTMLResponse} */
|
|
2206
|
+
declare function renderHTMLResponse(): renderHTMLResponse;
|
|
2207
|
+
type renderHTMLResponse = {
|
|
2210
2208
|
/**
|
|
2211
2209
|
* - HTML string.
|
|
2212
2210
|
*/
|
|
2213
2211
|
html: string;
|
|
2214
2212
|
};
|
|
2215
|
-
/** @returns {
|
|
2216
|
-
declare function
|
|
2217
|
-
type
|
|
2213
|
+
/** @returns {ValidateVPARequest} */
|
|
2214
|
+
declare function ValidateVPARequest(): ValidateVPARequest;
|
|
2215
|
+
type ValidateVPARequest = {
|
|
2218
2216
|
/**
|
|
2219
2217
|
* - UPI ID.
|
|
2220
2218
|
*/
|
|
@@ -2244,9 +2242,9 @@ type ValidateUPI = {
|
|
|
2244
2242
|
*/
|
|
2245
2243
|
upi_vpa: string;
|
|
2246
2244
|
};
|
|
2247
|
-
/** @returns {
|
|
2248
|
-
declare function
|
|
2249
|
-
type
|
|
2245
|
+
/** @returns {ValidateVPAResponse} */
|
|
2246
|
+
declare function ValidateVPAResponse(): ValidateVPAResponse;
|
|
2247
|
+
type ValidateVPAResponse = {
|
|
2250
2248
|
data: ValidateUPI;
|
|
2251
2249
|
/**
|
|
2252
2250
|
* - Response is successful or not.
|
|
@@ -2322,9 +2320,9 @@ type CardDetails = {
|
|
|
2322
2320
|
*/
|
|
2323
2321
|
bank: string;
|
|
2324
2322
|
};
|
|
2325
|
-
/** @returns {
|
|
2326
|
-
declare function
|
|
2327
|
-
type
|
|
2323
|
+
/** @returns {CardDetailsResponse} */
|
|
2324
|
+
declare function CardDetailsResponse(): CardDetailsResponse;
|
|
2325
|
+
type CardDetailsResponse = {
|
|
2328
2326
|
data: CardDetails;
|
|
2329
2327
|
/**
|
|
2330
2328
|
* - Response is successful or not.
|
|
@@ -2367,17 +2365,17 @@ type TransferModeDetails = {
|
|
|
2367
2365
|
*/
|
|
2368
2366
|
display_name: string;
|
|
2369
2367
|
};
|
|
2370
|
-
/** @returns {
|
|
2371
|
-
declare function
|
|
2372
|
-
type
|
|
2368
|
+
/** @returns {TransferModeResponse} */
|
|
2369
|
+
declare function TransferModeResponse(): TransferModeResponse;
|
|
2370
|
+
type TransferModeResponse = {
|
|
2373
2371
|
/**
|
|
2374
2372
|
* - Response Object.
|
|
2375
2373
|
*/
|
|
2376
2374
|
data: TransferModeDetails[];
|
|
2377
2375
|
};
|
|
2378
|
-
/** @returns {
|
|
2379
|
-
declare function
|
|
2380
|
-
type
|
|
2376
|
+
/** @returns {UpdateRefundTransferModeRequest} */
|
|
2377
|
+
declare function UpdateRefundTransferModeRequest(): UpdateRefundTransferModeRequest;
|
|
2378
|
+
type UpdateRefundTransferModeRequest = {
|
|
2381
2379
|
/**
|
|
2382
2380
|
* - True for enabling the Transfer Mode.
|
|
2383
2381
|
*/
|
|
@@ -2387,9 +2385,9 @@ type UpdateRefundTransferMode = {
|
|
|
2387
2385
|
*/
|
|
2388
2386
|
transfer_mode: string;
|
|
2389
2387
|
};
|
|
2390
|
-
/** @returns {
|
|
2391
|
-
declare function
|
|
2392
|
-
type
|
|
2388
|
+
/** @returns {UpdateRefundTransferModeResponse} */
|
|
2389
|
+
declare function UpdateRefundTransferModeResponse(): UpdateRefundTransferModeResponse;
|
|
2390
|
+
type UpdateRefundTransferModeResponse = {
|
|
2393
2391
|
/**
|
|
2394
2392
|
* - Response is successful or not.
|
|
2395
2393
|
*/
|
|
@@ -2399,7 +2397,7 @@ type RefundTransferModeUpdateDetails = {
|
|
|
2399
2397
|
declare function OrderBeneficiaryDetails(): OrderBeneficiaryDetails;
|
|
2400
2398
|
type OrderBeneficiaryDetails = {
|
|
2401
2399
|
/**
|
|
2402
|
-
* -
|
|
2400
|
+
* - MOdification Date of Beneficiary.
|
|
2403
2401
|
*/
|
|
2404
2402
|
modified_on: string;
|
|
2405
2403
|
/**
|
|
@@ -2475,9 +2473,9 @@ type OrderBeneficiaryDetails = {
|
|
|
2475
2473
|
*/
|
|
2476
2474
|
display_name: string;
|
|
2477
2475
|
};
|
|
2478
|
-
/** @returns {
|
|
2479
|
-
declare function
|
|
2480
|
-
type
|
|
2476
|
+
/** @returns {OrderBeneficiaryResponse} */
|
|
2477
|
+
declare function OrderBeneficiaryResponse(): OrderBeneficiaryResponse;
|
|
2478
|
+
type OrderBeneficiaryResponse = {
|
|
2481
2479
|
/**
|
|
2482
2480
|
* - Show beneficiary details or not.
|
|
2483
2481
|
*/
|
|
@@ -2503,9 +2501,9 @@ type NotFoundResourceError = {
|
|
|
2503
2501
|
*/
|
|
2504
2502
|
success: boolean;
|
|
2505
2503
|
};
|
|
2506
|
-
/** @returns {
|
|
2507
|
-
declare function
|
|
2508
|
-
type
|
|
2504
|
+
/** @returns {IfscCodeResponse} */
|
|
2505
|
+
declare function IfscCodeResponse(): IfscCodeResponse;
|
|
2506
|
+
type IfscCodeResponse = {
|
|
2509
2507
|
/**
|
|
2510
2508
|
* - Branch Name Of Account.
|
|
2511
2509
|
*/
|
|
@@ -2535,9 +2533,9 @@ type ErrorCodeDescription = {
|
|
|
2535
2533
|
*/
|
|
2536
2534
|
success: boolean;
|
|
2537
2535
|
};
|
|
2538
|
-
/** @returns {
|
|
2539
|
-
declare function
|
|
2540
|
-
type
|
|
2536
|
+
/** @returns {AddBeneficiaryViaOtpVerificationRequest} */
|
|
2537
|
+
declare function AddBeneficiaryViaOtpVerificationRequest(): AddBeneficiaryViaOtpVerificationRequest;
|
|
2538
|
+
type AddBeneficiaryViaOtpVerificationRequest = {
|
|
2541
2539
|
/**
|
|
2542
2540
|
* - Request id.
|
|
2543
2541
|
*/
|
|
@@ -2551,9 +2549,9 @@ type AddBeneficiaryViaOtpVerification = {
|
|
|
2551
2549
|
*/
|
|
2552
2550
|
otp: string;
|
|
2553
2551
|
};
|
|
2554
|
-
/** @returns {
|
|
2555
|
-
declare function
|
|
2556
|
-
type
|
|
2552
|
+
/** @returns {AddBeneficiaryViaOtpVerificationResponse} */
|
|
2553
|
+
declare function AddBeneficiaryViaOtpVerificationResponse(): AddBeneficiaryViaOtpVerificationResponse;
|
|
2554
|
+
type AddBeneficiaryViaOtpVerificationResponse = {
|
|
2557
2555
|
/**
|
|
2558
2556
|
* - Response is successful or not.
|
|
2559
2557
|
*/
|
|
@@ -2627,9 +2625,9 @@ type BeneficiaryModeDetails = {
|
|
|
2627
2625
|
*/
|
|
2628
2626
|
email: string;
|
|
2629
2627
|
};
|
|
2630
|
-
/** @returns {
|
|
2631
|
-
declare function
|
|
2632
|
-
type
|
|
2628
|
+
/** @returns {AddBeneficiaryDetailsRequest} */
|
|
2629
|
+
declare function AddBeneficiaryDetailsRequest(): AddBeneficiaryDetailsRequest;
|
|
2630
|
+
type AddBeneficiaryDetailsRequest = {
|
|
2633
2631
|
/**
|
|
2634
2632
|
* - True if beneficiary to be added by delights or
|
|
2635
2633
|
* False if by User.
|
|
@@ -2657,9 +2655,9 @@ type AddBeneficiaryDetails = {
|
|
|
2657
2655
|
*/
|
|
2658
2656
|
request_id?: string;
|
|
2659
2657
|
};
|
|
2660
|
-
/** @returns {
|
|
2661
|
-
declare function
|
|
2662
|
-
type
|
|
2658
|
+
/** @returns {RefundAccountResponse} */
|
|
2659
|
+
declare function RefundAccountResponse(): RefundAccountResponse;
|
|
2660
|
+
type RefundAccountResponse = {
|
|
2663
2661
|
/**
|
|
2664
2662
|
* - Flag for verification of refund.
|
|
2665
2663
|
*/
|
|
@@ -2701,18 +2699,18 @@ type BankDetailsForOTP = {
|
|
|
2701
2699
|
*/
|
|
2702
2700
|
account_holder: string;
|
|
2703
2701
|
};
|
|
2704
|
-
/** @returns {
|
|
2705
|
-
declare function
|
|
2706
|
-
type
|
|
2702
|
+
/** @returns {AddBeneficiaryDetailsOTPRequest} */
|
|
2703
|
+
declare function AddBeneficiaryDetailsOTPRequest(): AddBeneficiaryDetailsOTPRequest;
|
|
2704
|
+
type AddBeneficiaryDetailsOTPRequest = {
|
|
2707
2705
|
/**
|
|
2708
2706
|
* - Unique identifier for an order.
|
|
2709
2707
|
*/
|
|
2710
2708
|
order_id: string;
|
|
2711
2709
|
details: BankDetailsForOTP;
|
|
2712
2710
|
};
|
|
2713
|
-
/** @returns {
|
|
2714
|
-
declare function
|
|
2715
|
-
type
|
|
2711
|
+
/** @returns {WalletOtpRequest} */
|
|
2712
|
+
declare function WalletOtpRequest(): WalletOtpRequest;
|
|
2713
|
+
type WalletOtpRequest = {
|
|
2716
2714
|
/**
|
|
2717
2715
|
* - Country Code of the Mobile Number.
|
|
2718
2716
|
*/
|
|
@@ -2722,9 +2720,9 @@ type WalletOtp = {
|
|
|
2722
2720
|
*/
|
|
2723
2721
|
mobile: string;
|
|
2724
2722
|
};
|
|
2725
|
-
/** @returns {
|
|
2726
|
-
declare function
|
|
2727
|
-
type
|
|
2723
|
+
/** @returns {WalletOtpResponse} */
|
|
2724
|
+
declare function WalletOtpResponse(): WalletOtpResponse;
|
|
2725
|
+
type WalletOtpResponse = {
|
|
2728
2726
|
/**
|
|
2729
2727
|
* - Request Id for wallet otp request.
|
|
2730
2728
|
*/
|
|
@@ -2739,9 +2737,9 @@ type WalletOtpDetails = {
|
|
|
2739
2737
|
*/
|
|
2740
2738
|
success?: boolean;
|
|
2741
2739
|
};
|
|
2742
|
-
/** @returns {
|
|
2743
|
-
declare function
|
|
2744
|
-
type
|
|
2740
|
+
/** @returns {SetDefaultBeneficiaryRequest} */
|
|
2741
|
+
declare function SetDefaultBeneficiaryRequest(): SetDefaultBeneficiaryRequest;
|
|
2742
|
+
type SetDefaultBeneficiaryRequest = {
|
|
2745
2743
|
/**
|
|
2746
2744
|
* - Merchant Order Id.
|
|
2747
2745
|
*/
|
|
@@ -2751,9 +2749,9 @@ type SetDefaultBeneficiary = {
|
|
|
2751
2749
|
*/
|
|
2752
2750
|
beneficiary_id: string;
|
|
2753
2751
|
};
|
|
2754
|
-
/** @returns {
|
|
2755
|
-
declare function
|
|
2756
|
-
type
|
|
2752
|
+
/** @returns {SetDefaultBeneficiaryResponse} */
|
|
2753
|
+
declare function SetDefaultBeneficiaryResponse(): SetDefaultBeneficiaryResponse;
|
|
2754
|
+
type SetDefaultBeneficiaryResponse = {
|
|
2757
2755
|
/**
|
|
2758
2756
|
* - Boolean Flag whether Beneficiary set or not.
|
|
2759
2757
|
*/
|
|
@@ -2763,9 +2761,9 @@ type SetDefaultBeneficiaryDetails = {
|
|
|
2763
2761
|
*/
|
|
2764
2762
|
success?: boolean;
|
|
2765
2763
|
};
|
|
2766
|
-
/** @returns {
|
|
2767
|
-
declare function
|
|
2768
|
-
type
|
|
2764
|
+
/** @returns {GetPaymentLinkResponse} */
|
|
2765
|
+
declare function GetPaymentLinkResponse(): GetPaymentLinkResponse;
|
|
2766
|
+
type GetPaymentLinkResponse = {
|
|
2769
2767
|
/**
|
|
2770
2768
|
* - HTTP status code.
|
|
2771
2769
|
*/
|
|
@@ -2839,9 +2837,9 @@ type ErrorDescription = {
|
|
|
2839
2837
|
*/
|
|
2840
2838
|
invalid_id?: boolean;
|
|
2841
2839
|
};
|
|
2842
|
-
/** @returns {
|
|
2843
|
-
declare function
|
|
2844
|
-
type
|
|
2840
|
+
/** @returns {ErrorResponse} */
|
|
2841
|
+
declare function ErrorResponse(): ErrorResponse;
|
|
2842
|
+
type ErrorResponse = {
|
|
2845
2843
|
/**
|
|
2846
2844
|
* - HTTP status code.
|
|
2847
2845
|
*/
|
|
@@ -2878,9 +2876,9 @@ type CreatePaymentLinkMeta = {
|
|
|
2878
2876
|
*/
|
|
2879
2877
|
amount: string;
|
|
2880
2878
|
};
|
|
2881
|
-
/** @returns {
|
|
2882
|
-
declare function
|
|
2883
|
-
type
|
|
2879
|
+
/** @returns {CreatePaymentLinkRequest} */
|
|
2880
|
+
declare function CreatePaymentLinkRequest(): CreatePaymentLinkRequest;
|
|
2881
|
+
type CreatePaymentLinkRequest = {
|
|
2884
2882
|
/**
|
|
2885
2883
|
* - Merchant order id.
|
|
2886
2884
|
*/
|
|
@@ -2903,20 +2901,10 @@ type CreatePaymentLink = {
|
|
|
2903
2901
|
* - Email to which the payment link is to be sent.
|
|
2904
2902
|
*/
|
|
2905
2903
|
email: string;
|
|
2906
|
-
/**
|
|
2907
|
-
* - URL to which the user will be
|
|
2908
|
-
* redirected after a successful payment.
|
|
2909
|
-
*/
|
|
2910
|
-
success_redirection_url?: string;
|
|
2911
|
-
/**
|
|
2912
|
-
* - URL to which the user will be
|
|
2913
|
-
* redirected if the payment fails.
|
|
2914
|
-
*/
|
|
2915
|
-
failure_redirection_url?: string;
|
|
2916
2904
|
};
|
|
2917
|
-
/** @returns {
|
|
2918
|
-
declare function
|
|
2919
|
-
type
|
|
2905
|
+
/** @returns {CreatePaymentLinkResponse} */
|
|
2906
|
+
declare function CreatePaymentLinkResponse(): CreatePaymentLinkResponse;
|
|
2907
|
+
type CreatePaymentLinkResponse = {
|
|
2920
2908
|
/**
|
|
2921
2909
|
* - HTTP status code.
|
|
2922
2910
|
*/
|
|
@@ -2942,17 +2930,17 @@ type CreatePaymentLinkDetails = {
|
|
|
2942
2930
|
*/
|
|
2943
2931
|
payment_link_id?: string;
|
|
2944
2932
|
};
|
|
2945
|
-
/** @returns {
|
|
2946
|
-
declare function
|
|
2947
|
-
type
|
|
2933
|
+
/** @returns {CancelOrResendPaymentLinkRequest} */
|
|
2934
|
+
declare function CancelOrResendPaymentLinkRequest(): CancelOrResendPaymentLinkRequest;
|
|
2935
|
+
type CancelOrResendPaymentLinkRequest = {
|
|
2948
2936
|
/**
|
|
2949
2937
|
* - Unique id of payment link.
|
|
2950
2938
|
*/
|
|
2951
2939
|
payment_link_id: string;
|
|
2952
2940
|
};
|
|
2953
|
-
/** @returns {
|
|
2954
|
-
declare function
|
|
2955
|
-
type
|
|
2941
|
+
/** @returns {ResendPaymentLinkResponse} */
|
|
2942
|
+
declare function ResendPaymentLinkResponse(): ResendPaymentLinkResponse;
|
|
2943
|
+
type ResendPaymentLinkResponse = {
|
|
2956
2944
|
/**
|
|
2957
2945
|
* - HTTP status code.
|
|
2958
2946
|
*/
|
|
@@ -2970,9 +2958,9 @@ type ResendPaymentLinkDetails = {
|
|
|
2970
2958
|
*/
|
|
2971
2959
|
message: string;
|
|
2972
2960
|
};
|
|
2973
|
-
/** @returns {
|
|
2974
|
-
declare function
|
|
2975
|
-
type
|
|
2961
|
+
/** @returns {CancelPaymentLinkResponse} */
|
|
2962
|
+
declare function CancelPaymentLinkResponse(): CancelPaymentLinkResponse;
|
|
2963
|
+
type CancelPaymentLinkResponse = {
|
|
2976
2964
|
/**
|
|
2977
2965
|
* - HTTP status code.
|
|
2978
2966
|
*/
|
|
@@ -2986,9 +2974,9 @@ type CancelPaymentLinkDetails = {
|
|
|
2986
2974
|
*/
|
|
2987
2975
|
message: string;
|
|
2988
2976
|
};
|
|
2989
|
-
/** @returns {
|
|
2990
|
-
declare function
|
|
2991
|
-
type
|
|
2977
|
+
/** @returns {PollingPaymentLinkResponse} */
|
|
2978
|
+
declare function PollingPaymentLinkResponse(): PollingPaymentLinkResponse;
|
|
2979
|
+
type PollingPaymentLinkResponse = {
|
|
2992
2980
|
/**
|
|
2993
2981
|
* - Status of payment link.
|
|
2994
2982
|
*/
|
|
@@ -3059,9 +3047,13 @@ type CreateOrderUserPaymentMethods = {
|
|
|
3059
3047
|
mode: string;
|
|
3060
3048
|
meta: PaymentMethodsMeta;
|
|
3061
3049
|
};
|
|
3062
|
-
/** @returns {
|
|
3063
|
-
declare function
|
|
3064
|
-
type
|
|
3050
|
+
/** @returns {CreateOrderUserRequest} */
|
|
3051
|
+
declare function CreateOrderUserRequest(): CreateOrderUserRequest;
|
|
3052
|
+
type CreateOrderUserRequest = {
|
|
3053
|
+
/**
|
|
3054
|
+
* - Failure page url.
|
|
3055
|
+
*/
|
|
3056
|
+
failure_callback_url: string;
|
|
3065
3057
|
/**
|
|
3066
3058
|
* - Currency of the transaction.
|
|
3067
3059
|
*/
|
|
@@ -3071,6 +3063,10 @@ type CreateOrderUser = {
|
|
|
3071
3063
|
*/
|
|
3072
3064
|
payment_link_id: string;
|
|
3073
3065
|
payment_methods: CreateOrderUserPaymentMethods;
|
|
3066
|
+
/**
|
|
3067
|
+
* - Success page url.
|
|
3068
|
+
*/
|
|
3069
|
+
success_callback_url: string;
|
|
3074
3070
|
/**
|
|
3075
3071
|
* - Meta details.
|
|
3076
3072
|
*/
|
|
@@ -3120,9 +3116,9 @@ type CreateOrderUserData = {
|
|
|
3120
3116
|
*/
|
|
3121
3117
|
email?: string;
|
|
3122
3118
|
};
|
|
3123
|
-
/** @returns {
|
|
3124
|
-
declare function
|
|
3125
|
-
type
|
|
3119
|
+
/** @returns {CreateOrderUserResponse} */
|
|
3120
|
+
declare function CreateOrderUserResponse(): CreateOrderUserResponse;
|
|
3121
|
+
type CreateOrderUserResponse = {
|
|
3126
3122
|
/**
|
|
3127
3123
|
* - HTTP status code.
|
|
3128
3124
|
*/
|
|
@@ -3214,9 +3210,9 @@ type CreditSummary = {
|
|
|
3214
3210
|
*/
|
|
3215
3211
|
activation_url?: string;
|
|
3216
3212
|
};
|
|
3217
|
-
/** @returns {
|
|
3218
|
-
declare function
|
|
3219
|
-
type
|
|
3213
|
+
/** @returns {CustomerCreditSummaryResponse} */
|
|
3214
|
+
declare function CustomerCreditSummaryResponse(): CustomerCreditSummaryResponse;
|
|
3215
|
+
type CustomerCreditSummaryResponse = {
|
|
3220
3216
|
data?: CreditSummary;
|
|
3221
3217
|
/**
|
|
3222
3218
|
* - Payment confirmation updated or not.
|
|
@@ -3235,9 +3231,9 @@ type RedirectURL = {
|
|
|
3235
3231
|
*/
|
|
3236
3232
|
signup_url: string;
|
|
3237
3233
|
};
|
|
3238
|
-
/** @returns {
|
|
3239
|
-
declare function
|
|
3240
|
-
type
|
|
3234
|
+
/** @returns {RedirectToAggregatorResponse} */
|
|
3235
|
+
declare function RedirectToAggregatorResponse(): RedirectToAggregatorResponse;
|
|
3236
|
+
type RedirectToAggregatorResponse = {
|
|
3241
3237
|
data: RedirectURL;
|
|
3242
3238
|
/**
|
|
3243
3239
|
* - Status updated or not.
|
|
@@ -3260,9 +3256,9 @@ type CreditDetail = {
|
|
|
3260
3256
|
*/
|
|
3261
3257
|
signup_url: string;
|
|
3262
3258
|
};
|
|
3263
|
-
/** @returns {
|
|
3264
|
-
declare function
|
|
3265
|
-
type
|
|
3259
|
+
/** @returns {CheckCreditResponse} */
|
|
3260
|
+
declare function CheckCreditResponse(): CheckCreditResponse;
|
|
3261
|
+
type CheckCreditResponse = {
|
|
3266
3262
|
data: CreditDetail;
|
|
3267
3263
|
/**
|
|
3268
3264
|
* - Operation is successful or not.
|
|
@@ -3463,9 +3459,9 @@ type DeviceDetails = {
|
|
|
3463
3459
|
*/
|
|
3464
3460
|
os_version?: string;
|
|
3465
3461
|
};
|
|
3466
|
-
/** @returns {
|
|
3467
|
-
declare function
|
|
3468
|
-
type
|
|
3462
|
+
/** @returns {CustomerOnboardingRequest} */
|
|
3463
|
+
declare function CustomerOnboardingRequest(): CustomerOnboardingRequest;
|
|
3464
|
+
type CustomerOnboardingRequest = {
|
|
3469
3465
|
personal_info?: UserPersonalInfoInDetails;
|
|
3470
3466
|
/**
|
|
3471
3467
|
* - Merchant Category Code, indicating the type of business.
|
|
@@ -3515,20 +3511,20 @@ type OnboardSummary = {
|
|
|
3515
3511
|
*/
|
|
3516
3512
|
activation_url?: string;
|
|
3517
3513
|
};
|
|
3518
|
-
/** @returns {
|
|
3519
|
-
declare function
|
|
3520
|
-
type
|
|
3514
|
+
/** @returns {CustomerOnboardingResponse} */
|
|
3515
|
+
declare function CustomerOnboardingResponse(): CustomerOnboardingResponse;
|
|
3516
|
+
type CustomerOnboardingResponse = {
|
|
3521
3517
|
data: OnboardSummary;
|
|
3522
3518
|
/**
|
|
3523
3519
|
* - Status updated or not.
|
|
3524
3520
|
*/
|
|
3525
3521
|
success: boolean;
|
|
3526
3522
|
};
|
|
3527
|
-
/** @returns {
|
|
3528
|
-
declare function
|
|
3529
|
-
type
|
|
3523
|
+
/** @returns {OutstandingOrderDetailsResponse} */
|
|
3524
|
+
declare function OutstandingOrderDetailsResponse(): OutstandingOrderDetailsResponse;
|
|
3525
|
+
type OutstandingOrderDetailsResponse = {
|
|
3530
3526
|
/**
|
|
3531
|
-
* - HTTP
|
|
3527
|
+
* - HTTP Status code.
|
|
3532
3528
|
*/
|
|
3533
3529
|
status_code: number;
|
|
3534
3530
|
/**
|
|
@@ -3544,11 +3540,11 @@ type OutstandingOrderDetails = {
|
|
|
3544
3540
|
*/
|
|
3545
3541
|
message?: string;
|
|
3546
3542
|
};
|
|
3547
|
-
/** @returns {
|
|
3548
|
-
declare function
|
|
3549
|
-
type
|
|
3543
|
+
/** @returns {PaidOrderDetailsResponse} */
|
|
3544
|
+
declare function PaidOrderDetailsResponse(): PaidOrderDetailsResponse;
|
|
3545
|
+
type PaidOrderDetailsResponse = {
|
|
3550
3546
|
/**
|
|
3551
|
-
* - HTTP
|
|
3547
|
+
* - HTTP Status code.
|
|
3552
3548
|
*/
|
|
3553
3549
|
status_code: number;
|
|
3554
3550
|
/**
|
|
@@ -3564,9 +3560,9 @@ type PaidOrderDetails = {
|
|
|
3564
3560
|
*/
|
|
3565
3561
|
message?: string;
|
|
3566
3562
|
};
|
|
3567
|
-
/** @returns {
|
|
3568
|
-
declare function
|
|
3569
|
-
type
|
|
3563
|
+
/** @returns {DeleteRefundAccountResponse} */
|
|
3564
|
+
declare function DeleteRefundAccountResponse(): DeleteRefundAccountResponse;
|
|
3565
|
+
type DeleteRefundAccountResponse = {
|
|
3570
3566
|
/**
|
|
3571
3567
|
* - Success/Failure of the deleted beneficiary.
|
|
3572
3568
|
*/
|
|
@@ -3617,9 +3613,9 @@ type OfflineRefundOptions = {
|
|
|
3617
3613
|
*/
|
|
3618
3614
|
payment_modes: string[];
|
|
3619
3615
|
};
|
|
3620
|
-
/** @returns {
|
|
3621
|
-
declare function
|
|
3622
|
-
type
|
|
3616
|
+
/** @returns {RefundOptionResponse} */
|
|
3617
|
+
declare function RefundOptionResponse(): RefundOptionResponse;
|
|
3618
|
+
type RefundOptionResponse = {
|
|
3623
3619
|
/**
|
|
3624
3620
|
* - Available offline
|
|
3625
3621
|
* refund options data.
|
|
@@ -3634,9 +3630,9 @@ type RefundOptionDetails = {
|
|
|
3634
3630
|
*/
|
|
3635
3631
|
refund_options: RefundOptions;
|
|
3636
3632
|
};
|
|
3637
|
-
/** @returns {
|
|
3638
|
-
declare function
|
|
3639
|
-
type
|
|
3633
|
+
/** @returns {SelectedRefundOptionResponse} */
|
|
3634
|
+
declare function SelectedRefundOptionResponse(): SelectedRefundOptionResponse;
|
|
3635
|
+
type SelectedRefundOptionResponse = {
|
|
3640
3636
|
/**
|
|
3641
3637
|
* - Selected transfer mode for given shipment.
|
|
3642
3638
|
*/
|
|
@@ -3807,9 +3803,9 @@ type BeneficiaryRefundOptions = {
|
|
|
3807
3803
|
*/
|
|
3808
3804
|
upi?: UpiBeneficiaryDetails;
|
|
3809
3805
|
};
|
|
3810
|
-
/** @returns {
|
|
3811
|
-
declare function
|
|
3812
|
-
type
|
|
3806
|
+
/** @returns {OrderBeneficiaryResponseSchemaV2} */
|
|
3807
|
+
declare function OrderBeneficiaryResponseSchemaV2(): OrderBeneficiaryResponseSchemaV2;
|
|
3808
|
+
type OrderBeneficiaryResponseSchemaV2 = {
|
|
3813
3809
|
/**
|
|
3814
3810
|
* - Show Beneficiary details on UI or not.
|
|
3815
3811
|
*/
|
|
@@ -3824,9 +3820,9 @@ type OrderBeneficiaryDetailsSchemaV2 = {
|
|
|
3824
3820
|
*/
|
|
3825
3821
|
limit: any;
|
|
3826
3822
|
};
|
|
3827
|
-
/** @returns {
|
|
3828
|
-
declare function
|
|
3829
|
-
type
|
|
3823
|
+
/** @returns {ValidateValidateAddressRequest} */
|
|
3824
|
+
declare function ValidateValidateAddressRequest(): ValidateValidateAddressRequest;
|
|
3825
|
+
type ValidateValidateAddressRequest = {
|
|
3830
3826
|
/**
|
|
3831
3827
|
* - IFSC Code.
|
|
3832
3828
|
*/
|
|
@@ -3860,9 +3856,9 @@ type VPADetails = {
|
|
|
3860
3856
|
*/
|
|
3861
3857
|
customer_name: string;
|
|
3862
3858
|
};
|
|
3863
|
-
/** @returns {
|
|
3864
|
-
declare function
|
|
3865
|
-
type
|
|
3859
|
+
/** @returns {ValidateValidateAddressResponse} */
|
|
3860
|
+
declare function ValidateValidateAddressResponse(): ValidateValidateAddressResponse;
|
|
3861
|
+
type ValidateValidateAddressResponse = {
|
|
3866
3862
|
/**
|
|
3867
3863
|
* - UPI validation details.
|
|
3868
3864
|
*/
|
|
@@ -3913,9 +3909,9 @@ type PaymentOrderMethods = {
|
|
|
3913
3909
|
*/
|
|
3914
3910
|
name: string;
|
|
3915
3911
|
};
|
|
3916
|
-
/** @returns {
|
|
3917
|
-
declare function
|
|
3918
|
-
type
|
|
3912
|
+
/** @returns {PaymentOrderRequest} */
|
|
3913
|
+
declare function PaymentOrderRequest(): PaymentOrderRequest;
|
|
3914
|
+
type PaymentOrderRequest = {
|
|
3919
3915
|
/**
|
|
3920
3916
|
* - All payment methods for order.
|
|
3921
3917
|
*/
|
|
@@ -3973,9 +3969,9 @@ type PaymentOrderData = {
|
|
|
3973
3969
|
*/
|
|
3974
3970
|
method?: string;
|
|
3975
3971
|
};
|
|
3976
|
-
/** @returns {
|
|
3977
|
-
declare function
|
|
3978
|
-
type
|
|
3972
|
+
/** @returns {PaymentOrderResponse} */
|
|
3973
|
+
declare function PaymentOrderResponse(): PaymentOrderResponse;
|
|
3974
|
+
type PaymentOrderResponse = {
|
|
3979
3975
|
/**
|
|
3980
3976
|
* - Payment confirm url for aggregator.
|
|
3981
3977
|
*/
|
|
@@ -4002,9 +3998,9 @@ type PaymentOrderDetails = {
|
|
|
4002
3998
|
*/
|
|
4003
3999
|
message: string;
|
|
4004
4000
|
};
|
|
4005
|
-
/** @returns {
|
|
4006
|
-
declare function
|
|
4007
|
-
type
|
|
4001
|
+
/** @returns {ShipmentRefundRequest} */
|
|
4002
|
+
declare function ShipmentRefundRequest(): ShipmentRefundRequest;
|
|
4003
|
+
type ShipmentRefundRequest = {
|
|
4008
4004
|
/**
|
|
4009
4005
|
* - Shipment Id of the respective Merchant Order Id.
|
|
4010
4006
|
*/
|
|
@@ -4044,9 +4040,9 @@ type ShipmentRefundDetail = {
|
|
|
4044
4040
|
*/
|
|
4045
4041
|
beneficiary_id: string;
|
|
4046
4042
|
};
|
|
4047
|
-
/** @returns {
|
|
4048
|
-
declare function
|
|
4049
|
-
type
|
|
4043
|
+
/** @returns {ShipmentRefundResponse} */
|
|
4044
|
+
declare function ShipmentRefundResponse(): ShipmentRefundResponse;
|
|
4045
|
+
type ShipmentRefundResponse = {
|
|
4050
4046
|
/**
|
|
4051
4047
|
* - Selected Shipment refund option details.
|
|
4052
4048
|
*/
|