@gofynd/fdk-client-javascript 1.4.8-beta.2 → 1.4.8
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 +26 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +8 -0
- package/sdk/application/ApplicationClient.js +14 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +20 -20
- package/sdk/application/Cart/CartApplicationClient.js +20 -20
- package/sdk/application/Cart/CartApplicationModel.d.ts +2446 -664
- package/sdk/application/Cart/CartApplicationModel.js +783 -552
- package/sdk/application/Cart/CartApplicationValidator.d.ts +268 -194
- package/sdk/application/Cart/CartApplicationValidator.js +100 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +53 -53
- package/sdk/application/Catalog/CatalogApplicationClient.js +53 -53
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2012 -503
- package/sdk/application/Catalog/CatalogApplicationModel.js +603 -453
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +64 -64
- package/sdk/application/Catalog/CatalogApplicationValidator.js +32 -32
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Common/CommonApplicationModel.d.ts +170 -90
- package/sdk/application/Common/CommonApplicationModel.js +59 -58
- package/sdk/application/Common/CommonApplicationValidator.d.ts +8 -5
- package/sdk/application/Common/CommonApplicationValidator.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +170 -35
- package/sdk/application/Communication/CommunicationApplicationModel.js +54 -33
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +624 -443
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +259 -248
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +32 -24
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +14 -13
- package/sdk/application/Content/ContentApplicationClient.d.ts +16 -16
- package/sdk/application/Content/ContentApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationModel.d.ts +1206 -281
- package/sdk/application/Content/ContentApplicationModel.js +342 -276
- package/sdk/application/Content/ContentApplicationValidator.d.ts +28 -17
- package/sdk/application/Content/ContentApplicationValidator.js +11 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +146 -37
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +38 -36
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +195 -134
- package/sdk/application/Lead/LeadApplicationModel.js +110 -67
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +8 -8
- package/sdk/application/Lead/LeadApplicationValidator.js +4 -4
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -10
- package/sdk/application/Logistic/LogisticApplicationClient.js +10 -10
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +1039 -221
- package/sdk/application/Logistic/LogisticApplicationModel.js +342 -199
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +76 -82
- package/sdk/application/Logistic/LogisticApplicationValidator.js +38 -41
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
- package/sdk/application/Order/OrderApplicationClient.js +10 -10
- package/sdk/application/Order/OrderApplicationModel.d.ts +1401 -324
- package/sdk/application/Order/OrderApplicationModel.js +392 -316
- package/sdk/application/Order/OrderApplicationValidator.d.ts +32 -30
- package/sdk/application/Order/OrderApplicationValidator.js +15 -14
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +43 -43
- package/sdk/application/Payment/PaymentApplicationClient.js +43 -43
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1111 -1022
- package/sdk/application/Payment/PaymentApplicationModel.js +537 -521
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +82 -49
- package/sdk/application/Payment/PaymentApplicationValidator.js +30 -30
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +28 -7
- package/sdk/application/Rewards/RewardsApplicationModel.js +7 -7
- package/sdk/application/Share/ShareApplicationModel.d.ts +178 -38
- package/sdk/application/Share/ShareApplicationModel.js +53 -37
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -2
- package/sdk/application/Share/ShareApplicationValidator.js +2 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +14 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +528 -287
- package/sdk/application/Theme/ThemeApplicationModel.js +208 -172
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +17 -12
- package/sdk/application/Theme/ThemeApplicationValidator.js +8 -6
- package/sdk/application/User/UserApplicationClient.d.ts +36 -36
- package/sdk/application/User/UserApplicationClient.js +36 -36
- package/sdk/application/User/UserApplicationModel.d.ts +1062 -255
- package/sdk/application/User/UserApplicationModel.js +298 -244
- package/sdk/application/User/UserApplicationValidator.d.ts +80 -80
- package/sdk/application/User/UserApplicationValidator.js +40 -40
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +20 -5
- package/sdk/application/Webhook/WebhookApplicationModel.js +5 -5
- package/sdk/common/Clickstream.js +95 -15
- package/sdk/common/Constant.d.ts +9 -0
- package/sdk/common/Constant.js +11 -0
- package/sdk/common/Utility.js +19 -0
- package/sdk/common/utils.js +8 -1
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +28 -7
- package/sdk/partner/Lead/LeadPartnerModel.js +7 -7
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +75 -8
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +59 -7
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +2 -2
- package/sdk/partner/PartnerClient.d.ts +8 -0
- package/sdk/partner/PartnerClient.js +14 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +158 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +45 -6
- package/sdk/partner/Theme/ThemePartnerModel.js +33 -4
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +28 -7
- package/sdk/partner/Webhook/WebhookPartnerModel.js +7 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +28 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +7 -7
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +21 -10
- package/sdk/platform/Billing/BillingPlatformClient.js +167 -83
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +2849 -565
- package/sdk/platform/Billing/BillingPlatformModel.js +935 -556
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +30 -14
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -16
- package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -7
- package/sdk/platform/Cart/CartPlatformModel.js +8 -8
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +20 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +37 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +16 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +12 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.js +41 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +46 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +14 -11
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +17 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +28 -7
- package/sdk/platform/Communication/CommunicationPlatformModel.js +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +7 -7
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -97
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +77 -782
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +24 -701
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +7 -539
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -183
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +0 -134
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -79
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -15
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -13
- package/sdk/platform/Content/ContentPlatformModel.d.ts +60 -17
- package/sdk/platform/Content/ContentPlatformModel.js +30 -15
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +28 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +7 -7
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +127 -25
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +37 -25
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +30 -30
- package/sdk/platform/Finance/FinancePlatformClient.js +30 -30
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1601 -348
- package/sdk/platform/Finance/FinancePlatformModel.js +488 -352
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +28 -7
- package/sdk/platform/Lead/LeadPlatformModel.js +7 -7
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -0
- package/sdk/platform/Order/OrderPlatformClient.js +165 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +631 -39
- package/sdk/platform/Order/OrderPlatformModel.js +367 -41
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +28 -0
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +30 -9
- package/sdk/platform/Payment/PaymentPlatformModel.js +9 -9
- package/sdk/platform/PlatformClient.d.ts +8 -0
- package/sdk/platform/PlatformClient.js +14 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +28 -7
- package/sdk/platform/Rewards/RewardsPlatformModel.js +7 -7
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +4 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +139 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +98 -21
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +4 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +4 -4
- package/sdk/platform/Share/SharePlatformModel.d.ts +28 -7
- package/sdk/platform/Share/SharePlatformModel.js +7 -7
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +18 -5
- package/sdk/platform/Theme/ThemePlatformModel.js +7 -4
- package/sdk/platform/User/UserPlatformModel.d.ts +18 -20
- package/sdk/platform/User/UserPlatformModel.js +9 -11
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +54 -33
- package/sdk/platform/Webhook/WebhookPlatformModel.js +33 -33
- package/sdk/public/Billing/BillingPublicClient.d.ts +11 -0
- package/sdk/public/Billing/BillingPublicClient.js +80 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +584 -99
- package/sdk/public/Billing/BillingPublicModel.js +252 -87
- package/sdk/public/Billing/BillingPublicValidator.d.ts +10 -1
- package/sdk/public/Billing/BillingPublicValidator.js +12 -0
- package/sdk/public/PublicClient.d.ts +0 -2
- package/sdk/public/PublicClient.js +0 -4
- package/sdk/public/index.d.ts +0 -1
- package/sdk/public/index.js +0 -2
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +0 -87
- package/sdk/public/Inventory/InventoryPublicClient.js +0 -529
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +0 -393
- package/sdk/public/Inventory/InventoryPublicModel.js +0 -448
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +0 -91
- package/sdk/public/Inventory/InventoryPublicValidator.js +0 -85
|
@@ -116,7 +116,7 @@ class Payment {
|
|
|
116
116
|
* Success response
|
|
117
117
|
* @name addBeneficiaryDetails
|
|
118
118
|
* @summary: Add beneficiary for refund
|
|
119
|
-
* @description:
|
|
119
|
+
* @description: Add beneficiary details specifically for refund transactions, including account holder name, account number and bank details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/addBeneficiaryDetails/).
|
|
120
120
|
*/
|
|
121
121
|
async addBeneficiaryDetails(
|
|
122
122
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -199,7 +199,7 @@ class Payment {
|
|
|
199
199
|
* Success response
|
|
200
200
|
* @name addRefundBankAccountUsingOTP
|
|
201
201
|
* @summary: Add refund account using OTP verification
|
|
202
|
-
* @description:
|
|
202
|
+
* @description: Add bank account specifically for refunds, employing OTP verification for security. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/addRefundBankAccountUsingOTP/).
|
|
203
203
|
*/
|
|
204
204
|
async addRefundBankAccountUsingOTP(
|
|
205
205
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -279,7 +279,7 @@ class Payment {
|
|
|
279
279
|
* @returns {Promise<PaymentApplicationModel.AttachCardsResponse>} - Success response
|
|
280
280
|
* @name attachCardToCustomer
|
|
281
281
|
* @summary: Link payment card to customer
|
|
282
|
-
* @description:
|
|
282
|
+
* @description: Link payment card to a user account for seamless transactions. Upon successful linking, the card becomes associated with the user's profile, enabling secure and convenient payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/attachCardToCustomer/).
|
|
283
283
|
*/
|
|
284
284
|
async attachCardToCustomer(
|
|
285
285
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -360,7 +360,7 @@ class Payment {
|
|
|
360
360
|
* Success response
|
|
361
361
|
* @name cancelPaymentLink
|
|
362
362
|
* @summary: Cancel payment link
|
|
363
|
-
* @description:
|
|
363
|
+
* @description: Cancel previously generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cancelPaymentLink/).
|
|
364
364
|
*/
|
|
365
365
|
async cancelPaymentLink(
|
|
366
366
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -438,7 +438,7 @@ class Payment {
|
|
|
438
438
|
* @returns {Promise<PaymentApplicationModel.CardDetailsResponse>} - Success response
|
|
439
439
|
* @name cardDetails
|
|
440
440
|
* @summary: Get card details
|
|
441
|
-
* @description:
|
|
441
|
+
* @description: Get details of a specified payment card, including information such as the card type, brand, country, and expiration date. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cardDetails/).
|
|
442
442
|
*/
|
|
443
443
|
async cardDetails(
|
|
444
444
|
{ cardInfo, aggregator, requestHeaders } = { requestHeaders: {} },
|
|
@@ -605,7 +605,7 @@ class Payment {
|
|
|
605
605
|
*
|
|
606
606
|
* @name checkAndUpdatePaymentStatusPaymentLink
|
|
607
607
|
* @summary: Update payment link status
|
|
608
|
-
* @description:
|
|
608
|
+
* @description: Verify and update status of a payment made through a link.Upon successful verification and update, the response includes details about the aggregator name, payment status, and whether retrying the process is required. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkAndUpdatePaymentStatusPaymentLink/).
|
|
609
609
|
*/
|
|
610
610
|
async checkAndUpdatePaymentStatusPaymentLink(
|
|
611
611
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -685,7 +685,7 @@ class Payment {
|
|
|
685
685
|
* @returns {Promise<PaymentApplicationModel.CheckCreditResponse>} - Success response
|
|
686
686
|
* @name checkCredit
|
|
687
687
|
* @summary: Verify credit availability and status
|
|
688
|
-
* @description:
|
|
688
|
+
* @description: Check the availability and status of customer credit, providing the status of payment along with registration information and signup URL if the customer is not registered. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkCredit/).
|
|
689
689
|
*/
|
|
690
690
|
async checkCredit(
|
|
691
691
|
{ aggregator, requestHeaders } = { requestHeaders: {} },
|
|
@@ -767,7 +767,7 @@ class Payment {
|
|
|
767
767
|
* Success response
|
|
768
768
|
* @name createOrderHandlerPaymentLink
|
|
769
769
|
* @summary: Create order for payment via link
|
|
770
|
-
* @description:
|
|
770
|
+
* @description: Initiate the creation of an order handler for processing payments through a link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createOrderHandlerPaymentLink/).
|
|
771
771
|
*/
|
|
772
772
|
async createOrderHandlerPaymentLink(
|
|
773
773
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -848,7 +848,7 @@ class Payment {
|
|
|
848
848
|
* Success response
|
|
849
849
|
* @name createPaymentLink
|
|
850
850
|
* @summary: Create payment link
|
|
851
|
-
* @description:
|
|
851
|
+
* @description: Create new payment link for transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentLink/).
|
|
852
852
|
*/
|
|
853
853
|
async createPaymentLink(
|
|
854
854
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -926,7 +926,7 @@ class Payment {
|
|
|
926
926
|
* @returns {Promise<PaymentApplicationModel.PaymentOrderResponse>} - Success response
|
|
927
927
|
* @name createPaymentOrder
|
|
928
928
|
* @summary: Create Order
|
|
929
|
-
* @description: Create an order and payment on the aggregator side - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentOrder/).
|
|
929
|
+
* @description: Create an order and payment on the aggregator side. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentOrder/).
|
|
930
930
|
*/
|
|
931
931
|
async createPaymentOrder(
|
|
932
932
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1006,7 +1006,7 @@ class Payment {
|
|
|
1006
1006
|
*
|
|
1007
1007
|
* @name customerCreditSummary
|
|
1008
1008
|
* @summary: Credit summary
|
|
1009
|
-
* @description:
|
|
1009
|
+
* @description: Get summary of the customer's credit information, including details such as merchant customer reference ID, status, balance, limit, due amount, used amount, due date, days overdue, total due amount, and a repayment URL. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/customerCreditSummary/).
|
|
1010
1010
|
*/
|
|
1011
1011
|
async customerCreditSummary(
|
|
1012
1012
|
{ aggregator, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1088,7 +1088,7 @@ class Payment {
|
|
|
1088
1088
|
* Success response
|
|
1089
1089
|
* @name customerOnboard
|
|
1090
1090
|
* @summary: Onboard customer for payment
|
|
1091
|
-
* @description:
|
|
1091
|
+
* @description: Initiate the onboarding process for payment services, providing personal, business, and device information, along with marketplace details, to enable customer registration and credit availability. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/customerOnboard/).
|
|
1092
1092
|
*/
|
|
1093
1093
|
async customerOnboard(
|
|
1094
1094
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1166,7 +1166,7 @@ class Payment {
|
|
|
1166
1166
|
* @returns {Promise<PaymentApplicationModel.DeleteCardsResponse>} - Success response
|
|
1167
1167
|
* @name deleteUserCard
|
|
1168
1168
|
* @summary: Delete customer card
|
|
1169
|
-
* @description:
|
|
1169
|
+
* @description: Delete payment card from the user's account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
|
|
1170
1170
|
*/
|
|
1171
1171
|
async deleteUserCard(
|
|
1172
1172
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1244,7 +1244,7 @@ class Payment {
|
|
|
1244
1244
|
* @returns {Promise<PaymentApplicationModel.WalletResponseSchema>} - Success response
|
|
1245
1245
|
* @name delinkWallet
|
|
1246
1246
|
* @summary: Delink the wallet
|
|
1247
|
-
* @description:
|
|
1247
|
+
* @description: Delink the wallet. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/delinkWallet/).
|
|
1248
1248
|
*/
|
|
1249
1249
|
async delinkWallet(
|
|
1250
1250
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1326,7 +1326,7 @@ class Payment {
|
|
|
1326
1326
|
*
|
|
1327
1327
|
* @name enableOrDisableRefundTransferMode
|
|
1328
1328
|
* @summary: Toggle refund mode
|
|
1329
|
-
* @description:
|
|
1329
|
+
* @description: Enable/Disable a particular refund transfer mode based on the request body parameters, indicating whether the mode should be enabled or disabled. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/enableOrDisableRefundTransferMode/).
|
|
1330
1330
|
*/
|
|
1331
1331
|
async enableOrDisableRefundTransferMode(
|
|
1332
1332
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1408,7 +1408,7 @@ class Payment {
|
|
|
1408
1408
|
*
|
|
1409
1409
|
* @name getActiveCardAggregator
|
|
1410
1410
|
* @summary: Retrieve active card aggregator
|
|
1411
|
-
* @description:
|
|
1411
|
+
* @description: Get details about the active card aggregator used by the user, including the aggregator name.You can refresh the data by setting the 'refresh' parameter to true if needed. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveCardAggregator/).
|
|
1412
1412
|
*/
|
|
1413
1413
|
async getActiveCardAggregator(
|
|
1414
1414
|
{ refresh, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1491,7 +1491,7 @@ class Payment {
|
|
|
1491
1491
|
* @returns {Promise<PaymentApplicationModel.TransferModeResponse>} - Success response
|
|
1492
1492
|
* @name getActiveRefundTransferModes
|
|
1493
1493
|
* @summary: Get refund transfer modes
|
|
1494
|
-
* @description: Lists
|
|
1494
|
+
* @description: Lists available refund modes, such as UPI, providing details like display name, logo, and ID for each mode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveRefundTransferModes/).
|
|
1495
1495
|
*/
|
|
1496
1496
|
async getActiveRefundTransferModes(
|
|
1497
1497
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1571,7 +1571,7 @@ class Payment {
|
|
|
1571
1571
|
* @returns {Promise<PaymentApplicationModel.ListCardsResponse>} - Success response
|
|
1572
1572
|
* @name getActiveUserCards
|
|
1573
1573
|
* @summary: Get customer cards
|
|
1574
|
-
* @description:
|
|
1574
|
+
* @description: List all active cards saved by the user.Includes details such as the card's aggregator name, card ID, token, reference, number, expiration date, type, issuer, brand, nickname, and whether it has expired. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getActiveUserCards/).
|
|
1575
1575
|
*/
|
|
1576
1576
|
async getActiveUserCards(
|
|
1577
1577
|
{ forceRefresh, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1652,7 +1652,7 @@ class Payment {
|
|
|
1652
1652
|
*
|
|
1653
1653
|
* @name getAggregatorsConfig
|
|
1654
1654
|
* @summary: Get payment aggregators
|
|
1655
|
-
* @description:
|
|
1655
|
+
* @description: Get aggregator secret key of all payment gateways utilized for payments when using the SDK for the payment gateway. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getAggregatorsConfig/).
|
|
1656
1656
|
*/
|
|
1657
1657
|
async getAggregatorsConfig(
|
|
1658
1658
|
{ xApiToken, refresh, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1737,7 +1737,7 @@ class Payment {
|
|
|
1737
1737
|
* Success response
|
|
1738
1738
|
* @name getEpaylaterBannerDetails
|
|
1739
1739
|
* @summary: Epaylater banner info
|
|
1740
|
-
* @description:
|
|
1740
|
+
* @description: Get Epaylater payment banner details. It provides information about the banner's display status, along with relevant messages and the user's registration status. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getEpaylaterBannerDetails/).
|
|
1741
1741
|
*/
|
|
1742
1742
|
async getEpaylaterBannerDetails(
|
|
1743
1743
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1820,7 +1820,7 @@ class Payment {
|
|
|
1820
1820
|
* Success response
|
|
1821
1821
|
* @name getOrderBeneficiariesDetail
|
|
1822
1822
|
* @summary: Retrieve beneficiary details
|
|
1823
|
-
* @description:
|
|
1823
|
+
* @description: Get 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/application/payment/getOrderBeneficiariesDetail/).
|
|
1824
1824
|
*/
|
|
1825
1825
|
async getOrderBeneficiariesDetail(
|
|
1826
1826
|
{ orderId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1902,7 +1902,7 @@ class Payment {
|
|
|
1902
1902
|
* Success response
|
|
1903
1903
|
* @name getPaymentLink
|
|
1904
1904
|
* @summary: Get payment link
|
|
1905
|
-
* @description:
|
|
1905
|
+
* @description: Get a generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
|
|
1906
1906
|
*/
|
|
1907
1907
|
async getPaymentLink(
|
|
1908
1908
|
{ paymentLinkId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1982,7 +1982,7 @@ class Payment {
|
|
|
1982
1982
|
* Success response
|
|
1983
1983
|
* @name getPaymentModeRoutes
|
|
1984
1984
|
* @summary: Get payment modes
|
|
1985
|
-
* @description:
|
|
1985
|
+
* @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/application/payment/getPaymentModeRoutes/).
|
|
1986
1986
|
*/
|
|
1987
1987
|
async getPaymentModeRoutes(
|
|
1988
1988
|
{
|
|
@@ -2109,7 +2109,7 @@ class Payment {
|
|
|
2109
2109
|
* Success response
|
|
2110
2110
|
* @name getPaymentModeRoutesPaymentLink
|
|
2111
2111
|
* @summary: Payment modes for payment link
|
|
2112
|
-
* @description:
|
|
2112
|
+
* @description: List payment modes available for a given payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutesPaymentLink/).
|
|
2113
2113
|
*/
|
|
2114
2114
|
async getPaymentModeRoutesPaymentLink(
|
|
2115
2115
|
{ paymentLinkId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2191,7 +2191,7 @@ class Payment {
|
|
|
2191
2191
|
* Success response
|
|
2192
2192
|
* @name getPosPaymentModeRoutes
|
|
2193
2193
|
* @summary: POS payment modes
|
|
2194
|
-
* @description:
|
|
2194
|
+
* @description: Get 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/application/payment/getPosPaymentModeRoutes/).
|
|
2195
2195
|
*/
|
|
2196
2196
|
async getPosPaymentModeRoutes(
|
|
2197
2197
|
{
|
|
@@ -2307,7 +2307,7 @@ class Payment {
|
|
|
2307
2307
|
* @returns {Promise<PaymentApplicationModel.RupifiBannerResponse>} - Success response
|
|
2308
2308
|
* @name getRupifiBannerDetails
|
|
2309
2309
|
* @summary: Rupifi banner info
|
|
2310
|
-
* @description:
|
|
2310
|
+
* @description: Get Rupifi payment banner details. It provides information such as the KYC URL and the current status of the Rupifi payment banner. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getRupifiBannerDetails/).
|
|
2311
2311
|
*/
|
|
2312
2312
|
async getRupifiBannerDetails(
|
|
2313
2313
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -2390,7 +2390,7 @@ class Payment {
|
|
|
2390
2390
|
* Success response
|
|
2391
2391
|
* @name getUserBeneficiariesDetail
|
|
2392
2392
|
* @summary: Retrieve beneficiary details
|
|
2393
|
-
* @description:
|
|
2393
|
+
* @description: Get 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/application/payment/getUserBeneficiariesDetail/).
|
|
2394
2394
|
*/
|
|
2395
2395
|
async getUserBeneficiariesDetail(
|
|
2396
2396
|
{ orderId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2473,7 +2473,7 @@ class Payment {
|
|
|
2473
2473
|
*
|
|
2474
2474
|
* @name initialisePayment
|
|
2475
2475
|
* @summary: Start payment process
|
|
2476
|
-
* @description:
|
|
2476
|
+
* @description: Initiate 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/application/payment/initialisePayment/).
|
|
2477
2477
|
*/
|
|
2478
2478
|
async initialisePayment(
|
|
2479
2479
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2555,7 +2555,7 @@ class Payment {
|
|
|
2555
2555
|
*
|
|
2556
2556
|
* @name initialisePaymentPaymentLink
|
|
2557
2557
|
* @summary: Initialize payment link
|
|
2558
|
-
* @description:
|
|
2558
|
+
* @description: Begin payment process for an order by initializing it through a payment link.Upon successful initialization, the response includes details about the payment status, aggregator details, order IDs, polling URL for status updates, and other relevant information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/initialisePaymentPaymentLink/).
|
|
2559
2559
|
*/
|
|
2560
2560
|
async initialisePaymentPaymentLink(
|
|
2561
2561
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2635,7 +2635,7 @@ class Payment {
|
|
|
2635
2635
|
* @returns {Promise<PaymentApplicationModel.WalletResponseSchema>} - Success response
|
|
2636
2636
|
* @name linkWallet
|
|
2637
2637
|
* @summary: OTP verification
|
|
2638
|
-
* @description:
|
|
2638
|
+
* @description: Verify the linking of wallet using OTP for further processing of payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/linkWallet/).
|
|
2639
2639
|
*/
|
|
2640
2640
|
async linkWallet(
|
|
2641
2641
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2715,7 +2715,7 @@ class Payment {
|
|
|
2715
2715
|
*
|
|
2716
2716
|
* @name outstandingOrderDetails
|
|
2717
2717
|
* @summary: Outstanding orders
|
|
2718
|
-
* @description:
|
|
2718
|
+
* @description: Get details of orders with outstanding payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
|
|
2719
2719
|
*/
|
|
2720
2720
|
async outstandingOrderDetails(
|
|
2721
2721
|
{ aggregator, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2797,7 +2797,7 @@ class Payment {
|
|
|
2797
2797
|
* Success response
|
|
2798
2798
|
* @name paidOrderDetails
|
|
2799
2799
|
* @summary: Retrieve details of paid orders
|
|
2800
|
-
* @description:
|
|
2800
|
+
* @description: Get details of orders that have been paid for, including shipment ID, order ID, due date, payment date, amount, and transaction ID, based on the aggregator merchant user ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/paidOrderDetails/).
|
|
2801
2801
|
*/
|
|
2802
2802
|
async paidOrderDetails(
|
|
2803
2803
|
{ aggregator, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2877,7 +2877,7 @@ class Payment {
|
|
|
2877
2877
|
* Success response
|
|
2878
2878
|
* @name pollingPaymentLink
|
|
2879
2879
|
* @summary: Poll status of payment link
|
|
2880
|
-
* @description:
|
|
2880
|
+
* @description: Get 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/application/payment/pollingPaymentLink/).
|
|
2881
2881
|
*/
|
|
2882
2882
|
async pollingPaymentLink(
|
|
2883
2883
|
{ paymentLinkId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2958,7 +2958,7 @@ class Payment {
|
|
|
2958
2958
|
*
|
|
2959
2959
|
* @name redirectToAggregator
|
|
2960
2960
|
* @summary: Redirects users to the payment aggregator's interface
|
|
2961
|
-
* @description:
|
|
2961
|
+
* @description: Get details about the active card aggregator used by the user, including the aggregator's name. You can refresh the data by setting the 'refresh' parameter to true if needed. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/redirectToAggregator/).
|
|
2962
2962
|
*/
|
|
2963
2963
|
async redirectToAggregator(
|
|
2964
2964
|
{ source, aggregator, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3040,7 +3040,7 @@ class Payment {
|
|
|
3040
3040
|
* @returns {Promise<PaymentApplicationModel.renderHTMLResponse>} - Success response
|
|
3041
3041
|
* @name renderHTML
|
|
3042
3042
|
* @summary: Render HTML
|
|
3043
|
-
* @description: Render HTML for a payment aggregator page - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
|
|
3043
|
+
* @description: Render HTML for a payment aggregator page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
|
|
3044
3044
|
*/
|
|
3045
3045
|
async renderHTML(
|
|
3046
3046
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3120,7 +3120,7 @@ class Payment {
|
|
|
3120
3120
|
*
|
|
3121
3121
|
* @name resendOrCancelPayment
|
|
3122
3122
|
* @summary: Resend or cancel a pending payment transaction
|
|
3123
|
-
* @description:
|
|
3123
|
+
* @description: 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/application/payment/resendOrCancelPayment/).
|
|
3124
3124
|
*/
|
|
3125
3125
|
async resendOrCancelPayment(
|
|
3126
3126
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3201,7 +3201,7 @@ class Payment {
|
|
|
3201
3201
|
* Success response
|
|
3202
3202
|
* @name resendPaymentLink
|
|
3203
3203
|
* @summary: Resend payment link
|
|
3204
|
-
* @description:
|
|
3204
|
+
* @description: Resend an existing payment link to the user to complete the payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/resendPaymentLink/).
|
|
3205
3205
|
*/
|
|
3206
3206
|
async resendPaymentLink(
|
|
3207
3207
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3282,7 +3282,7 @@ class Payment {
|
|
|
3282
3282
|
*
|
|
3283
3283
|
* @name updateDefaultBeneficiary
|
|
3284
3284
|
* @summary: Set default beneficiary for refund
|
|
3285
|
-
* @description:
|
|
3285
|
+
* @description: Update default beneficiary for the order refund of the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/updateDefaultBeneficiary/).
|
|
3286
3286
|
*/
|
|
3287
3287
|
async updateDefaultBeneficiary(
|
|
3288
3288
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3362,7 +3362,7 @@ class Payment {
|
|
|
3362
3362
|
* @returns {Promise<PaymentApplicationModel.ValidateVPAResponse>} - Success response
|
|
3363
3363
|
* @name validateVPA
|
|
3364
3364
|
* @summary: Validate VPA
|
|
3365
|
-
* @description:
|
|
3365
|
+
* @description: Validate if a Virtual Payment Address (VPA) is valid for processing payments and returns the validation result.is_valid boolean value indicating whether the VPA is valid for payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/validateVPA/).
|
|
3366
3366
|
*/
|
|
3367
3367
|
async validateVPA(
|
|
3368
3368
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3523,7 +3523,7 @@ class Payment {
|
|
|
3523
3523
|
* Success response
|
|
3524
3524
|
* @name verifyCustomerForPayment
|
|
3525
3525
|
* @summary: Verify payment customer
|
|
3526
|
-
* @description: Verify
|
|
3526
|
+
* @description: Verify if the user is eligible for pay-later payment from the payment aggregator side using the customer's phone number. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyCustomerForPayment/).
|
|
3527
3527
|
*/
|
|
3528
3528
|
async verifyCustomerForPayment(
|
|
3529
3529
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3603,7 +3603,7 @@ class Payment {
|
|
|
3603
3603
|
* @returns {Promise<PaymentApplicationModel.IfscCodeResponse>} - Success response
|
|
3604
3604
|
* @name verifyIfscCode
|
|
3605
3605
|
* @summary: Verify IFSC
|
|
3606
|
-
* @description:
|
|
3606
|
+
* @description: Validate IFSC code and returns bank details if valid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyIfscCode/).
|
|
3607
3607
|
*/
|
|
3608
3608
|
async verifyIfscCode(
|
|
3609
3609
|
{ ifscCode, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3686,7 +3686,7 @@ class Payment {
|
|
|
3686
3686
|
*
|
|
3687
3687
|
* @name verifyOtpAndAddBeneficiaryForBank
|
|
3688
3688
|
* @summary: Verify OTP for bank and add beneficiary
|
|
3689
|
-
* @description:
|
|
3689
|
+
* @description: Verify the OTP provided by the user and adds a bank beneficiary for refund processing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyOtpAndAddBeneficiaryForBank/).
|
|
3690
3690
|
*/
|
|
3691
3691
|
async verifyOtpAndAddBeneficiaryForBank(
|
|
3692
3692
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3768,7 +3768,7 @@ class Payment {
|
|
|
3768
3768
|
* @returns {Promise<PaymentApplicationModel.WalletOtpResponse>} - Success response
|
|
3769
3769
|
* @name verifyOtpAndAddBeneficiaryForWallet
|
|
3770
3770
|
* @summary: Verify OTP for wallet
|
|
3771
|
-
* @description:
|
|
3771
|
+
* @description: Verify OTP provided by the user and adds a wallet beneficiary. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyOtpAndAddBeneficiaryForWallet/).
|
|
3772
3772
|
*/
|
|
3773
3773
|
async verifyOtpAndAddBeneficiaryForWallet(
|
|
3774
3774
|
{ body, requestHeaders } = { requestHeaders: {} },
|