@gofynd/fdk-client-javascript 1.4.15-beta.14 → 1.4.15-beta.15
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 +23 -26
- package/package.json +5 -1
- package/sdk/application/ApplicationClient.d.ts +5 -6
- package/sdk/application/ApplicationClient.js +24 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +133 -83
- package/sdk/application/Cart/CartApplicationClient.js +444 -76
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +132 -114
- package/sdk/application/Catalog/CatalogApplicationClient.js +209 -126
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +58 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +73 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +95 -66
- package/sdk/application/Content/ContentApplicationClient.js +274 -111
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -11
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -10
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
- package/sdk/application/Lead/LeadApplicationClient.js +6 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +37 -57
- package/sdk/application/Logistic/LogisticApplicationClient.js +117 -180
- package/sdk/application/Order/OrderApplicationClient.d.ts +63 -21
- package/sdk/application/Order/OrderApplicationClient.js +217 -17
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +179 -149
- package/sdk/application/Payment/PaymentApplicationClient.js +301 -167
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.js +10 -6
- package/sdk/application/User/UserApplicationClient.d.ts +103 -53
- package/sdk/application/User/UserApplicationClient.js +308 -49
- package/sdk/common/AxiosHelper.js +11 -4
- package/sdk/common/Constant.d.ts +27 -4
- package/sdk/common/Constant.js +33 -6
- package/sdk/common/utils.d.ts +10 -0
- package/sdk/common/utils.js +24 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +46 -16
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +266 -40
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +163 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +158 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +5 -2
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +23 -7
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +9 -9
- package/sdk/partner/Lead/LeadPartnerClient.js +9 -9
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +14 -9
- package/sdk/partner/Lead/LeadPartnerModel.js +19 -17
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +264 -49
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +2116 -252
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2256 -258
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +1187 -230
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +21 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +218 -13
- package/sdk/partner/PartnerClient.d.ts +5 -2
- package/sdk/partner/PartnerClient.js +21 -7
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +32 -34
- package/sdk/partner/Theme/ThemePartnerClient.js +42 -44
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +142 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +129 -44
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +83 -27
- package/sdk/partner/Webhook/WebhookPartnerClient.js +446 -27
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +920 -185
- package/sdk/partner/Webhook/WebhookPartnerModel.js +462 -154
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +5 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +41 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +8 -7
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +17 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +68 -13
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +44 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +3 -33
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -244
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +18 -18
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +266 -203
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1446 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +729 -100
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +446 -82
- package/sdk/platform/Cart/CartPlatformModel.d.ts +6927 -1396
- package/sdk/platform/Cart/CartPlatformModel.js +3065 -1316
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +433 -248
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1662 -559
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +464 -159
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +304 -87
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +383 -234
- package/sdk/platform/Catalog/CatalogPlatformClient.js +2475 -1557
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9573 -2678
- package/sdk/platform/Catalog/CatalogPlatformModel.js +5033 -1973
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +364 -117
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +281 -104
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -4
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +36 -25
- package/sdk/platform/Common/CommonPlatformModel.js +25 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -153
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +102 -541
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +36 -49
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +20 -60
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +189 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +165 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +58 -81
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +68 -116
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +291 -249
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +243 -234
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +78 -65
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +101 -88
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -19
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +68 -34
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +174 -41
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +667 -244
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +474 -155
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +366 -280
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1435 -753
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +323 -223
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +335 -205
- package/sdk/platform/Content/ContentPlatformClient.d.ts +304 -106
- package/sdk/platform/Content/ContentPlatformClient.js +1842 -450
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2582 -566
- package/sdk/platform/Content/ContentPlatformModel.js +1426 -558
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +293 -114
- package/sdk/platform/Content/ContentPlatformValidator.js +328 -101
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +59 -23
- package/sdk/platform/Discount/DiscountPlatformClient.js +84 -23
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +403 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +121 -107
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +12 -110
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +14 -684
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -115
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +22 -22
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +90 -920
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +53 -949
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +14 -9
- package/sdk/platform/Lead/LeadPlatformModel.js +20 -18
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +56 -9
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +340 -10
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +128 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +81 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +517 -160
- package/sdk/platform/Order/OrderPlatformClient.js +1623 -384
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10372 -1587
- package/sdk/platform/Order/OrderPlatformModel.js +5726 -1512
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +539 -123
- package/sdk/platform/Order/OrderPlatformValidator.js +323 -92
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +8 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +11 -9
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +3 -2
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +77 -25
- package/sdk/platform/Partner/PartnerPlatformModel.js +32 -21
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +144 -219
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +307 -796
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +86 -121
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +80 -138
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +30 -30
- package/sdk/platform/Payment/PaymentPlatformClient.js +30 -30
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +901 -761
- package/sdk/platform/Payment/PaymentPlatformModel.js +663 -583
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
- package/sdk/platform/PlatformApplicationClient.js +0 -4
- package/sdk/platform/PlatformClient.d.ts +5 -4
- package/sdk/platform/PlatformClient.js +32 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +526 -69
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +3337 -337
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +603 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +529 -32
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +184 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +780 -491
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +9408 -1666
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5720 -1765
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +257 -180
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +185 -127
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
- package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
- package/sdk/platform/Share/SharePlatformModel.d.ts +45 -9
- package/sdk/platform/Share/SharePlatformModel.js +31 -6
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -26
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +38 -29
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -3
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +10 -2
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
- package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +92 -23
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +167 -45
- package/sdk/platform/User/UserPlatformApplicationClient.js +950 -67
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +189 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +157 -3
- package/sdk/platform/User/UserPlatformModel.d.ts +880 -47
- package/sdk/platform/User/UserPlatformModel.js +607 -46
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +33 -86
- package/sdk/platform/Webhook/WebhookPlatformClient.js +79 -474
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +861 -422
- package/sdk/platform/Webhook/WebhookPlatformModel.js +469 -391
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -2
- package/sdk/platform/index.js +0 -4
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
- package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
- package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
- package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +9 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +41 -21
- package/sdk/public/Configuration/ConfigurationPublicModel.js +28 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +145 -2
- package/sdk/public/Content/ContentPublicClient.js +1067 -17
- package/sdk/public/Content/ContentPublicModel.d.ts +704 -3
- package/sdk/public/Content/ContentPublicModel.js +751 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +94 -3
- package/sdk/public/Content/ContentPublicValidator.js +119 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/PublicClient.d.ts +5 -2
- package/sdk/public/PublicClient.js +16 -6
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -13
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -13
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +249 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +81 -61
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/utility.d.ts +3 -0
- package/utility.js +7 -0
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
- package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
- package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -382
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -408
|
@@ -3,275 +3,215 @@ declare class Payment {
|
|
|
3
3
|
constructor(config: any, applicationId: any);
|
|
4
4
|
config: any;
|
|
5
5
|
applicationId: any;
|
|
6
|
-
/**
|
|
7
|
-
* @param {PaymentPlatformApplicationValidator.AddEdcDeviceParam} arg - Arg object
|
|
8
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
9
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
10
|
-
* @returns {Promise<PaymentPlatformModel.EdcDeviceUpdateResponse>} - Success response
|
|
11
|
-
* @name addEdcDevice
|
|
12
|
-
* @summary: Create an EDC device
|
|
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
|
-
*/
|
|
15
|
-
addEdcDevice({ terminalUniqueIdentifier, body, requestHeaders }?: PaymentPlatformApplicationValidator.AddEdcDeviceParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceUpdateResponse>;
|
|
16
6
|
/**
|
|
17
7
|
* @param {PaymentPlatformApplicationValidator.AddRefundBankAccountUsingOTPParam} arg
|
|
18
8
|
* - Arg object
|
|
19
9
|
*
|
|
20
10
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
21
11
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
22
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
12
|
+
* @returns {Promise<PaymentPlatformModel.RefundAccountDetails>} - Success response
|
|
23
13
|
* @name addRefundBankAccountUsingOTP
|
|
24
14
|
* @summary: Create refund account
|
|
25
|
-
* @description: The addition of a bank account specifically for refunds, employing OTP verification for security - Check out [method documentation](https://
|
|
15
|
+
* @description: The addition of a bank account specifically for refunds, employing OTP verification for security - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/addRefundBankAccountUsingOTP/).
|
|
26
16
|
*/
|
|
27
|
-
addRefundBankAccountUsingOTP({ body, requestHeaders }?: PaymentPlatformApplicationValidator.AddRefundBankAccountUsingOTPParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
17
|
+
addRefundBankAccountUsingOTP({ body, requestHeaders }?: PaymentPlatformApplicationValidator.AddRefundBankAccountUsingOTPParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundAccountDetails>;
|
|
28
18
|
/**
|
|
29
19
|
* @param {PaymentPlatformApplicationValidator.CancelPaymentLinkParam} arg
|
|
30
20
|
* - Arg object
|
|
31
21
|
*
|
|
32
22
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
33
23
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
34
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
24
|
+
* @returns {Promise<PaymentPlatformModel.CancelPaymentLinkDetails>} -
|
|
35
25
|
* Success response
|
|
36
26
|
* @name cancelPaymentLink
|
|
37
27
|
* @summary: Cancel payment link
|
|
38
|
-
* @description: Deactivate and cancel a payment link. - Check out [method documentation](https://
|
|
28
|
+
* @description: Deactivate and cancel a payment link. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/cancelPaymentLink/).
|
|
39
29
|
*/
|
|
40
|
-
cancelPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CancelPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
30
|
+
cancelPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CancelPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.CancelPaymentLinkDetails>;
|
|
41
31
|
/**
|
|
42
32
|
* @param {PaymentPlatformApplicationValidator.CheckAndUpdatePaymentStatusParam} arg
|
|
43
33
|
* - Arg object
|
|
44
34
|
*
|
|
45
35
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
46
36
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
47
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
37
|
+
* @returns {Promise<PaymentPlatformModel.PaymentStatusUpdateDetails>} -
|
|
48
38
|
* Success response
|
|
49
39
|
* @name checkAndUpdatePaymentStatus
|
|
50
40
|
* @summary: Poll and update payment status
|
|
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://
|
|
41
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/checkAndUpdatePaymentStatus/).
|
|
52
42
|
*/
|
|
53
|
-
checkAndUpdatePaymentStatus({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CheckAndUpdatePaymentStatusParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
43
|
+
checkAndUpdatePaymentStatus({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CheckAndUpdatePaymentStatusParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentStatusUpdateDetails>;
|
|
54
44
|
/**
|
|
55
45
|
* @param {PaymentPlatformApplicationValidator.ConfirmPaymentParam} arg - Arg object
|
|
56
46
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
57
47
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
58
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
48
|
+
* @returns {Promise<PaymentPlatformModel.PaymentConfirmationDetails>} -
|
|
59
49
|
* Success response
|
|
60
50
|
* @name confirmPayment
|
|
61
51
|
* @summary: Payment confirmation
|
|
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://
|
|
52
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/confirmPayment/).
|
|
63
53
|
*/
|
|
64
|
-
confirmPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ConfirmPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
54
|
+
confirmPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ConfirmPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentConfirmationDetails>;
|
|
65
55
|
/**
|
|
66
56
|
* @param {PaymentPlatformApplicationValidator.CreateMerchantRefundPriorityParam} arg
|
|
67
57
|
* - Arg object
|
|
68
58
|
*
|
|
69
59
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
70
60
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
71
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
72
|
-
* - Success response
|
|
73
|
-
*
|
|
61
|
+
* @returns {Promise<PaymentPlatformModel.RefundPriorityDetails>} - Success response
|
|
74
62
|
* @name createMerchantRefundPriority
|
|
75
63
|
* @summary: Create merchant refund priority
|
|
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://
|
|
64
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/createMerchantRefundPriority/).
|
|
77
65
|
*/
|
|
78
|
-
createMerchantRefundPriority({ configType, body, requestHeaders }?: PaymentPlatformApplicationValidator.CreateMerchantRefundPriorityParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
66
|
+
createMerchantRefundPriority({ configType, body, requestHeaders }?: PaymentPlatformApplicationValidator.CreateMerchantRefundPriorityParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundPriorityDetails>;
|
|
79
67
|
/**
|
|
80
68
|
* @param {PaymentPlatformApplicationValidator.CreatePaymentLinkParam} arg
|
|
81
69
|
* - Arg object
|
|
82
70
|
*
|
|
83
71
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
84
72
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
85
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
73
|
+
* @returns {Promise<PaymentPlatformModel.CreatePaymentLinkDetails>} -
|
|
86
74
|
* Success response
|
|
87
75
|
* @name createPaymentLink
|
|
88
76
|
* @summary: Create payment link
|
|
89
|
-
* @description: Generate a payment link for accepting payments. - Check out [method documentation](https://
|
|
77
|
+
* @description: Generate a payment link for accepting payments. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/createPaymentLink/).
|
|
90
78
|
*/
|
|
91
|
-
createPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CreatePaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
79
|
+
createPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CreatePaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.CreatePaymentLinkDetails>;
|
|
92
80
|
/**
|
|
93
81
|
* @param {PaymentPlatformApplicationValidator.CreatePaymentOrderParam} arg
|
|
94
82
|
* - Arg object
|
|
95
83
|
*
|
|
96
84
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
97
85
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
98
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
86
|
+
* @returns {Promise<PaymentPlatformModel.PaymentOrderDetails>} - Success response
|
|
99
87
|
* @name createPaymentOrder
|
|
100
88
|
* @summary: Create Order
|
|
101
|
-
* @description: Create an order and payment on the aggregator side - Check out [method documentation](https://
|
|
102
|
-
*/
|
|
103
|
-
createPaymentOrder({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CreatePaymentOrderParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentOrderResponse>;
|
|
104
|
-
/**
|
|
105
|
-
* @param {PaymentPlatformApplicationValidator.EdcAggregatorsAndModelListParam} arg
|
|
106
|
-
* - Arg object
|
|
107
|
-
*
|
|
108
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
109
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
110
|
-
* @returns {Promise<PaymentPlatformModel.EdcAggregatorAndModelListResponse>}
|
|
111
|
-
* - Success response
|
|
112
|
-
*
|
|
113
|
-
* @name edcAggregatorsAndModelList
|
|
114
|
-
* @summary: EDC aggregators and model list
|
|
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/).
|
|
116
|
-
*/
|
|
117
|
-
edcAggregatorsAndModelList({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcAggregatorAndModelListResponse>;
|
|
118
|
-
/**
|
|
119
|
-
* @param {PaymentPlatformApplicationValidator.EdcDeviceListParam} arg - Arg object
|
|
120
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
121
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
122
|
-
* @returns {Promise<PaymentPlatformModel.EdcDeviceListResponse>} - Success response
|
|
123
|
-
* @name edcDeviceList
|
|
124
|
-
* @summary: List EDC devices
|
|
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/).
|
|
126
|
-
*/
|
|
127
|
-
edcDeviceList({ pageNo, pageSize, isActive, storeId, deviceTag, requestHeaders }?: PaymentPlatformApplicationValidator.EdcDeviceListParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceListResponse>;
|
|
128
|
-
/**
|
|
129
|
-
* @param {PaymentPlatformApplicationValidator.EdcDeviceStatsParam} arg - Arg object
|
|
130
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
131
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
132
|
-
* @returns {Promise<PaymentPlatformModel.EdcDeviceStatsResponse>} - Success response
|
|
133
|
-
* @name edcDeviceStats
|
|
134
|
-
* @summary: EDC device stats
|
|
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/).
|
|
89
|
+
* @description: Create an order and payment on the aggregator side - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/createPaymentOrder/).
|
|
136
90
|
*/
|
|
137
|
-
|
|
91
|
+
createPaymentOrder({ body, requestHeaders }?: PaymentPlatformApplicationValidator.CreatePaymentOrderParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentOrderDetails>;
|
|
138
92
|
/**
|
|
139
93
|
* @param {PaymentPlatformApplicationValidator.GetBankAccountDetailsOpenAPIParam} arg
|
|
140
94
|
* - Arg object
|
|
141
95
|
*
|
|
142
96
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
143
97
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
144
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
98
|
+
* @returns {Promise<PaymentPlatformModel.RefundAccountDetails>} - Success response
|
|
145
99
|
* @name getBankAccountDetailsOpenAPI
|
|
146
100
|
* @summary: Get bank account details
|
|
147
|
-
* @description: Retrieve bank account information - Check out [method documentation](https://
|
|
101
|
+
* @description: Retrieve bank account information - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/getBankAccountDetailsOpenAPI/).
|
|
148
102
|
*/
|
|
149
|
-
getBankAccountDetailsOpenAPI({ orderId, requestHash, requestHeaders }?: PaymentPlatformApplicationValidator.GetBankAccountDetailsOpenAPIParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
103
|
+
getBankAccountDetailsOpenAPI({ orderId, requestHash, requestHeaders }?: PaymentPlatformApplicationValidator.GetBankAccountDetailsOpenAPIParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundAccountDetails>;
|
|
150
104
|
/**
|
|
151
105
|
* @param {PaymentPlatformApplicationValidator.GetBrandPaymentGatewayConfigParam} arg
|
|
152
106
|
* - Arg object
|
|
153
107
|
*
|
|
154
108
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
155
109
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
156
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
110
|
+
* @returns {Promise<PaymentPlatformModel.PaymentGatewayConfigDetails>} -
|
|
157
111
|
* Success response
|
|
158
112
|
* @name getBrandPaymentGatewayConfig
|
|
159
113
|
* @summary: Get secrets for brand payment gateway
|
|
160
|
-
* @description: Retrieve configuration settings like key, secret, webhook url, merchant salt for brand payment gateways. - Check out [method documentation](https://
|
|
114
|
+
* @description: Retrieve configuration settings like key, secret, webhook url, merchant salt for brand payment gateways. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/getBrandPaymentGatewayConfig/).
|
|
161
115
|
*/
|
|
162
|
-
getBrandPaymentGatewayConfig({ aggregator, configType, requestHeaders }?: PaymentPlatformApplicationValidator.GetBrandPaymentGatewayConfigParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
163
|
-
/**
|
|
164
|
-
* @param {PaymentPlatformApplicationValidator.GetEdcDeviceParam} arg - Arg object
|
|
165
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
166
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
167
|
-
* @returns {Promise<PaymentPlatformModel.EdcDeviceDetailsResponse>} -
|
|
168
|
-
* Success response
|
|
169
|
-
* @name getEdcDevice
|
|
170
|
-
* @summary: Get an EDC device
|
|
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/).
|
|
172
|
-
*/
|
|
173
|
-
getEdcDevice({ terminalUniqueIdentifier, requestHeaders }?: PaymentPlatformApplicationValidator.GetEdcDeviceParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceDetailsResponse>;
|
|
116
|
+
getBrandPaymentGatewayConfig({ aggregator, configType, requestHeaders }?: PaymentPlatformApplicationValidator.GetBrandPaymentGatewayConfigParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentGatewayConfigDetails>;
|
|
174
117
|
/**
|
|
175
118
|
* @param {PaymentPlatformApplicationValidator.GetMerchantAggregatorAppVersionParam} arg
|
|
176
119
|
* - Arg object
|
|
177
120
|
*
|
|
178
121
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
179
122
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
180
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
123
|
+
* @returns {Promise<PaymentPlatformModel.AggregatorVersionDetails>} -
|
|
181
124
|
* Success response
|
|
182
125
|
* @name getMerchantAggregatorAppVersion
|
|
183
126
|
* @summary: Get app version for Aggregator
|
|
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://
|
|
127
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/getMerchantAggregatorAppVersion/).
|
|
185
128
|
*/
|
|
186
|
-
getMerchantAggregatorAppVersion({ aggregatorId, businessUnit, device, paymentModeId, subPaymentMode, requestHeaders, }?: PaymentPlatformApplicationValidator.GetMerchantAggregatorAppVersionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
129
|
+
getMerchantAggregatorAppVersion({ aggregatorId, businessUnit, device, paymentModeId, subPaymentMode, requestHeaders, }?: PaymentPlatformApplicationValidator.GetMerchantAggregatorAppVersionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.AggregatorVersionDetails>;
|
|
187
130
|
/**
|
|
188
131
|
* @param {PaymentPlatformApplicationValidator.GetMerchantAggregatorPaymentModeDetailsParam} arg
|
|
189
132
|
* - Arg object
|
|
190
133
|
*
|
|
191
134
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
192
135
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
193
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
194
|
-
* Success response
|
|
136
|
+
* @returns {Promise<PaymentPlatformModel.PaymentModeConfig>} - Success response
|
|
195
137
|
* @name getMerchantAggregatorPaymentModeDetails
|
|
196
138
|
* @summary: Get merchant aggregator and their payment mode
|
|
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://
|
|
139
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/getMerchantAggregatorPaymentModeDetails/).
|
|
198
140
|
*/
|
|
199
|
-
getMerchantAggregatorPaymentModeDetails({ aggregatorId, businessUnit, device, requestHeaders }?: PaymentPlatformApplicationValidator.GetMerchantAggregatorPaymentModeDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
141
|
+
getMerchantAggregatorPaymentModeDetails({ aggregatorId, businessUnit, device, requestHeaders }?: PaymentPlatformApplicationValidator.GetMerchantAggregatorPaymentModeDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentModeConfig>;
|
|
200
142
|
/**
|
|
201
143
|
* @param {PaymentPlatformApplicationValidator.GetMerchantPaymentOptionParam} arg
|
|
202
144
|
* - Arg object
|
|
203
145
|
*
|
|
204
146
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
205
147
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
206
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
148
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
207
149
|
* Success response
|
|
208
150
|
* @name getMerchantPaymentOption
|
|
209
151
|
* @summary: Get merchant payment option
|
|
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://
|
|
152
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/getMerchantPaymentOption/).
|
|
211
153
|
*/
|
|
212
|
-
getMerchantPaymentOption({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
154
|
+
getMerchantPaymentOption({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeDetails>;
|
|
213
155
|
/**
|
|
214
156
|
* @param {PaymentPlatformApplicationValidator.GetMerchantRefundPriorityParam} arg
|
|
215
157
|
* - Arg object
|
|
216
158
|
*
|
|
217
159
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
218
160
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
219
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
220
|
-
* - Success response
|
|
221
|
-
*
|
|
161
|
+
* @returns {Promise<PaymentPlatformModel.RefundPriorityDetails>} - Success response
|
|
222
162
|
* @name getMerchantRefundPriority
|
|
223
163
|
* @summary: Get merchant refund priority
|
|
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://
|
|
164
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/getMerchantRefundPriority/).
|
|
225
165
|
*/
|
|
226
|
-
getMerchantRefundPriority({ configType, requestHeaders }?: PaymentPlatformApplicationValidator.GetMerchantRefundPriorityParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
166
|
+
getMerchantRefundPriority({ configType, requestHeaders }?: PaymentPlatformApplicationValidator.GetMerchantRefundPriorityParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundPriorityDetails>;
|
|
227
167
|
/**
|
|
228
168
|
* @param {PaymentPlatformApplicationValidator.GetPGConfigAggregatorsParam} arg
|
|
229
169
|
* - Arg object
|
|
230
170
|
*
|
|
231
171
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
232
172
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
233
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
173
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
234
174
|
* Success response
|
|
235
175
|
* @name getPGConfigAggregators
|
|
236
176
|
* @summary: Get merchant aggregator payment mode
|
|
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://
|
|
177
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/getPGConfigAggregators/).
|
|
238
178
|
*/
|
|
239
|
-
getPGConfigAggregators({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
179
|
+
getPGConfigAggregators({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeDetails>;
|
|
240
180
|
/**
|
|
241
181
|
* @param {PaymentPlatformApplicationValidator.GetPaymentCodeOptionParam} arg
|
|
242
182
|
* - Arg object
|
|
243
183
|
*
|
|
244
184
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
245
185
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
246
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
186
|
+
* @returns {Promise<PaymentPlatformModel.GetPaymentCodeDetails>} - Success response
|
|
247
187
|
* @name getPaymentCodeOption
|
|
248
188
|
* @summary: Get payment mode codes
|
|
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://
|
|
189
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/getPaymentCodeOption/).
|
|
250
190
|
*/
|
|
251
|
-
getPaymentCodeOption({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
191
|
+
getPaymentCodeOption({ requestHeaders }?: any, { responseHeaders }?: object): Promise<PaymentPlatformModel.GetPaymentCodeDetails>;
|
|
252
192
|
/**
|
|
253
193
|
* @param {PaymentPlatformApplicationValidator.GetPaymentLinkParam} arg - Arg object
|
|
254
194
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
255
195
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
256
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
196
|
+
* @returns {Promise<PaymentPlatformModel.GetPaymentLinkDetails>} - Success response
|
|
257
197
|
* @name getPaymentLink
|
|
258
198
|
* @summary: Get payment link
|
|
259
|
-
* @description: Retrieve a payment link for making payments. - Check out [method documentation](https://
|
|
199
|
+
* @description: Retrieve a payment link for making payments. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/getPaymentLink/).
|
|
260
200
|
*/
|
|
261
|
-
getPaymentLink({ paymentLinkId, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
201
|
+
getPaymentLink({ paymentLinkId, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.GetPaymentLinkDetails>;
|
|
262
202
|
/**
|
|
263
203
|
* @param {PaymentPlatformApplicationValidator.GetPaymentModeControlRoutesParam} arg
|
|
264
204
|
* - Arg object
|
|
265
205
|
*
|
|
266
206
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
267
207
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
268
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
208
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
269
209
|
* Success response
|
|
270
210
|
* @name getPaymentModeControlRoutes
|
|
271
211
|
* @summary: Get offline/advance payment mode
|
|
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://
|
|
212
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/getPaymentModeControlRoutes/).
|
|
273
213
|
*/
|
|
274
|
-
getPaymentModeControlRoutes({ mode, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentModeControlRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
214
|
+
getPaymentModeControlRoutes({ mode, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentModeControlRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeDetails>;
|
|
275
215
|
/**
|
|
276
216
|
* @param {PaymentPlatformApplicationValidator.GetPaymentModeCustomConfigParam} arg
|
|
277
217
|
* - Arg object
|
|
@@ -283,7 +223,7 @@ declare class Payment {
|
|
|
283
223
|
*
|
|
284
224
|
* @name getPaymentModeCustomConfig
|
|
285
225
|
* @summary: Get advance payment custom configurations
|
|
286
|
-
* @description: Merchants to fetch detailed information regarding advance payment custom configurations tailored to their specific business needs. merchants can access settings such as customer restrictions, available payment modes for both pre-order and post-order transactions - Check out [method documentation](https://
|
|
226
|
+
* @description: Merchants to fetch detailed information regarding advance payment custom configurations tailored to their specific business needs. merchants can access settings such as customer restrictions, available payment modes for both pre-order and post-order transactions - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/getPaymentModeCustomConfig/).
|
|
287
227
|
*/
|
|
288
228
|
getPaymentModeCustomConfig({ mode, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentModeCustomConfigParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentCustomConfigResponseSchema>;
|
|
289
229
|
/**
|
|
@@ -292,214 +232,190 @@ declare class Payment {
|
|
|
292
232
|
*
|
|
293
233
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
294
234
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
295
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
235
|
+
* @returns {Promise<PaymentPlatformModel.PaymentOptionsDetails>} - Success response
|
|
296
236
|
* @name getPaymentModeRoutes
|
|
297
237
|
* @summary: Get payment modes
|
|
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://
|
|
238
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/getPaymentModeRoutes/).
|
|
299
239
|
*/
|
|
300
|
-
getPaymentModeRoutes({ refresh, requestType, orderId, shipmentId, amount, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
240
|
+
getPaymentModeRoutes({ refresh, requestType, orderId, shipmentId, amount, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentOptionsDetails>;
|
|
301
241
|
/**
|
|
302
242
|
* @param {PaymentPlatformApplicationValidator.GetPaymentSessionParam} arg
|
|
303
243
|
* - Arg object
|
|
304
244
|
*
|
|
305
245
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
306
246
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
307
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
247
|
+
* @returns {Promise<PaymentPlatformModel.PaymentSessionFetchDetails>} -
|
|
308
248
|
* Success response
|
|
309
249
|
* @name getPaymentSession
|
|
310
250
|
* @summary: Get payment session
|
|
311
|
-
* @description: Allows users to fetch the payment session details associated with a given order ID or transaction ID - Check out [method documentation](https://
|
|
251
|
+
* @description: Allows users to fetch the payment session details associated with a given order ID or transaction ID - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/getPaymentSession/).
|
|
312
252
|
*/
|
|
313
|
-
getPaymentSession({ gid, lineItem, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
253
|
+
getPaymentSession({ gid, lineItem, requestHeaders }?: PaymentPlatformApplicationValidator.GetPaymentSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentSessionFetchDetails>;
|
|
314
254
|
/**
|
|
315
255
|
* @param {PaymentPlatformApplicationValidator.GetPosPaymentModeRoutesParam} arg
|
|
316
256
|
* - Arg object
|
|
317
257
|
*
|
|
318
258
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
319
259
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
320
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
321
|
-
* Success response
|
|
260
|
+
* @returns {Promise<PaymentPlatformModel.PaymentModeRouteDetails>} - Success response
|
|
322
261
|
* @name getPosPaymentModeRoutes
|
|
323
262
|
* @summary: List POS payment modes
|
|
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://
|
|
263
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/getPosPaymentModeRoutes/).
|
|
325
264
|
*/
|
|
326
|
-
getPosPaymentModeRoutes({ amount, pincode, orderType, cartId, checkoutMode, refresh, orderId, cardReference, userDetails, displaySplit, advancePayment, shipmentId, requestHeaders, }?: PaymentPlatformApplicationValidator.GetPosPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
265
|
+
getPosPaymentModeRoutes({ amount, pincode, orderType, xOrderingSource, cartId, checkoutMode, refresh, orderId, cardReference, userDetails, displaySplit, advancePayment, shipmentId, customerId, requestHeaders, }?: PaymentPlatformApplicationValidator.GetPosPaymentModeRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentModeRouteDetails>;
|
|
327
266
|
/**
|
|
328
267
|
* @param {PaymentPlatformApplicationValidator.GetUserBeneficiariesParam} arg
|
|
329
268
|
* - Arg object
|
|
330
269
|
*
|
|
331
270
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
332
271
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
333
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
272
|
+
* @returns {Promise<PaymentPlatformModel.OrderBeneficiaryFetchResults>} -
|
|
334
273
|
* Success response
|
|
335
274
|
* @name getUserBeneficiaries
|
|
336
275
|
* @summary: Get user beneficiaries
|
|
337
|
-
* @description: Retrieves information about beneficiaries associated with the user for processing refunds, based on the provided order ID - Check out [method documentation](https://
|
|
276
|
+
* @description: Retrieves information about beneficiaries associated with the user for processing refunds, based on the provided order ID - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/getUserBeneficiaries/).
|
|
338
277
|
*/
|
|
339
|
-
getUserBeneficiaries({ orderId, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserBeneficiariesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
278
|
+
getUserBeneficiaries({ orderId, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserBeneficiariesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.OrderBeneficiaryFetchResults>;
|
|
340
279
|
/**
|
|
341
280
|
* @param {PaymentPlatformApplicationValidator.GetUserCODlimitRoutesParam} arg
|
|
342
281
|
* - Arg object
|
|
343
282
|
*
|
|
344
283
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
345
284
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
346
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
285
|
+
* @returns {Promise<PaymentPlatformModel.GetUserCODLimitDetails>} - Success response
|
|
347
286
|
* @name getUserCODlimitRoutes
|
|
348
287
|
* @summary: Get user COD
|
|
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://
|
|
288
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/getUserCODlimitRoutes/).
|
|
350
289
|
*/
|
|
351
|
-
getUserCODlimitRoutes({ merchantUserId, mobileNo, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserCODlimitRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
290
|
+
getUserCODlimitRoutes({ merchantUserId, mobileNo, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserCODlimitRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.GetUserCODLimitDetails>;
|
|
352
291
|
/**
|
|
353
292
|
* @param {PaymentPlatformApplicationValidator.GetUserOrderBeneficiariesParam} arg
|
|
354
293
|
* - Arg object
|
|
355
294
|
*
|
|
356
295
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
357
296
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
358
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
297
|
+
* @returns {Promise<PaymentPlatformModel.OrderBeneficiaryFetchResults>} -
|
|
359
298
|
* Success response
|
|
360
299
|
* @name getUserOrderBeneficiaries
|
|
361
300
|
* @summary: Get user order beneficiaries
|
|
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://
|
|
301
|
+
* @description: Retrieve beneficiary details like bank name , ifsc code , branch name associated with a specific order for refund processing - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/getUserOrderBeneficiaries/).
|
|
363
302
|
*/
|
|
364
|
-
getUserOrderBeneficiaries({ orderId, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserOrderBeneficiariesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
303
|
+
getUserOrderBeneficiaries({ orderId, requestHeaders }?: PaymentPlatformApplicationValidator.GetUserOrderBeneficiariesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.OrderBeneficiaryFetchResults>;
|
|
365
304
|
/**
|
|
366
305
|
* @param {PaymentPlatformApplicationValidator.InitialisePaymentParam} arg
|
|
367
306
|
* - Arg object
|
|
368
307
|
*
|
|
369
308
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
370
309
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
371
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
310
|
+
* @returns {Promise<PaymentPlatformModel.PaymentInitializationDetails>} -
|
|
372
311
|
* Success response
|
|
373
312
|
* @name initialisePayment
|
|
374
313
|
* @summary: Start payment process
|
|
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://
|
|
314
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/initialisePayment/).
|
|
376
315
|
*/
|
|
377
|
-
initialisePayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.InitialisePaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
378
|
-
/**
|
|
379
|
-
* @param {PaymentPlatformApplicationValidator.MerchantOnBoardingParam} arg
|
|
380
|
-
* - Arg object
|
|
381
|
-
*
|
|
382
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
383
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
384
|
-
* @returns {Promise<PaymentPlatformModel.MerchantOnBoardingResponse>} -
|
|
385
|
-
* Success response
|
|
386
|
-
* @name merchantOnBoarding
|
|
387
|
-
* @summary: Merchant onboarding for BNPL
|
|
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/).
|
|
389
|
-
*/
|
|
390
|
-
merchantOnBoarding({ body, requestHeaders }?: PaymentPlatformApplicationValidator.MerchantOnBoardingParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.MerchantOnBoardingResponse>;
|
|
316
|
+
initialisePayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.InitialisePaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentInitializationDetails>;
|
|
391
317
|
/**
|
|
392
318
|
* @param {PaymentPlatformApplicationValidator.OauthGetUrlParam} arg - Arg object
|
|
393
319
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
394
320
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
395
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
321
|
+
* @returns {Promise<PaymentPlatformModel.GetOauthUrlDetails>} - Success response
|
|
396
322
|
* @name oauthGetUrl
|
|
397
323
|
* @summary: Get OAuth URL
|
|
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://
|
|
324
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/oauthGetUrl/).
|
|
399
325
|
*/
|
|
400
|
-
oauthGetUrl({ aggregator, successRedirectUrl, failureRedirectUrl, requestHeaders }?: PaymentPlatformApplicationValidator.OauthGetUrlParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
326
|
+
oauthGetUrl({ aggregator, successRedirectUrl, failureRedirectUrl, requestHeaders }?: PaymentPlatformApplicationValidator.OauthGetUrlParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.GetOauthUrlDetails>;
|
|
401
327
|
/**
|
|
402
328
|
* @param {PaymentPlatformApplicationValidator.PatchMerchantAggregatorPaymentModeDetailsParam} arg
|
|
403
329
|
* - Arg object
|
|
404
330
|
*
|
|
405
331
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
406
332
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
407
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
333
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
408
334
|
* Success response
|
|
409
335
|
* @name patchMerchantAggregatorPaymentModeDetails
|
|
410
336
|
* @summary: Update merchant aggregator payment mode
|
|
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://
|
|
337
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/patchMerchantAggregatorPaymentModeDetails/).
|
|
412
338
|
*/
|
|
413
|
-
patchMerchantAggregatorPaymentModeDetails({ aggregatorId, body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantAggregatorPaymentModeDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
339
|
+
patchMerchantAggregatorPaymentModeDetails({ aggregatorId, body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantAggregatorPaymentModeDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeDetails>;
|
|
414
340
|
/**
|
|
415
341
|
* @param {PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionParam} arg
|
|
416
342
|
* - Arg object
|
|
417
343
|
*
|
|
418
344
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
419
345
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
420
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
346
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
421
347
|
* Success response
|
|
422
348
|
* @name patchMerchantPaymentOption
|
|
423
349
|
* @summary: Update payment gateways and payment mode
|
|
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://
|
|
350
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/patchMerchantPaymentOption/).
|
|
425
351
|
*/
|
|
426
|
-
patchMerchantPaymentOption({ body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
352
|
+
patchMerchantPaymentOption({ body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeDetails>;
|
|
427
353
|
/**
|
|
428
354
|
* @param {PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionVersionParam} arg
|
|
429
355
|
* - Arg object
|
|
430
356
|
*
|
|
431
357
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
432
358
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
433
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
359
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
434
360
|
* Success response
|
|
435
361
|
* @name patchMerchantPaymentOptionVersion
|
|
436
362
|
* @summary: Update app version for Aggrgator
|
|
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://
|
|
363
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/patchMerchantPaymentOptionVersion/).
|
|
438
364
|
*/
|
|
439
|
-
patchMerchantPaymentOptionVersion({ aggregatorId, body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionVersionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
365
|
+
patchMerchantPaymentOptionVersion({ aggregatorId, body, requestHeaders }?: PaymentPlatformApplicationValidator.PatchMerchantPaymentOptionVersionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeDetails>;
|
|
440
366
|
/**
|
|
441
367
|
* @param {PaymentPlatformApplicationValidator.PaymentStatusBulkParam} arg
|
|
442
368
|
* - Arg object
|
|
443
369
|
*
|
|
444
370
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
445
371
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
446
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
372
|
+
* @returns {Promise<PaymentPlatformModel.PaymentStatusBulkHandlerDetails>}
|
|
447
373
|
* - Success response
|
|
448
374
|
*
|
|
449
375
|
* @name paymentStatusBulk
|
|
450
376
|
* @summary: Retrieve status of multiple payments in bulk
|
|
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://
|
|
377
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/paymentStatusBulk/).
|
|
452
378
|
*/
|
|
453
|
-
paymentStatusBulk({ body, requestHeaders }?: PaymentPlatformApplicationValidator.PaymentStatusBulkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
379
|
+
paymentStatusBulk({ body, requestHeaders }?: PaymentPlatformApplicationValidator.PaymentStatusBulkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentStatusBulkHandlerDetails>;
|
|
454
380
|
/**
|
|
455
381
|
* @param {PaymentPlatformApplicationValidator.PollingPaymentLinkParam} arg
|
|
456
382
|
* - Arg object
|
|
457
383
|
*
|
|
458
384
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
459
385
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
460
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
386
|
+
* @returns {Promise<PaymentPlatformModel.PollingPaymentLinkDetails>} -
|
|
461
387
|
* Success response
|
|
462
388
|
* @name pollingPaymentLink
|
|
463
389
|
* @summary: Poll status of payment link
|
|
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://
|
|
390
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/pollingPaymentLink/).
|
|
465
391
|
*/
|
|
466
|
-
pollingPaymentLink({ paymentLinkId, requestHeaders }?: PaymentPlatformApplicationValidator.PollingPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
467
|
-
/**
|
|
468
|
-
* @param {PaymentPlatformApplicationValidator.RepaymentDetailsParam} arg - Arg object
|
|
469
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
470
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
471
|
-
* @returns {Promise<PaymentPlatformModel.RepaymentResponse>} - Success response
|
|
472
|
-
* @name repaymentDetails
|
|
473
|
-
* @summary: Repayment details for BNPL
|
|
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/).
|
|
475
|
-
*/
|
|
476
|
-
repaymentDetails({ body, requestHeaders }?: PaymentPlatformApplicationValidator.RepaymentDetailsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RepaymentResponse>;
|
|
392
|
+
pollingPaymentLink({ paymentLinkId, requestHeaders }?: PaymentPlatformApplicationValidator.PollingPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PollingPaymentLinkDetails>;
|
|
477
393
|
/**
|
|
478
394
|
* @param {PaymentPlatformApplicationValidator.ResendOrCancelPaymentParam} arg
|
|
479
395
|
* - Arg object
|
|
480
396
|
*
|
|
481
397
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
482
398
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
483
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
399
|
+
* @returns {Promise<PaymentPlatformModel.ResendOrCancelPaymentDetails>} -
|
|
484
400
|
* Success response
|
|
485
401
|
* @name resendOrCancelPayment
|
|
486
402
|
* @summary: Resend or cancel payment
|
|
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://
|
|
403
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/resendOrCancelPayment/).
|
|
488
404
|
*/
|
|
489
|
-
resendOrCancelPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ResendOrCancelPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
405
|
+
resendOrCancelPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ResendOrCancelPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.ResendOrCancelPaymentDetails>;
|
|
490
406
|
/**
|
|
491
407
|
* @param {PaymentPlatformApplicationValidator.ResendPaymentLinkParam} arg
|
|
492
408
|
* - Arg object
|
|
493
409
|
*
|
|
494
410
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
495
411
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
496
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
412
|
+
* @returns {Promise<PaymentPlatformModel.ResendPaymentLinkDetails>} -
|
|
497
413
|
* Success response
|
|
498
414
|
* @name resendPaymentLink
|
|
499
415
|
* @summary: Resend payment link
|
|
500
|
-
* @description: Resends an existing payment link to the user to complete the payment. - Check out [method documentation](https://
|
|
416
|
+
* @description: Resends an existing payment link to the user to complete the payment. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/resendPaymentLink/).
|
|
501
417
|
*/
|
|
502
|
-
resendPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ResendPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
418
|
+
resendPaymentLink({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ResendPaymentLinkParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.ResendPaymentLinkDetails>;
|
|
503
419
|
/**
|
|
504
420
|
* @param {PaymentPlatformApplicationValidator.RevokeOauthTokenParam} arg - Arg object
|
|
505
421
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -507,7 +423,7 @@ declare class Payment {
|
|
|
507
423
|
* @returns {Promise<PaymentPlatformModel.RevokeOAuthToken>} - Success response
|
|
508
424
|
* @name revokeOauthToken
|
|
509
425
|
* @summary: Revoke OAuth token
|
|
510
|
-
* @description: Revoke the creds for payment aggregator razropay. - Check out [method documentation](https://
|
|
426
|
+
* @description: Revoke the creds for payment aggregator razropay. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/revokeOauthToken/).
|
|
511
427
|
*/
|
|
512
428
|
revokeOauthToken({ aggregator, requestHeaders }?: PaymentPlatformApplicationValidator.RevokeOauthTokenParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RevokeOAuthToken>;
|
|
513
429
|
/**
|
|
@@ -520,22 +436,34 @@ declare class Payment {
|
|
|
520
436
|
* Success response
|
|
521
437
|
* @name saveBrandPaymentGatewayConfig
|
|
522
438
|
* @summary: Save brand payment gateway config
|
|
523
|
-
* @description: Store and update configuration settings for brand payment gateways i.e required for payment for a payment gateway like key, secret, merchant salt. - Check out [method documentation](https://
|
|
439
|
+
* @description: Store and update configuration settings for brand payment gateways i.e required for payment for a payment gateway like key, secret, merchant salt. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/saveBrandPaymentGatewayConfig/).
|
|
524
440
|
*/
|
|
525
441
|
saveBrandPaymentGatewayConfig({ body, requestHeaders }?: PaymentPlatformApplicationValidator.SaveBrandPaymentGatewayConfigParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentGatewayToBeReviewed>;
|
|
442
|
+
/**
|
|
443
|
+
* @param {PaymentPlatformApplicationValidator.SaveTokenForAggregatorParam} arg
|
|
444
|
+
* - Arg object
|
|
445
|
+
*
|
|
446
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
447
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
448
|
+
* @returns {Promise<PaymentPlatformModel.OperationResponseSchema>} - Success response
|
|
449
|
+
* @name saveTokenForAggregator
|
|
450
|
+
* @summary: Save token details for a payment aggregator
|
|
451
|
+
* @description: Save token and verification status for a specific payment aggregator, such as Apple Pay or others. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/saveTokenForAggregator/).
|
|
452
|
+
*/
|
|
453
|
+
saveTokenForAggregator({ aggregatorId, body, requestHeaders }?: PaymentPlatformApplicationValidator.SaveTokenForAggregatorParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.OperationResponseSchema>;
|
|
526
454
|
/**
|
|
527
455
|
* @param {PaymentPlatformApplicationValidator.SetMerchantModeControlRoutesParam} arg
|
|
528
456
|
* - Arg object
|
|
529
457
|
*
|
|
530
458
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
531
459
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
532
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
460
|
+
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeDetails>} -
|
|
533
461
|
* Success response
|
|
534
462
|
* @name setMerchantModeControlRoutes
|
|
535
463
|
* @summary: Update offline payment mode
|
|
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://
|
|
464
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/setMerchantModeControlRoutes/).
|
|
537
465
|
*/
|
|
538
|
-
setMerchantModeControlRoutes({ mode, body, requestHeaders }?: PaymentPlatformApplicationValidator.SetMerchantModeControlRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
466
|
+
setMerchantModeControlRoutes({ mode, body, requestHeaders }?: PaymentPlatformApplicationValidator.SetMerchantModeControlRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PlatformPaymentModeDetails>;
|
|
539
467
|
/**
|
|
540
468
|
* @param {PaymentPlatformApplicationValidator.SetPaymentModeCustomConfigParam} arg
|
|
541
469
|
* - Arg object
|
|
@@ -547,7 +475,7 @@ declare class Payment {
|
|
|
547
475
|
*
|
|
548
476
|
* @name setPaymentModeCustomConfig
|
|
549
477
|
* @summary: Update advance payment custom configurations
|
|
550
|
-
* @description: Allows merchants to modify specific details of advance payment custom configurations tailored to their business requirements. By providing the company ID, application ID, and payment mode, merchants can update settings such as minimum order value, customer restrictions, and available payment modes for both pre-order and post-order transactions - Check out [method documentation](https://
|
|
478
|
+
* @description: Allows merchants to modify specific details of advance payment custom configurations tailored to their business requirements. By providing the company ID, application ID, and payment mode, merchants can update settings such as minimum order value, customer restrictions, and available payment modes for both pre-order and post-order transactions - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/setPaymentModeCustomConfig/).
|
|
551
479
|
*/
|
|
552
480
|
setPaymentModeCustomConfig({ mode, body, requestHeaders }?: PaymentPlatformApplicationValidator.SetPaymentModeCustomConfigParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentCustomConfigResponseSchema>;
|
|
553
481
|
/**
|
|
@@ -556,77 +484,74 @@ declare class Payment {
|
|
|
556
484
|
*
|
|
557
485
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
558
486
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
559
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
487
|
+
* @returns {Promise<PaymentPlatformModel.SetCODOptionDetails>} - Success response
|
|
560
488
|
* @name setUserCODlimitRoutes
|
|
561
489
|
* @summary: Set user COD
|
|
562
|
-
* @description: This allows access to seller to enable disable cod of specific user - Check out [method documentation](https://
|
|
490
|
+
* @description: This allows access to seller to enable disable cod of specific user - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/setUserCODlimitRoutes/).
|
|
563
491
|
*/
|
|
564
|
-
setUserCODlimitRoutes({ body, requestHeaders }?: PaymentPlatformApplicationValidator.SetUserCODlimitRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
565
|
-
/**
|
|
566
|
-
* @param {PaymentPlatformApplicationValidator.UpdateEdcDeviceParam} arg - Arg object
|
|
567
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
568
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
569
|
-
* @returns {Promise<PaymentPlatformModel.EdcDeviceAddResponse>} - Success response
|
|
570
|
-
* @name updateEdcDevice
|
|
571
|
-
* @summary: Update EDC device
|
|
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/).
|
|
573
|
-
*/
|
|
574
|
-
updateEdcDevice({ body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdateEdcDeviceParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.EdcDeviceAddResponse>;
|
|
492
|
+
setUserCODlimitRoutes({ body, requestHeaders }?: PaymentPlatformApplicationValidator.SetUserCODlimitRoutesParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.SetCODOptionDetails>;
|
|
575
493
|
/**
|
|
576
494
|
* @param {PaymentPlatformApplicationValidator.UpdateMerchantRefundPriorityParam} arg
|
|
577
495
|
* - Arg object
|
|
578
496
|
*
|
|
579
497
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
580
498
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
581
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
582
|
-
* - Success response
|
|
583
|
-
*
|
|
499
|
+
* @returns {Promise<PaymentPlatformModel.RefundPriorityDetails>} - Success response
|
|
584
500
|
* @name updateMerchantRefundPriority
|
|
585
501
|
* @summary: Update merchant refund priority
|
|
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://
|
|
502
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/updateMerchantRefundPriority/).
|
|
587
503
|
*/
|
|
588
|
-
updateMerchantRefundPriority({ configType, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdateMerchantRefundPriorityParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
504
|
+
updateMerchantRefundPriority({ configType, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdateMerchantRefundPriorityParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundPriorityDetails>;
|
|
589
505
|
/**
|
|
590
506
|
* @param {PaymentPlatformApplicationValidator.UpdatePaymentSessionParam} arg
|
|
591
507
|
* - Arg object
|
|
592
508
|
*
|
|
593
509
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
594
510
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
595
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
596
|
-
*
|
|
597
|
-
*
|
|
511
|
+
* @returns {Promise<PaymentPlatformModel.PaymentSessionPutDetails>} -
|
|
512
|
+
* Success response
|
|
598
513
|
* @name updatePaymentSession
|
|
599
514
|
* @summary: Update payment session
|
|
600
|
-
* @description: Update the details of a payment session associated with a given order ID or transaction ID. - Check out [method documentation](https://
|
|
515
|
+
* @description: Update the details of a payment session associated with a given order ID or transaction ID. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/updatePaymentSession/).
|
|
601
516
|
*/
|
|
602
|
-
updatePaymentSession({ gid, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdatePaymentSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
517
|
+
updatePaymentSession({ gid, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdatePaymentSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PaymentSessionPutDetails>;
|
|
603
518
|
/**
|
|
604
519
|
* @param {PaymentPlatformApplicationValidator.UpdateRefundSessionParam} arg
|
|
605
520
|
* - Arg object
|
|
606
521
|
*
|
|
607
522
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
608
523
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
609
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
610
|
-
* - Success response
|
|
611
|
-
*
|
|
524
|
+
* @returns {Promise<PaymentPlatformModel.RefundSessionDetails>} - Success response
|
|
612
525
|
* @name updateRefundSession
|
|
613
526
|
* @summary: Update refund session
|
|
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://
|
|
527
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/updateRefundSession/).
|
|
615
528
|
*/
|
|
616
|
-
updateRefundSession({ gid, requestId, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdateRefundSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
529
|
+
updateRefundSession({ gid, requestId, body, requestHeaders }?: PaymentPlatformApplicationValidator.UpdateRefundSessionParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.RefundSessionDetails>;
|
|
617
530
|
/**
|
|
618
|
-
* @param {PaymentPlatformApplicationValidator.
|
|
531
|
+
* @param {PaymentPlatformApplicationValidator.ValidateCustomerAndCreditSummaryParam} arg
|
|
619
532
|
* - Arg object
|
|
620
533
|
*
|
|
621
534
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
622
535
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
623
|
-
* @returns {Promise<PaymentPlatformModel.
|
|
536
|
+
* @returns {Promise<PaymentPlatformModel.ValidateCustomerCreditSchema>} -
|
|
624
537
|
* Success response
|
|
538
|
+
* @name validateCustomerAndCreditSummary
|
|
539
|
+
* @summary: Verify payment customer and show credit summary
|
|
540
|
+
* @description: Verify if the user is eligible for payment and also show credit summary if activated. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/validateCustomerAndCreditSummary/).
|
|
541
|
+
*/
|
|
542
|
+
validateCustomerAndCreditSummary({ body, requestHeaders }?: PaymentPlatformApplicationValidator.ValidateCustomerAndCreditSummaryParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.ValidateCustomerCreditSchema>;
|
|
543
|
+
/**
|
|
544
|
+
* @param {PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam} arg
|
|
545
|
+
* - Arg object
|
|
546
|
+
*
|
|
547
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
548
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
549
|
+
* @returns {Promise<PaymentPlatformModel.ValidateCustomerDetails>} - Success response
|
|
625
550
|
* @name verifyCustomerForPayment
|
|
626
551
|
* @summary: Validate customer for paylater
|
|
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://
|
|
552
|
+
* @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://docs.fynd.com/partners/commerce/sdk/platform/payment/verifyCustomerForPayment/).
|
|
628
553
|
*/
|
|
629
|
-
verifyCustomerForPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.
|
|
554
|
+
verifyCustomerForPayment({ body, requestHeaders }?: PaymentPlatformApplicationValidator.VerifyCustomerForPaymentParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.ValidateCustomerDetails>;
|
|
630
555
|
}
|
|
631
556
|
import PaymentPlatformApplicationValidator = require("./PaymentPlatformApplicationValidator");
|
|
632
557
|
import PaymentPlatformModel = require("./PaymentPlatformModel");
|