@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
|
@@ -7,266 +7,271 @@ declare class Payment {
|
|
|
7
7
|
* @param {PaymentPlatformApplicationValidator.AddEdcDeviceParam} arg - Arg object
|
|
8
8
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
9
9
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
10
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
10
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceUpdateResponse>} - Success response
|
|
11
11
|
* @name addEdcDevice
|
|
12
12
|
* @summary: Create an EDC device
|
|
13
13
|
* @description: Registration and addition of a new EDC device to the system - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/addEdcDevice/).
|
|
14
14
|
*/
|
|
15
|
-
addEdcDevice({ terminalUniqueIdentifier, body, requestHeaders }?: PaymentPlatformApplicationValidator.AddEdcDeviceParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
15
|
+
addEdcDevice({ terminalUniqueIdentifier, body, requestHeaders }?: PaymentPlatformApplicationValidator.AddEdcDeviceParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceUpdateResponse>;
|
|
16
16
|
/**
|
|
17
17
|
* @param {PaymentPlatformApplicationValidator.AddRefundBankAccountUsingOTPParam} arg
|
|
18
18
|
* - Arg object
|
|
19
19
|
*
|
|
20
20
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
21
21
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
22
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
22
|
+
* @returns {Promise<PaymentPlatformModel.RefundAccountResponse>} - Success response
|
|
23
23
|
* @name addRefundBankAccountUsingOTP
|
|
24
24
|
* @summary: Create refund account
|
|
25
25
|
* @description: The addition of a bank account specifically for refunds, employing OTP verification for security - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/addRefundBankAccountUsingOTP/).
|
|
26
26
|
*/
|
|
27
|
-
addRefundBankAccountUsingOTP({ body, requestHeaders }?: PaymentPlatformApplicationValidator.AddRefundBankAccountUsingOTPParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
27
|
+
addRefundBankAccountUsingOTP({ body, requestHeaders }?: PaymentPlatformApplicationValidator.AddRefundBankAccountUsingOTPParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundAccountResponse>;
|
|
28
28
|
/**
|
|
29
29
|
* @param {PaymentPlatformApplicationValidator.CancelPaymentLinkParam} arg
|
|
30
30
|
* - Arg object
|
|
31
31
|
*
|
|
32
32
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
33
33
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
34
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
34
|
+
* @returns {Promise<PaymentPlatformModel.CancelPaymentLinkResponse>} -
|
|
35
35
|
* Success response
|
|
36
36
|
* @name cancelPaymentLink
|
|
37
37
|
* @summary: Cancel payment link
|
|
38
38
|
* @description: Deactivate and cancel a payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/cancelPaymentLink/).
|
|
39
39
|
*/
|
|
40
|
-
cancelPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CancelPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
40
|
+
cancelPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CancelPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.CancelPaymentLinkResponse>;
|
|
41
41
|
/**
|
|
42
42
|
* @param {PaymentPlatformApplicationValidator.CheckAndUpdatePaymentStatusParam} arg
|
|
43
43
|
* - Arg object
|
|
44
44
|
*
|
|
45
45
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
46
46
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
47
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
47
|
+
* @returns {Promise<PaymentPlatformModel.PaymentStatusUpdateResponse>} -
|
|
48
48
|
* Success response
|
|
49
49
|
* @name checkAndUpdatePaymentStatus
|
|
50
50
|
* @summary: Poll and update payment status
|
|
51
51
|
* @description: Polling process to confirm the payment status. It periodically checks and updates the current status of a payment, ensuring timely and accurate confirmation of payment transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/checkAndUpdatePaymentStatus/).
|
|
52
52
|
*/
|
|
53
|
-
checkAndUpdatePaymentStatus({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CheckAndUpdatePaymentStatusParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
53
|
+
checkAndUpdatePaymentStatus({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CheckAndUpdatePaymentStatusParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentStatusUpdateResponse>;
|
|
54
54
|
/**
|
|
55
55
|
* @param {PaymentPlatformApplicationValidator.ConfirmPaymentParam} arg - Arg object
|
|
56
56
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
57
57
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
58
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
58
|
+
* @returns {Promise<PaymentPlatformModel.PaymentConfirmationResponse>} -
|
|
59
59
|
* Success response
|
|
60
60
|
* @name confirmPayment
|
|
61
61
|
* @summary: Payment confirmation
|
|
62
62
|
* @description: Authentication and confirmation of a payment.It requires details such as the order ID and payment methods in the request body to authenticate and confirm the payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/confirmPayment/).
|
|
63
63
|
*/
|
|
64
|
-
confirmPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ConfirmPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
64
|
+
confirmPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ConfirmPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentConfirmationResponse>;
|
|
65
65
|
/**
|
|
66
66
|
* @param {PaymentPlatformApplicationValidator.CreateMerchantRefundPriorityParam} arg
|
|
67
67
|
* - Arg object
|
|
68
68
|
*
|
|
69
69
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
70
70
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
71
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
71
|
+
* @returns {Promise<PaymentPlatformModel.RefundPriorityResponseSerializer>}
|
|
72
|
+
* - Success response
|
|
73
|
+
*
|
|
72
74
|
* @name createMerchantRefundPriority
|
|
73
75
|
* @summary: Create merchant refund priority
|
|
74
76
|
* @description: Create merchant refund priority configurations, with the provided refund sources priority details, and return the status of the operation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/createMerchantRefundPriority/).
|
|
75
77
|
*/
|
|
76
|
-
createMerchantRefundPriority({ configType, body, requestHeaders }?: PaymentPlatformApplicationValidator.CreateMerchantRefundPriorityParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
78
|
+
createMerchantRefundPriority({ configType, body, requestHeaders }?: PaymentPlatformApplicationValidator.CreateMerchantRefundPriorityParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundPriorityResponseSerializer>;
|
|
77
79
|
/**
|
|
78
80
|
* @param {PaymentPlatformApplicationValidator.CreatePaymentLinkParam} arg
|
|
79
81
|
* - Arg object
|
|
80
82
|
*
|
|
81
83
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
82
84
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
83
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
85
|
+
* @returns {Promise<PaymentPlatformModel.CreatePaymentLinkResponse>} -
|
|
84
86
|
* Success response
|
|
85
87
|
* @name createPaymentLink
|
|
86
88
|
* @summary: Create payment link
|
|
87
89
|
* @description: Generate a payment link for accepting payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/createPaymentLink/).
|
|
88
90
|
*/
|
|
89
|
-
createPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CreatePaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
91
|
+
createPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CreatePaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.CreatePaymentLinkResponse>;
|
|
90
92
|
/**
|
|
91
93
|
* @param {PaymentPlatformApplicationValidator.CreatePaymentOrderParam} arg
|
|
92
94
|
* - Arg object
|
|
93
95
|
*
|
|
94
96
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
95
97
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
96
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
98
|
+
* @returns {Promise<PaymentPlatformModel.PaymentOrderResponse>} - Success response
|
|
97
99
|
* @name createPaymentOrder
|
|
98
100
|
* @summary: Create Order
|
|
99
101
|
* @description: Create an order and payment on the aggregator side - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/createPaymentOrder/).
|
|
100
102
|
*/
|
|
101
|
-
createPaymentOrder({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CreatePaymentOrderParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
103
|
+
createPaymentOrder({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CreatePaymentOrderParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentOrderResponse>;
|
|
102
104
|
/**
|
|
103
105
|
* @param {PaymentPlatformApplicationValidator.EdcAggregatorsAndModelListParam} arg
|
|
104
106
|
* - Arg object
|
|
105
107
|
*
|
|
106
108
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
107
109
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
108
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
110
|
+
* @returns {Promise<PaymentPlatformModel.EdcAggregatorAndModelListResponse>}
|
|
109
111
|
* - Success response
|
|
110
112
|
*
|
|
111
113
|
* @name edcAggregatorsAndModelList
|
|
112
114
|
* @summary: EDC aggregators and model list
|
|
113
115
|
* @description: Retrieve a list of EDC (Electronic Data Capture) aggregators and models. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcAggregatorsAndModelList/).
|
|
114
116
|
*/
|
|
115
|
-
edcAggregatorsAndModelList({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
117
|
+
edcAggregatorsAndModelList({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcAggregatorAndModelListResponse>;
|
|
116
118
|
/**
|
|
117
119
|
* @param {PaymentPlatformApplicationValidator.EdcDeviceListParam} arg - Arg object
|
|
118
120
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
119
121
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
120
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
122
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceListResponse>} - Success response
|
|
121
123
|
* @name edcDeviceList
|
|
122
124
|
* @summary: List EDC devices
|
|
123
125
|
* @description: Retrieves a list of available Electronic Data Capture (EDC) devices. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceList/).
|
|
124
126
|
*/
|
|
125
|
-
edcDeviceList({ pageNo, pageSize, isActive, storeId, deviceTag, requestHeaders }?: PaymentPlatformApplicationValidator.EdcDeviceListParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
127
|
+
edcDeviceList({ pageNo, pageSize, isActive, storeId, deviceTag, requestHeaders }?: PaymentPlatformApplicationValidator.EdcDeviceListParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceListResponse>;
|
|
126
128
|
/**
|
|
127
129
|
* @param {PaymentPlatformApplicationValidator.EdcDeviceStatsParam} arg - Arg object
|
|
128
130
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
129
131
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
130
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
132
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceStatsResponse>} - Success response
|
|
131
133
|
* @name edcDeviceStats
|
|
132
134
|
* @summary: EDC device stats
|
|
133
135
|
* @description: Information about EDC (Electronic Data Capture) devices linked to a specific application within a company. It provides statistics such as the count of active and inactive devices. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceStats/).
|
|
134
136
|
*/
|
|
135
|
-
edcDeviceStats({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
137
|
+
edcDeviceStats({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceStatsResponse>;
|
|
136
138
|
/**
|
|
137
139
|
* @param {PaymentPlatformApplicationValidator.GetBankAccountDetailsOpenAPIParam} arg
|
|
138
140
|
* - Arg object
|
|
139
141
|
*
|
|
140
142
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
141
143
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
142
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
144
|
+
* @returns {Promise<PaymentPlatformModel.RefundAccountResponse>} - Success response
|
|
143
145
|
* @name getBankAccountDetailsOpenAPI
|
|
144
146
|
* @summary: Get bank account details
|
|
145
147
|
* @description: Retrieve bank account information - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getBankAccountDetailsOpenAPI/).
|
|
146
148
|
*/
|
|
147
|
-
getBankAccountDetailsOpenAPI({ orderId, requestHash, requestHeaders }?: PaymentPlatformApplicationValidator.GetBankAccountDetailsOpenAPIParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
149
|
+
getBankAccountDetailsOpenAPI({ orderId, requestHash, requestHeaders }?: PaymentPlatformApplicationValidator.GetBankAccountDetailsOpenAPIParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundAccountResponse>;
|
|
148
150
|
/**
|
|
149
151
|
* @param {PaymentPlatformApplicationValidator.GetBrandPaymentGatewayConfigParam} arg
|
|
150
152
|
* - Arg object
|
|
151
153
|
*
|
|
152
154
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
153
155
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
154
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
156
|
+
* @returns {Promise<PaymentPlatformModel.PaymentGatewayConfigResponse>} -
|
|
155
157
|
* Success response
|
|
156
158
|
* @name getBrandPaymentGatewayConfig
|
|
157
159
|
* @summary: Get secrets for brand payment gateway
|
|
158
160
|
* @description: Retrieve configuration settings like key, secret, webhook url, merchant salt for brand payment gateways. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getBrandPaymentGatewayConfig/).
|
|
159
161
|
*/
|
|
160
|
-
getBrandPaymentGatewayConfig({ aggregator, configType, requestHeaders }?: PaymentPlatformApplicationValidator.GetBrandPaymentGatewayConfigParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
162
|
+
getBrandPaymentGatewayConfig({ aggregator, configType, requestHeaders }?: PaymentPlatformApplicationValidator.GetBrandPaymentGatewayConfigParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentGatewayConfigResponse>;
|
|
161
163
|
/**
|
|
162
164
|
* @param {PaymentPlatformApplicationValidator.GetEdcDeviceParam} arg - Arg object
|
|
163
165
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
164
166
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
165
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
167
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceDetailsResponse>} -
|
|
168
|
+
* Success response
|
|
166
169
|
* @name getEdcDevice
|
|
167
170
|
* @summary: Get an EDC device
|
|
168
171
|
* @description: Retrieve comprehensive details regarding an Electronic Data Capture (EDC) device associated with a particular terminal unique identifier within a company's application.Upon success, it returns the detailed information of the EDC device, including terminal serial number, EDC device serial number, merchant store POS code, store ID, aggregator ID and name, device tag, activation status, and EDC model. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getEdcDevice/).
|
|
169
172
|
*/
|
|
170
|
-
getEdcDevice({ terminalUniqueIdentifier, requestHeaders }?: PaymentPlatformApplicationValidator.GetEdcDeviceParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
173
|
+
getEdcDevice({ terminalUniqueIdentifier, requestHeaders }?: PaymentPlatformApplicationValidator.GetEdcDeviceParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceDetailsResponse>;
|
|
171
174
|
/**
|
|
172
175
|
* @param {PaymentPlatformApplicationValidator.GetMerchantAggregatorAppVersionParam} arg
|
|
173
176
|
* - Arg object
|
|
174
177
|
*
|
|
175
178
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
176
179
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
177
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
180
|
+
* @returns {Promise<PaymentPlatformModel.AggregatorVersionResponse>} -
|
|
178
181
|
* Success response
|
|
179
182
|
* @name getMerchantAggregatorAppVersion
|
|
180
183
|
* @summary: Get app version for Aggregator
|
|
181
184
|
* @description: Get app version required for Payment Mode or sub payment mode for an Aggregator.if merchant required any PG payment mode after certain version for mobile app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getMerchantAggregatorAppVersion/).
|
|
182
185
|
*/
|
|
183
|
-
getMerchantAggregatorAppVersion({ aggregatorId, businessUnit, device, paymentModeId, subPaymentMode, requestHeaders, }?: PaymentPlatformApplicationValidator.GetMerchantAggregatorAppVersionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
186
|
+
getMerchantAggregatorAppVersion({ aggregatorId, businessUnit, device, paymentModeId, subPaymentMode, requestHeaders, }?: PaymentPlatformApplicationValidator.GetMerchantAggregatorAppVersionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.AggregatorVersionResponse>;
|
|
184
187
|
/**
|
|
185
188
|
* @param {PaymentPlatformApplicationValidator.GetMerchantAggregatorPaymentModeDetailsParam} arg
|
|
186
189
|
* - Arg object
|
|
187
190
|
*
|
|
188
191
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
189
192
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
190
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
193
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
191
194
|
* Success response
|
|
192
195
|
* @name getMerchantAggregatorPaymentModeDetails
|
|
193
196
|
* @summary: Get merchant aggregator and their payment mode
|
|
194
197
|
* @description: Get available payment gateways and payment mode and it's sub payment mode details like for razorpay their active/inactive payment modes netbanking , wallet, upi are shown. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getMerchantAggregatorPaymentModeDetails/).
|
|
195
198
|
*/
|
|
196
|
-
getMerchantAggregatorPaymentModeDetails({ aggregatorId, businessUnit, device, requestHeaders }?: PaymentPlatformApplicationValidator.GetMerchantAggregatorPaymentModeDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
199
|
+
getMerchantAggregatorPaymentModeDetails({ aggregatorId, businessUnit, device, requestHeaders }?: PaymentPlatformApplicationValidator.GetMerchantAggregatorPaymentModeDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeResponse>;
|
|
197
200
|
/**
|
|
198
201
|
* @param {PaymentPlatformApplicationValidator.GetMerchantPaymentOptionParam} arg
|
|
199
202
|
* - Arg object
|
|
200
203
|
*
|
|
201
204
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
202
205
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
203
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
206
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
204
207
|
* Success response
|
|
205
208
|
* @name getMerchantPaymentOption
|
|
206
209
|
* @summary: Get merchant payment option
|
|
207
210
|
* @description: Retrieve available payment gateways and offline payment mode details for a merchant by providing company ID and application ID, returning a list of active payment gateways and their configurations, including online and offline options. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getMerchantPaymentOption/).
|
|
208
211
|
*/
|
|
209
|
-
getMerchantPaymentOption({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
212
|
+
getMerchantPaymentOption({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeResponse>;
|
|
210
213
|
/**
|
|
211
214
|
* @param {PaymentPlatformApplicationValidator.GetMerchantRefundPriorityParam} arg
|
|
212
215
|
* - Arg object
|
|
213
216
|
*
|
|
214
217
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
215
218
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
216
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
219
|
+
* @returns {Promise<PaymentPlatformModel.RefundPriorityResponseSerializer>}
|
|
220
|
+
* - Success response
|
|
221
|
+
*
|
|
217
222
|
* @name getMerchantRefundPriority
|
|
218
223
|
* @summary: Get merchant refund priority
|
|
219
224
|
* @description: Retrieve merchant refund priority configurations, returning the status of the update and the refund sources priority with their descriptions and priorities. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getMerchantRefundPriority/).
|
|
220
225
|
*/
|
|
221
|
-
getMerchantRefundPriority({ configType, requestHeaders }?: PaymentPlatformApplicationValidator.GetMerchantRefundPriorityParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
226
|
+
getMerchantRefundPriority({ configType, requestHeaders }?: PaymentPlatformApplicationValidator.GetMerchantRefundPriorityParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundPriorityResponseSerializer>;
|
|
222
227
|
/**
|
|
223
228
|
* @param {PaymentPlatformApplicationValidator.GetPGConfigAggregatorsParam} arg
|
|
224
229
|
* - Arg object
|
|
225
230
|
*
|
|
226
231
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
227
232
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
228
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
233
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
229
234
|
* Success response
|
|
230
235
|
* @name getPGConfigAggregators
|
|
231
236
|
* @summary: Get merchant aggregator payment mode
|
|
232
237
|
* @description: Get payment gateway and it's payment mode and it's sub payment mode details like for razorpay update active/inactive payment modes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPGConfigAggregators/).
|
|
233
238
|
*/
|
|
234
|
-
getPGConfigAggregators({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
239
|
+
getPGConfigAggregators({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeResponse>;
|
|
235
240
|
/**
|
|
236
241
|
* @param {PaymentPlatformApplicationValidator.GetPaymentCodeOptionParam} arg
|
|
237
242
|
* - Arg object
|
|
238
243
|
*
|
|
239
244
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
240
245
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
241
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
246
|
+
* @returns {Promise<PaymentPlatformModel.GetPaymentCodeResponse>} - Success response
|
|
242
247
|
* @name getPaymentCodeOption
|
|
243
248
|
* @summary: Get payment mode codes
|
|
244
249
|
* @description: Enables users to retrieve options for payment codes.users can access information such as payment method names, networks, and associated codes, facilitating seamless integration and management of payment modes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentCodeOption/).
|
|
245
250
|
*/
|
|
246
|
-
getPaymentCodeOption({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
251
|
+
getPaymentCodeOption({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.GetPaymentCodeResponse>;
|
|
247
252
|
/**
|
|
248
253
|
* @param {PaymentPlatformApplicationValidator.GetPaymentLinkParam} arg - Arg object
|
|
249
254
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
250
255
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
251
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
256
|
+
* @returns {Promise<PaymentPlatformModel.GetPaymentLinkResponse>} - Success response
|
|
252
257
|
* @name getPaymentLink
|
|
253
258
|
* @summary: Get payment link
|
|
254
259
|
* @description: Retrieve a payment link for making payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentLink/).
|
|
255
260
|
*/
|
|
256
|
-
getPaymentLink({ paymentLinkId, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
261
|
+
getPaymentLink({ paymentLinkId, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.GetPaymentLinkResponse>;
|
|
257
262
|
/**
|
|
258
263
|
* @param {PaymentPlatformApplicationValidator.GetPaymentModeControlRoutesParam} arg
|
|
259
264
|
* - Arg object
|
|
260
265
|
*
|
|
261
266
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
262
267
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
263
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
268
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
264
269
|
* Success response
|
|
265
270
|
* @name getPaymentModeControlRoutes
|
|
266
271
|
* @summary: Get offline/advance payment mode
|
|
267
272
|
* @description: Get details of offline / advance payment mode like for cod offline payment mode get user level cod limit, order level cod limit, cod charge. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentModeControlRoutes/).
|
|
268
273
|
*/
|
|
269
|
-
getPaymentModeControlRoutes({ mode, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentModeControlRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
274
|
+
getPaymentModeControlRoutes({ mode, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentModeControlRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeResponse>;
|
|
270
275
|
/**
|
|
271
276
|
* @param {PaymentPlatformApplicationValidator.GetPaymentModeCustomConfigParam} arg
|
|
272
277
|
* - Arg object
|
|
@@ -287,213 +292,214 @@ declare class Payment {
|
|
|
287
292
|
*
|
|
288
293
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
289
294
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
290
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
295
|
+
* @returns {Promise<PaymentPlatformModel.PaymentOptionsResponse>} - Success response
|
|
291
296
|
* @name getPaymentModeRoutes
|
|
292
297
|
* @summary: Get payment modes
|
|
293
|
-
* @description:
|
|
298
|
+
* @description: Get available payment methods on the payment page, specifying the aggregator for each option, such as 'Netbanking powered by Juspay' and 'Card powered by Razorpay'. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentModeRoutes/).
|
|
294
299
|
*/
|
|
295
|
-
getPaymentModeRoutes({ refresh, requestType, orderId, shipmentId, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
300
|
+
getPaymentModeRoutes({ refresh, requestType, orderId, shipmentId, amount, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentOptionsResponse>;
|
|
296
301
|
/**
|
|
297
302
|
* @param {PaymentPlatformApplicationValidator.GetPaymentSessionParam} arg
|
|
298
303
|
* - Arg object
|
|
299
304
|
*
|
|
300
305
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
301
306
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
302
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
307
|
+
* @returns {Promise<PaymentPlatformModel.PaymentSessionSerializer>} -
|
|
303
308
|
* Success response
|
|
304
309
|
* @name getPaymentSession
|
|
305
310
|
* @summary: Get payment session
|
|
306
311
|
* @description: Allows users to fetch the payment session details associated with a given order ID or transaction ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentSession/).
|
|
307
312
|
*/
|
|
308
|
-
getPaymentSession({ gid, lineItem, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
313
|
+
getPaymentSession({ gid, lineItem, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentSessionSerializer>;
|
|
309
314
|
/**
|
|
310
315
|
* @param {PaymentPlatformApplicationValidator.GetPosPaymentModeRoutesParam} arg
|
|
311
316
|
* - Arg object
|
|
312
317
|
*
|
|
313
318
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
314
319
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
315
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
320
|
+
* @returns {Promise<PaymentPlatformModel.PaymentModeRouteResponse>} -
|
|
321
|
+
* Success response
|
|
316
322
|
* @name getPosPaymentModeRoutes
|
|
317
323
|
* @summary: List POS payment modes
|
|
318
324
|
* @description: Available payment methods on the payment page for POS, specifying the aggregator for each option, such as 'CARD powered by Juspay' and 'QR powered by Razorpay'. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPosPaymentModeRoutes/).
|
|
319
325
|
*/
|
|
320
|
-
getPosPaymentModeRoutes({ amount, pincode, orderType, cartId, checkoutMode, refresh, orderId, cardReference, userDetails, displaySplit, advancePayment, shipmentId, requestHeaders, }?: PaymentPlatformApplicationValidator.GetPosPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
326
|
+
getPosPaymentModeRoutes({ amount, pincode, orderType, cartId, checkoutMode, refresh, orderId, cardReference, userDetails, displaySplit, advancePayment, shipmentId, requestHeaders, }?: PaymentPlatformApplicationValidator.GetPosPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentModeRouteResponse>;
|
|
321
327
|
/**
|
|
322
328
|
* @param {PaymentPlatformApplicationValidator.GetUserBeneficiariesParam} arg
|
|
323
329
|
* - Arg object
|
|
324
330
|
*
|
|
325
331
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
326
332
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
327
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
333
|
+
* @returns {Promise<PaymentPlatformModel.OrderBeneficiaryResponse>} -
|
|
328
334
|
* Success response
|
|
329
335
|
* @name getUserBeneficiaries
|
|
330
336
|
* @summary: Get user beneficiaries
|
|
331
337
|
* @description: Retrieves information about beneficiaries associated with the user for processing refunds, based on the provided order ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserBeneficiaries/).
|
|
332
338
|
*/
|
|
333
|
-
getUserBeneficiaries({ orderId, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserBeneficiariesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
339
|
+
getUserBeneficiaries({ orderId, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserBeneficiariesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.OrderBeneficiaryResponse>;
|
|
334
340
|
/**
|
|
335
341
|
* @param {PaymentPlatformApplicationValidator.GetUserCODlimitRoutesParam} arg
|
|
336
342
|
* - Arg object
|
|
337
343
|
*
|
|
338
344
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
339
345
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
340
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
346
|
+
* @returns {Promise<PaymentPlatformModel.GetUserCODLimitResponse>} - Success response
|
|
341
347
|
* @name getUserCODlimitRoutes
|
|
342
348
|
* @summary: Get user COD
|
|
343
349
|
* @description: Retrieve user cod limt data of user i.e cod is active or not for user and remaining limit - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserCODlimitRoutes/).
|
|
344
350
|
*/
|
|
345
|
-
getUserCODlimitRoutes({ merchantUserId, mobileNo, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserCODlimitRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
351
|
+
getUserCODlimitRoutes({ merchantUserId, mobileNo, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserCODlimitRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.GetUserCODLimitResponse>;
|
|
346
352
|
/**
|
|
347
353
|
* @param {PaymentPlatformApplicationValidator.GetUserOrderBeneficiariesParam} arg
|
|
348
354
|
* - Arg object
|
|
349
355
|
*
|
|
350
356
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
351
357
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
352
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
358
|
+
* @returns {Promise<PaymentPlatformModel.OrderBeneficiaryResponse>} -
|
|
353
359
|
* Success response
|
|
354
360
|
* @name getUserOrderBeneficiaries
|
|
355
361
|
* @summary: Get user order beneficiaries
|
|
356
362
|
* @description: Retrieve beneficiary details like bank name , ifsc code , branch name associated with a specific order for refund processing - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserOrderBeneficiaries/).
|
|
357
363
|
*/
|
|
358
|
-
getUserOrderBeneficiaries({ orderId, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserOrderBeneficiariesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
364
|
+
getUserOrderBeneficiaries({ orderId, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserOrderBeneficiariesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.OrderBeneficiaryResponse>;
|
|
359
365
|
/**
|
|
360
366
|
* @param {PaymentPlatformApplicationValidator.InitialisePaymentParam} arg
|
|
361
367
|
* - Arg object
|
|
362
368
|
*
|
|
363
369
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
364
370
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
365
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
371
|
+
* @returns {Promise<PaymentPlatformModel.PaymentInitializationResponse>} -
|
|
366
372
|
* Success response
|
|
367
373
|
* @name initialisePayment
|
|
368
374
|
* @summary: Start payment process
|
|
369
375
|
* @description: Initiates the payment procedure for an order.Upon successful initiation, it returns a details including the success status, aggregator information, payment method, status, merchant order ID aggregator order , polling URL, timeout, virtual ID, Razorpay payment ID, customer ID, and device ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/initialisePayment/).
|
|
370
376
|
*/
|
|
371
|
-
initialisePayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.InitialisePaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
377
|
+
initialisePayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.InitialisePaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentInitializationResponse>;
|
|
372
378
|
/**
|
|
373
379
|
* @param {PaymentPlatformApplicationValidator.MerchantOnBoardingParam} arg
|
|
374
380
|
* - Arg object
|
|
375
381
|
*
|
|
376
382
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
377
383
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
378
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
384
|
+
* @returns {Promise<PaymentPlatformModel.MerchantOnBoardingResponse>} -
|
|
379
385
|
* Success response
|
|
380
386
|
* @name merchantOnBoarding
|
|
381
387
|
* @summary: Merchant onboarding for BNPL
|
|
382
388
|
* @description: Initiate the merchant onboarding process for Buy Now Pay Later (BNPL). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/merchantOnBoarding/).
|
|
383
389
|
*/
|
|
384
|
-
merchantOnBoarding({ body, requestHeaders }?: PaymentPlatformApplicationValidator.MerchantOnBoardingParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
390
|
+
merchantOnBoarding({ body, requestHeaders }?: PaymentPlatformApplicationValidator.MerchantOnBoardingParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.MerchantOnBoardingResponse>;
|
|
385
391
|
/**
|
|
386
392
|
* @param {PaymentPlatformApplicationValidator.OauthGetUrlParam} arg - Arg object
|
|
387
393
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
388
394
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
389
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
395
|
+
* @returns {Promise<PaymentPlatformModel.GetOauthUrlResponse>} - Success response
|
|
390
396
|
* @name oauthGetUrl
|
|
391
397
|
* @summary: Get OAuth URL
|
|
392
398
|
* @description: This has been used when merchant is setup their razorpay payment gateway, they will redirect to razorpay site after submitting all their secrets for authetication. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/oauthGetUrl/).
|
|
393
399
|
*/
|
|
394
|
-
oauthGetUrl({ aggregator, successRedirectUrl, failureRedirectUrl, requestHeaders }?: PaymentPlatformApplicationValidator.OauthGetUrlParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
400
|
+
oauthGetUrl({ aggregator, successRedirectUrl, failureRedirectUrl, requestHeaders }?: PaymentPlatformApplicationValidator.OauthGetUrlParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.GetOauthUrlResponse>;
|
|
395
401
|
/**
|
|
396
402
|
* @param {PaymentPlatformApplicationValidator.PatchMerchantAggregatorPaymentModeDetailsParam} arg
|
|
397
403
|
* - Arg object
|
|
398
404
|
*
|
|
399
405
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
400
406
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
401
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
407
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
402
408
|
* Success response
|
|
403
409
|
* @name patchMerchantAggregatorPaymentModeDetails
|
|
404
410
|
* @summary: Update merchant aggregator payment mode
|
|
405
411
|
* @description: update payment gateway and it's payment mode and it's sub payment mode details like for razorpay update active/inactive payment modes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/patchMerchantAggregatorPaymentModeDetails/).
|
|
406
412
|
*/
|
|
407
|
-
patchMerchantAggregatorPaymentModeDetails({ aggregatorId, body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantAggregatorPaymentModeDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
413
|
+
patchMerchantAggregatorPaymentModeDetails({ aggregatorId, body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantAggregatorPaymentModeDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeResponse>;
|
|
408
414
|
/**
|
|
409
415
|
* @param {PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionParam} arg
|
|
410
416
|
* - Arg object
|
|
411
417
|
*
|
|
412
418
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
413
419
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
414
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
420
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
415
421
|
* Success response
|
|
416
422
|
* @name patchMerchantPaymentOption
|
|
417
423
|
* @summary: Update payment gateways and payment mode
|
|
418
424
|
* @description: Updated online/offline payment as active/inactive like disable offline payment mode will disable offline payment modes on checkout page on merchant's website - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/patchMerchantPaymentOption/).
|
|
419
425
|
*/
|
|
420
|
-
patchMerchantPaymentOption({ body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
426
|
+
patchMerchantPaymentOption({ body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeResponse>;
|
|
421
427
|
/**
|
|
422
428
|
* @param {PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionVersionParam} arg
|
|
423
429
|
* - Arg object
|
|
424
430
|
*
|
|
425
431
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
426
432
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
427
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
433
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
428
434
|
* Success response
|
|
429
435
|
* @name patchMerchantPaymentOptionVersion
|
|
430
436
|
* @summary: Update app version for Aggrgator
|
|
431
437
|
* @description: Update app version required for Payment Mode or sub payment mode for an Aggregator.if merchant required any PG payment mode after certain version for mobile app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/patchMerchantPaymentOptionVersion/).
|
|
432
438
|
*/
|
|
433
|
-
patchMerchantPaymentOptionVersion({ aggregatorId, body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionVersionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
439
|
+
patchMerchantPaymentOptionVersion({ aggregatorId, body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionVersionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeResponse>;
|
|
434
440
|
/**
|
|
435
441
|
* @param {PaymentPlatformApplicationValidator.PaymentStatusBulkParam} arg
|
|
436
442
|
* - Arg object
|
|
437
443
|
*
|
|
438
444
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
439
445
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
440
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
446
|
+
* @returns {Promise<PaymentPlatformModel.PaymentStatusBulkHandlerResponse>}
|
|
441
447
|
* - Success response
|
|
442
448
|
*
|
|
443
449
|
* @name paymentStatusBulk
|
|
444
450
|
* @summary: Retrieve status of multiple payments in bulk
|
|
445
451
|
* @description: Retrieve status of multiple payments in bulk and returns the status of each payment along with associated details such as payment ID, amount, currency, status, payment mode, and payment gateway in the response - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/paymentStatusBulk/).
|
|
446
452
|
*/
|
|
447
|
-
paymentStatusBulk({ body, requestHeaders }?: PaymentPlatformApplicationValidator.PaymentStatusBulkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
453
|
+
paymentStatusBulk({ body, requestHeaders }?: PaymentPlatformApplicationValidator.PaymentStatusBulkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentStatusBulkHandlerResponse>;
|
|
448
454
|
/**
|
|
449
455
|
* @param {PaymentPlatformApplicationValidator.PollingPaymentLinkParam} arg
|
|
450
456
|
* - Arg object
|
|
451
457
|
*
|
|
452
458
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
453
459
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
454
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
460
|
+
* @returns {Promise<PaymentPlatformModel.PollingPaymentLinkResponse>} -
|
|
455
461
|
* Success response
|
|
456
462
|
* @name pollingPaymentLink
|
|
457
463
|
* @summary: Poll status of payment link
|
|
458
464
|
* @description: Periodically checks the status of a payment link to monitor for any updates or changes.retrieve real-time information about the payment link's current status, such as whether it has been processed, cancelled, or expired. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/pollingPaymentLink/).
|
|
459
465
|
*/
|
|
460
|
-
pollingPaymentLink({ paymentLinkId, requestHeaders }?: PaymentPlatformApplicationValidator.PollingPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
466
|
+
pollingPaymentLink({ paymentLinkId, requestHeaders }?: PaymentPlatformApplicationValidator.PollingPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PollingPaymentLinkResponse>;
|
|
461
467
|
/**
|
|
462
468
|
* @param {PaymentPlatformApplicationValidator.RepaymentDetailsParam} arg - Arg object
|
|
463
469
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
464
470
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
465
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
471
|
+
* @returns {Promise<PaymentPlatformModel.RepaymentResponse>} - Success response
|
|
466
472
|
* @name repaymentDetails
|
|
467
473
|
* @summary: Repayment details for BNPL
|
|
468
474
|
* @description: Retrieve repayment details for Buy Now Pay Later (BNPL) payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/repaymentDetails/).
|
|
469
475
|
*/
|
|
470
|
-
repaymentDetails({ body, requestHeaders }?: PaymentPlatformApplicationValidator.RepaymentDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
476
|
+
repaymentDetails({ body, requestHeaders }?: PaymentPlatformApplicationValidator.RepaymentDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RepaymentResponse>;
|
|
471
477
|
/**
|
|
472
478
|
* @param {PaymentPlatformApplicationValidator.ResendOrCancelPaymentParam} arg
|
|
473
479
|
* - Arg object
|
|
474
480
|
*
|
|
475
481
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
476
482
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
477
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
483
|
+
* @returns {Promise<PaymentPlatformModel.ResendOrCancelPaymentResponse>} -
|
|
478
484
|
* Success response
|
|
479
485
|
* @name resendOrCancelPayment
|
|
480
486
|
* @summary: Resend or cancel payment
|
|
481
487
|
* @description: Enable you to perform actions related to the resending and cancellation of payment links through SMS or EMAIL. resend or cancel payment link that have been initiated but may require modification or cancellation for various reasons, ensuring flexibility and control in payment processing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/resendOrCancelPayment/).
|
|
482
488
|
*/
|
|
483
|
-
resendOrCancelPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ResendOrCancelPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
489
|
+
resendOrCancelPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ResendOrCancelPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.ResendOrCancelPaymentResponse>;
|
|
484
490
|
/**
|
|
485
491
|
* @param {PaymentPlatformApplicationValidator.ResendPaymentLinkParam} arg
|
|
486
492
|
* - Arg object
|
|
487
493
|
*
|
|
488
494
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
489
495
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
490
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
496
|
+
* @returns {Promise<PaymentPlatformModel.ResendPaymentLinkResponse>} -
|
|
491
497
|
* Success response
|
|
492
498
|
* @name resendPaymentLink
|
|
493
499
|
* @summary: Resend payment link
|
|
494
500
|
* @description: Resends an existing payment link to the user to complete the payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/resendPaymentLink/).
|
|
495
501
|
*/
|
|
496
|
-
resendPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ResendPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
502
|
+
resendPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ResendPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.ResendPaymentLinkResponse>;
|
|
497
503
|
/**
|
|
498
504
|
* @param {PaymentPlatformApplicationValidator.RevokeOauthTokenParam} arg - Arg object
|
|
499
505
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -523,13 +529,13 @@ declare class Payment {
|
|
|
523
529
|
*
|
|
524
530
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
525
531
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
526
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
532
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
527
533
|
* Success response
|
|
528
534
|
* @name setMerchantModeControlRoutes
|
|
529
535
|
* @summary: Update offline payment mode
|
|
530
536
|
* @description: Update offline payment mode details for the merchant like update for cod offline payment mode get user level cod limit, order level cod limit, cod charge, enable/disable device for cod. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/setMerchantModeControlRoutes/).
|
|
531
537
|
*/
|
|
532
|
-
setMerchantModeControlRoutes({ mode, body, requestHeaders }?: PaymentPlatformApplicationValidator.SetMerchantModeControlRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
538
|
+
setMerchantModeControlRoutes({ mode, body, requestHeaders }?: PaymentPlatformApplicationValidator.SetMerchantModeControlRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeResponse>;
|
|
533
539
|
/**
|
|
534
540
|
* @param {PaymentPlatformApplicationValidator.SetPaymentModeCustomConfigParam} arg
|
|
535
541
|
* - Arg object
|
|
@@ -550,71 +556,77 @@ declare class Payment {
|
|
|
550
556
|
*
|
|
551
557
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
552
558
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
553
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
559
|
+
* @returns {Promise<PaymentPlatformModel.SetCODOptionResponse>} - Success response
|
|
554
560
|
* @name setUserCODlimitRoutes
|
|
555
561
|
* @summary: Set user COD
|
|
556
562
|
* @description: This allows access to seller to enable disable cod of specific user - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/setUserCODlimitRoutes/).
|
|
557
563
|
*/
|
|
558
|
-
setUserCODlimitRoutes({ body, requestHeaders }?: PaymentPlatformApplicationValidator.SetUserCODlimitRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
564
|
+
setUserCODlimitRoutes({ body, requestHeaders }?: PaymentPlatformApplicationValidator.SetUserCODlimitRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.SetCODOptionResponse>;
|
|
559
565
|
/**
|
|
560
566
|
* @param {PaymentPlatformApplicationValidator.UpdateEdcDeviceParam} arg - Arg object
|
|
561
567
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
562
568
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
563
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
569
|
+
* @returns {Promise<PaymentPlatformModel.EdcDeviceAddResponse>} - Success response
|
|
564
570
|
* @name updateEdcDevice
|
|
565
571
|
* @summary: Update EDC device
|
|
566
572
|
* @description: Enables the modification of settings and details associated with an Electronic Data Capture (EDC) device linked to a specific application within a company. Upon success, it returns the updated information of the EDC device. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateEdcDevice/).
|
|
567
573
|
*/
|
|
568
|
-
updateEdcDevice({ body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdateEdcDeviceParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
574
|
+
updateEdcDevice({ body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdateEdcDeviceParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceAddResponse>;
|
|
569
575
|
/**
|
|
570
576
|
* @param {PaymentPlatformApplicationValidator.UpdateMerchantRefundPriorityParam} arg
|
|
571
577
|
* - Arg object
|
|
572
578
|
*
|
|
573
579
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
574
580
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
575
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
581
|
+
* @returns {Promise<PaymentPlatformModel.RefundPriorityResponseSerializer>}
|
|
582
|
+
* - Success response
|
|
583
|
+
*
|
|
576
584
|
* @name updateMerchantRefundPriority
|
|
577
585
|
* @summary: Update merchant refund priority
|
|
578
586
|
* @description: Update merchant refund priority configurations, with the provided refund sources priority details, and return the status of the operation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateMerchantRefundPriority/).
|
|
579
587
|
*/
|
|
580
|
-
updateMerchantRefundPriority({ configType, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdateMerchantRefundPriorityParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
588
|
+
updateMerchantRefundPriority({ configType, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdateMerchantRefundPriorityParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundPriorityResponseSerializer>;
|
|
581
589
|
/**
|
|
582
590
|
* @param {PaymentPlatformApplicationValidator.UpdatePaymentSessionParam} arg
|
|
583
591
|
* - Arg object
|
|
584
592
|
*
|
|
585
593
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
586
594
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
587
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
588
|
-
* Success response
|
|
595
|
+
* @returns {Promise<PaymentPlatformModel.PaymentSessionResponseSerializer>}
|
|
596
|
+
* - Success response
|
|
597
|
+
*
|
|
589
598
|
* @name updatePaymentSession
|
|
590
599
|
* @summary: Update payment session
|
|
591
600
|
* @description: Update the details of a payment session associated with a given order ID or transaction ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updatePaymentSession/).
|
|
592
601
|
*/
|
|
593
|
-
updatePaymentSession({ gid, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdatePaymentSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
602
|
+
updatePaymentSession({ gid, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdatePaymentSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentSessionResponseSerializer>;
|
|
594
603
|
/**
|
|
595
604
|
* @param {PaymentPlatformApplicationValidator.UpdateRefundSessionParam} arg
|
|
596
605
|
* - Arg object
|
|
597
606
|
*
|
|
598
607
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
599
608
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
600
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
609
|
+
* @returns {Promise<PaymentPlatformModel.RefundSessionResponseSerializer>}
|
|
610
|
+
* - Success response
|
|
611
|
+
*
|
|
601
612
|
* @name updateRefundSession
|
|
602
613
|
* @summary: Update refund session
|
|
603
614
|
* @description: Allows users to update the details of a refund session associated with a specific global identifier (GID) and request ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateRefundSession/).
|
|
604
615
|
*/
|
|
605
|
-
updateRefundSession({ gid, requestId, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdateRefundSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
616
|
+
updateRefundSession({ gid, requestId, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdateRefundSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundSessionResponseSerializer>;
|
|
606
617
|
/**
|
|
607
618
|
* @param {PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam} arg
|
|
608
619
|
* - Arg object
|
|
609
620
|
*
|
|
610
621
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
611
622
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
612
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
623
|
+
* @returns {Promise<PaymentPlatformModel.ValidateCustomerResponse>} -
|
|
624
|
+
* Success response
|
|
613
625
|
* @name verifyCustomerForPayment
|
|
614
626
|
* @summary: Validate customer for paylater
|
|
615
627
|
* @description: Verify whether the user is eligible for pay-later payment from the payment aggregator's side using the customer's phone number - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/verifyCustomerForPayment/).
|
|
616
628
|
*/
|
|
617
|
-
verifyCustomerForPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
629
|
+
verifyCustomerForPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.ValidateCustomerResponse>;
|
|
618
630
|
}
|
|
619
631
|
import PaymentPlatformApplicationValidator = require("./PaymentPlatformApplicationValidator");
|
|
620
632
|
import PaymentPlatformModel = require("./PaymentPlatformModel");
|