@gofynd/fdk-client-javascript 1.4.15-beta.3 → 1.4.15-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +48 -68
- package/sdk/application/Cart/CartApplicationClient.js +27 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +58 -59
- package/sdk/application/Catalog/CatalogApplicationClient.js +29 -30
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
- package/sdk/application/Content/ContentApplicationClient.d.ts +30 -19
- package/sdk/application/Content/ContentApplicationClient.js +54 -28
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationClient.js +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +15 -35
- package/sdk/application/Logistic/LogisticApplicationClient.js +8 -89
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
- package/sdk/application/Order/OrderApplicationClient.js +8 -47
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
- package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +2 -4
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +6 -6
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
- package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +115 -419
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -118
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1298 -5037
- package/sdk/platform/Cart/CartPlatformModel.js +1217 -1976
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -209
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +400 -457
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +142 -185
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +78 -96
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +117 -154
- package/sdk/platform/Catalog/CatalogPlatformClient.js +172 -292
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1647 -6385
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1680 -3217
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -72
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +24 -50
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +131 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +97 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
- package/sdk/platform/Content/ContentPlatformModel.js +390 -521
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -17
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +7 -85
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +24 -95
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +19 -39
- package/sdk/platform/Order/OrderPlatformClient.d.ts +96 -153
- package/sdk/platform/Order/OrderPlatformClient.js +198 -416
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1286 -7619
- package/sdk/platform/Order/OrderPlatformModel.js +1265 -3922
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +109 -270
- package/sdk/platform/Order/OrderPlatformValidator.js +77 -135
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +105 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +141 -129
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +319 -333
- package/sdk/platform/Payment/PaymentPlatformModel.js +278 -288
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +36 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +41 -132
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +14 -34
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +46 -42
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +28 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
- package/sdk/platform/Share/SharePlatformModel.js +4 -27
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
- package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +5 -791
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -105
|
@@ -55,129 +55,129 @@ declare class Payment {
|
|
|
55
55
|
/**
|
|
56
56
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
57
57
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
58
|
-
* @returns {Promise<
|
|
58
|
+
* @returns {Promise<RefundAccountResponse>} - Success response
|
|
59
59
|
* @name addBeneficiaryDetails
|
|
60
60
|
* @summary: Add beneficiary for refund
|
|
61
61
|
* @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/).
|
|
62
62
|
*/
|
|
63
|
-
addBeneficiaryDetails({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
63
|
+
addBeneficiaryDetails({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RefundAccountResponse>;
|
|
64
64
|
/**
|
|
65
65
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
66
66
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
67
|
-
* @returns {Promise<
|
|
67
|
+
* @returns {Promise<RefundAccountResponse>} - Success response
|
|
68
68
|
* @name addRefundBankAccountUsingOTP
|
|
69
69
|
* @summary: Add refund account using OTP verification
|
|
70
70
|
* @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/).
|
|
71
71
|
*/
|
|
72
|
-
addRefundBankAccountUsingOTP({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
72
|
+
addRefundBankAccountUsingOTP({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RefundAccountResponse>;
|
|
73
73
|
/**
|
|
74
74
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
75
75
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
76
|
-
* @returns {Promise<
|
|
76
|
+
* @returns {Promise<AttachCardsResponse>} - Success response
|
|
77
77
|
* @name attachCardToCustomer
|
|
78
78
|
* @summary: Link payment card to customer
|
|
79
79
|
* @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/).
|
|
80
80
|
*/
|
|
81
|
-
attachCardToCustomer({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
81
|
+
attachCardToCustomer({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AttachCardsResponse>;
|
|
82
82
|
/**
|
|
83
83
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
84
84
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
85
|
-
* @returns {Promise<
|
|
85
|
+
* @returns {Promise<CancelPaymentLinkResponse>} - Success response
|
|
86
86
|
* @name cancelPaymentLink
|
|
87
87
|
* @summary: Cancel payment link
|
|
88
88
|
* @description: Cancel previously generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cancelPaymentLink/).
|
|
89
89
|
*/
|
|
90
|
-
cancelPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
90
|
+
cancelPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CancelPaymentLinkResponse>;
|
|
91
91
|
/**
|
|
92
92
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
93
93
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
94
|
-
* @returns {Promise<
|
|
94
|
+
* @returns {Promise<CardDetailsResponse>} - Success response
|
|
95
95
|
* @name cardDetails
|
|
96
96
|
* @summary: Get card details
|
|
97
97
|
* @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/).
|
|
98
98
|
*/
|
|
99
|
-
cardDetails({ cardInfo, aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
99
|
+
cardDetails({ cardInfo, aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CardDetailsResponse>;
|
|
100
100
|
/**
|
|
101
101
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
102
102
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
103
|
-
* @returns {Promise<
|
|
103
|
+
* @returns {Promise<PaymentStatusUpdateResponse>} - Success response
|
|
104
104
|
* @name checkAndUpdatePaymentStatus
|
|
105
105
|
* @summary: Update payment status
|
|
106
106
|
* @description: Polling process to confirm the payment status. It periodically checks and updates the current status of a payment, ensuring timely and accurate confirmation of payment transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/checkAndUpdatePaymentStatus/).
|
|
107
107
|
*/
|
|
108
|
-
checkAndUpdatePaymentStatus({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
108
|
+
checkAndUpdatePaymentStatus({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentStatusUpdateResponse>;
|
|
109
109
|
/**
|
|
110
110
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
111
111
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
112
|
-
* @returns {Promise<
|
|
112
|
+
* @returns {Promise<PaymentStatusUpdateResponse>} - Success response
|
|
113
113
|
* @name checkAndUpdatePaymentStatusPaymentLink
|
|
114
114
|
* @summary: Update payment link status
|
|
115
115
|
* @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/).
|
|
116
116
|
*/
|
|
117
|
-
checkAndUpdatePaymentStatusPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
117
|
+
checkAndUpdatePaymentStatusPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentStatusUpdateResponse>;
|
|
118
118
|
/**
|
|
119
119
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
120
120
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
121
|
-
* @returns {Promise<
|
|
121
|
+
* @returns {Promise<CheckCreditResponse>} - Success response
|
|
122
122
|
* @name checkCredit
|
|
123
123
|
* @summary: Verify credit availability and status
|
|
124
124
|
* @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/).
|
|
125
125
|
*/
|
|
126
|
-
checkCredit({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
126
|
+
checkCredit({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CheckCreditResponse>;
|
|
127
127
|
/**
|
|
128
128
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
129
129
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
130
|
-
* @returns {Promise<
|
|
130
|
+
* @returns {Promise<CreateOrderUserResponse>} - Success response
|
|
131
131
|
* @name createOrderHandlerPaymentLink
|
|
132
132
|
* @summary: Create order for payment via link
|
|
133
133
|
* @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/).
|
|
134
134
|
*/
|
|
135
|
-
createOrderHandlerPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
135
|
+
createOrderHandlerPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CreateOrderUserResponse>;
|
|
136
136
|
/**
|
|
137
137
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
138
138
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
139
|
-
* @returns {Promise<
|
|
139
|
+
* @returns {Promise<CreatePaymentLinkResponse>} - Success response
|
|
140
140
|
* @name createPaymentLink
|
|
141
141
|
* @summary: Create payment link
|
|
142
142
|
* @description: Create new payment link for transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentLink/).
|
|
143
143
|
*/
|
|
144
|
-
createPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
144
|
+
createPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CreatePaymentLinkResponse>;
|
|
145
145
|
/**
|
|
146
146
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
147
147
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
148
|
-
* @returns {Promise<
|
|
148
|
+
* @returns {Promise<PaymentOrderResponse>} - Success response
|
|
149
149
|
* @name createPaymentOrder
|
|
150
150
|
* @summary: Create Order
|
|
151
151
|
* @description: Create an order and payment on the aggregator side. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentOrder/).
|
|
152
152
|
*/
|
|
153
|
-
createPaymentOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
153
|
+
createPaymentOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentOrderResponse>;
|
|
154
154
|
/**
|
|
155
155
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
156
156
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
157
|
-
* @returns {Promise<
|
|
157
|
+
* @returns {Promise<CustomerCreditSummaryResponse>} - Success response
|
|
158
158
|
* @name customerCreditSummary
|
|
159
159
|
* @summary: Credit summary
|
|
160
160
|
* @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/).
|
|
161
161
|
*/
|
|
162
|
-
customerCreditSummary({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
162
|
+
customerCreditSummary({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomerCreditSummaryResponse>;
|
|
163
163
|
/**
|
|
164
164
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
165
165
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
166
|
-
* @returns {Promise<
|
|
166
|
+
* @returns {Promise<CustomerOnboardingResponse>} - Success response
|
|
167
167
|
* @name customerOnboard
|
|
168
168
|
* @summary: Onboard customer for payment
|
|
169
169
|
* @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/).
|
|
170
170
|
*/
|
|
171
|
-
customerOnboard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
171
|
+
customerOnboard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomerOnboardingResponse>;
|
|
172
172
|
/**
|
|
173
173
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
174
174
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
175
|
-
* @returns {Promise<
|
|
175
|
+
* @returns {Promise<DeleteCardsResponse>} - Success response
|
|
176
176
|
* @name deleteUserCard
|
|
177
177
|
* @summary: Delete customer card
|
|
178
178
|
* @description: Delete payment card from the user's account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
|
|
179
179
|
*/
|
|
180
|
-
deleteUserCard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
180
|
+
deleteUserCard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DeleteCardsResponse>;
|
|
181
181
|
/**
|
|
182
182
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
183
183
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -190,138 +190,138 @@ declare class Payment {
|
|
|
190
190
|
/**
|
|
191
191
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
192
192
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
193
|
-
* @returns {Promise<
|
|
193
|
+
* @returns {Promise<UpdateRefundTransferModeResponse>} - Success response
|
|
194
194
|
* @name enableOrDisableRefundTransferMode
|
|
195
195
|
* @summary: Toggle refund mode
|
|
196
196
|
* @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/).
|
|
197
197
|
*/
|
|
198
|
-
enableOrDisableRefundTransferMode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
198
|
+
enableOrDisableRefundTransferMode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UpdateRefundTransferModeResponse>;
|
|
199
199
|
/**
|
|
200
200
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
201
201
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
202
|
-
* @returns {Promise<
|
|
202
|
+
* @returns {Promise<ActiveCardPaymentGatewayResponse>} - Success response
|
|
203
203
|
* @name getActiveCardAggregator
|
|
204
204
|
* @summary: Retrieve active card aggregator
|
|
205
205
|
* @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/).
|
|
206
206
|
*/
|
|
207
|
-
getActiveCardAggregator({ refresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
207
|
+
getActiveCardAggregator({ refresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ActiveCardPaymentGatewayResponse>;
|
|
208
208
|
/**
|
|
209
209
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
210
210
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
211
|
-
* @returns {Promise<
|
|
211
|
+
* @returns {Promise<TransferModeResponse>} - Success response
|
|
212
212
|
* @name getActiveRefundTransferModes
|
|
213
213
|
* @summary: Get refund transfer modes
|
|
214
214
|
* @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/).
|
|
215
215
|
*/
|
|
216
|
-
getActiveRefundTransferModes({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
216
|
+
getActiveRefundTransferModes({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<TransferModeResponse>;
|
|
217
217
|
/**
|
|
218
218
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
219
219
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
220
|
-
* @returns {Promise<
|
|
220
|
+
* @returns {Promise<ListCardsResponse>} - Success response
|
|
221
221
|
* @name getActiveUserCards
|
|
222
222
|
* @summary: Get customer cards
|
|
223
223
|
* @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/).
|
|
224
224
|
*/
|
|
225
|
-
getActiveUserCards({ forceRefresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
225
|
+
getActiveUserCards({ forceRefresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ListCardsResponse>;
|
|
226
226
|
/**
|
|
227
227
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
228
228
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
229
|
-
* @returns {Promise<
|
|
229
|
+
* @returns {Promise<AggregatorsConfigDetailResponse>} - Success response
|
|
230
230
|
* @name getAggregatorsConfig
|
|
231
231
|
* @summary: Get payment aggregators
|
|
232
232
|
* @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/).
|
|
233
233
|
*/
|
|
234
|
-
getAggregatorsConfig({ xApiToken, refresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
234
|
+
getAggregatorsConfig({ xApiToken, refresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AggregatorsConfigDetailResponse>;
|
|
235
235
|
/**
|
|
236
236
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
237
237
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
238
|
-
* @returns {Promise<
|
|
238
|
+
* @returns {Promise<EpaylaterBannerResponse>} - Success response
|
|
239
239
|
* @name getEpaylaterBannerDetails
|
|
240
240
|
* @summary: Epaylater banner info
|
|
241
241
|
* @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/).
|
|
242
242
|
*/
|
|
243
|
-
getEpaylaterBannerDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
243
|
+
getEpaylaterBannerDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<EpaylaterBannerResponse>;
|
|
244
244
|
/**
|
|
245
245
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
246
246
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
247
|
-
* @returns {Promise<
|
|
247
|
+
* @returns {Promise<OrderBeneficiaryResponse>} - Success response
|
|
248
248
|
* @name getOrderBeneficiariesDetail
|
|
249
249
|
* @summary: Retrieve beneficiary details
|
|
250
250
|
* @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/).
|
|
251
251
|
*/
|
|
252
|
-
getOrderBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
252
|
+
getOrderBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderBeneficiaryResponse>;
|
|
253
253
|
/**
|
|
254
254
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
255
255
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
256
|
-
* @returns {Promise<
|
|
256
|
+
* @returns {Promise<GetPaymentLinkResponse>} - Success response
|
|
257
257
|
* @name getPaymentLink
|
|
258
258
|
* @summary: Get payment link
|
|
259
259
|
* @description: Get a generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
|
|
260
260
|
*/
|
|
261
|
-
getPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
261
|
+
getPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetPaymentLinkResponse>;
|
|
262
262
|
/**
|
|
263
263
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
264
264
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
265
|
-
* @returns {Promise<
|
|
265
|
+
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
266
266
|
* @name getPaymentModeRoutes
|
|
267
267
|
* @summary: Get payment modes
|
|
268
268
|
* @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/).
|
|
269
269
|
*/
|
|
270
|
-
getPaymentModeRoutes({ amount, cartId, checkoutMode, refresh, orderId, cardReference, userDetails, displaySplit, advancePayment, shipmentId, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
270
|
+
getPaymentModeRoutes({ amount, cartId, checkoutMode, refresh, orderId, cardReference, userDetails, displaySplit, advancePayment, shipmentId, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentModeRouteResponse>;
|
|
271
271
|
/**
|
|
272
272
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
273
273
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
274
|
-
* @returns {Promise<
|
|
274
|
+
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
275
275
|
* @name getPaymentModeRoutesPaymentLink
|
|
276
276
|
* @summary: Payment modes for payment link
|
|
277
277
|
* @description: List payment modes available for a given payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentModeRoutesPaymentLink/).
|
|
278
278
|
*/
|
|
279
|
-
getPaymentModeRoutesPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
279
|
+
getPaymentModeRoutesPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentModeRouteResponse>;
|
|
280
280
|
/**
|
|
281
281
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
282
282
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
283
|
-
* @returns {Promise<
|
|
283
|
+
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
284
284
|
* @name getPosPaymentModeRoutes
|
|
285
285
|
* @summary: POS payment modes
|
|
286
286
|
* @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/).
|
|
287
287
|
*/
|
|
288
|
-
getPosPaymentModeRoutes({ amount,
|
|
288
|
+
getPosPaymentModeRoutes({ amount, pincode, orderType, cartId, checkoutMode, refresh, cardReference, userDetails, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentModeRouteResponse>;
|
|
289
289
|
/**
|
|
290
290
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
291
291
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
292
|
-
* @returns {Promise<
|
|
292
|
+
* @returns {Promise<RupifiBannerResponse>} - Success response
|
|
293
293
|
* @name getRupifiBannerDetails
|
|
294
294
|
* @summary: Rupifi banner info
|
|
295
295
|
* @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/).
|
|
296
296
|
*/
|
|
297
|
-
getRupifiBannerDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
297
|
+
getRupifiBannerDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RupifiBannerResponse>;
|
|
298
298
|
/**
|
|
299
299
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
300
300
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
301
|
-
* @returns {Promise<
|
|
301
|
+
* @returns {Promise<OrderBeneficiaryResponse>} - Success response
|
|
302
302
|
* @name getUserBeneficiariesDetail
|
|
303
303
|
* @summary: Retrieve beneficiary details
|
|
304
304
|
* @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/).
|
|
305
305
|
*/
|
|
306
|
-
getUserBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
306
|
+
getUserBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderBeneficiaryResponse>;
|
|
307
307
|
/**
|
|
308
308
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
309
309
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
310
|
-
* @returns {Promise<
|
|
310
|
+
* @returns {Promise<PaymentInitializationResponse>} - Success response
|
|
311
311
|
* @name initialisePayment
|
|
312
312
|
* @summary: Start payment process
|
|
313
313
|
* @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/).
|
|
314
314
|
*/
|
|
315
|
-
initialisePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
315
|
+
initialisePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentInitializationResponse>;
|
|
316
316
|
/**
|
|
317
317
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
318
318
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
319
|
-
* @returns {Promise<
|
|
319
|
+
* @returns {Promise<PaymentInitializationResponse>} - Success response
|
|
320
320
|
* @name initialisePaymentPaymentLink
|
|
321
321
|
* @summary: Initialize payment link
|
|
322
322
|
* @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/).
|
|
323
323
|
*/
|
|
324
|
-
initialisePaymentPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
324
|
+
initialisePaymentPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentInitializationResponse>;
|
|
325
325
|
/**
|
|
326
326
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
327
327
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -334,129 +334,129 @@ declare class Payment {
|
|
|
334
334
|
/**
|
|
335
335
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
336
336
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
337
|
-
* @returns {Promise<
|
|
337
|
+
* @returns {Promise<OutstandingOrderDetailsResponse>} - Success response
|
|
338
338
|
* @name outstandingOrderDetails
|
|
339
339
|
* @summary: Outstanding orders
|
|
340
340
|
* @description: Get details of orders with outstanding payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
|
|
341
341
|
*/
|
|
342
|
-
outstandingOrderDetails({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
342
|
+
outstandingOrderDetails({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OutstandingOrderDetailsResponse>;
|
|
343
343
|
/**
|
|
344
344
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
345
345
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
346
|
-
* @returns {Promise<
|
|
346
|
+
* @returns {Promise<PaidOrderDetailsResponse>} - Success response
|
|
347
347
|
* @name paidOrderDetails
|
|
348
348
|
* @summary: Retrieve details of paid orders
|
|
349
349
|
* @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/).
|
|
350
350
|
*/
|
|
351
|
-
paidOrderDetails({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
351
|
+
paidOrderDetails({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaidOrderDetailsResponse>;
|
|
352
352
|
/**
|
|
353
353
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
354
354
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
355
|
-
* @returns {Promise<
|
|
355
|
+
* @returns {Promise<PollingPaymentLinkResponse>} - Success response
|
|
356
356
|
* @name pollingPaymentLink
|
|
357
357
|
* @summary: Poll status of payment link
|
|
358
358
|
* @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/).
|
|
359
359
|
*/
|
|
360
|
-
pollingPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
360
|
+
pollingPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PollingPaymentLinkResponse>;
|
|
361
361
|
/**
|
|
362
362
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
363
363
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
364
|
-
* @returns {Promise<
|
|
364
|
+
* @returns {Promise<RedirectToAggregatorResponse>} - Success response
|
|
365
365
|
* @name redirectToAggregator
|
|
366
366
|
* @summary: Redirects users to the payment aggregator's interface
|
|
367
|
-
* @description:
|
|
367
|
+
* @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/).
|
|
368
368
|
*/
|
|
369
|
-
redirectToAggregator({
|
|
369
|
+
redirectToAggregator({ source, aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RedirectToAggregatorResponse>;
|
|
370
370
|
/**
|
|
371
371
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
372
372
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
373
|
-
* @returns {Promise<
|
|
373
|
+
* @returns {Promise<renderHTMLResponse>} - Success response
|
|
374
374
|
* @name renderHTML
|
|
375
375
|
* @summary: Render HTML
|
|
376
376
|
* @description: Render HTML for a payment aggregator page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
|
|
377
377
|
*/
|
|
378
|
-
renderHTML({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
378
|
+
renderHTML({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<renderHTMLResponse>;
|
|
379
379
|
/**
|
|
380
380
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
381
381
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
382
|
-
* @returns {Promise<
|
|
382
|
+
* @returns {Promise<ResendOrCancelPaymentResponse>} - Success response
|
|
383
383
|
* @name resendOrCancelPayment
|
|
384
384
|
* @summary: Resend or cancel a pending payment transaction
|
|
385
385
|
* @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/).
|
|
386
386
|
*/
|
|
387
|
-
resendOrCancelPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
387
|
+
resendOrCancelPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ResendOrCancelPaymentResponse>;
|
|
388
388
|
/**
|
|
389
389
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
390
390
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
391
|
-
* @returns {Promise<
|
|
391
|
+
* @returns {Promise<ResendPaymentLinkResponse>} - Success response
|
|
392
392
|
* @name resendPaymentLink
|
|
393
393
|
* @summary: Resend payment link
|
|
394
394
|
* @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/).
|
|
395
395
|
*/
|
|
396
|
-
resendPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
396
|
+
resendPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ResendPaymentLinkResponse>;
|
|
397
397
|
/**
|
|
398
398
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
399
399
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
400
|
-
* @returns {Promise<
|
|
400
|
+
* @returns {Promise<SetDefaultBeneficiaryResponse>} - Success response
|
|
401
401
|
* @name updateDefaultBeneficiary
|
|
402
402
|
* @summary: Set default beneficiary for refund
|
|
403
403
|
* @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/).
|
|
404
404
|
*/
|
|
405
|
-
updateDefaultBeneficiary({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
405
|
+
updateDefaultBeneficiary({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SetDefaultBeneficiaryResponse>;
|
|
406
406
|
/**
|
|
407
407
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
408
408
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
409
|
-
* @returns {Promise<
|
|
409
|
+
* @returns {Promise<ValidateVPAResponse>} - Success response
|
|
410
410
|
* @name validateVPA
|
|
411
411
|
* @summary: Validate VPA
|
|
412
412
|
* @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/).
|
|
413
413
|
*/
|
|
414
|
-
validateVPA({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
414
|
+
validateVPA({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ValidateVPAResponse>;
|
|
415
415
|
/**
|
|
416
416
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
417
417
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
418
|
-
* @returns {Promise<
|
|
418
|
+
* @returns {Promise<ChargeCustomerResponse>} - Success response
|
|
419
419
|
* @name verifyAndChargePayment
|
|
420
420
|
* @summary: Verify order confirmation and charge
|
|
421
421
|
* @description: Verify the payment status and charge from the customer's BNPL (Buy Now, Pay Later) account after order confirmation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyAndChargePayment/).
|
|
422
422
|
*/
|
|
423
|
-
verifyAndChargePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
423
|
+
verifyAndChargePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ChargeCustomerResponse>;
|
|
424
424
|
/**
|
|
425
425
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
426
426
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
427
|
-
* @returns {Promise<
|
|
427
|
+
* @returns {Promise<ValidateCustomerResponse>} - Success response
|
|
428
428
|
* @name verifyCustomerForPayment
|
|
429
429
|
* @summary: Verify payment customer
|
|
430
430
|
* @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/).
|
|
431
431
|
*/
|
|
432
|
-
verifyCustomerForPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
432
|
+
verifyCustomerForPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ValidateCustomerResponse>;
|
|
433
433
|
/**
|
|
434
434
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
435
435
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
436
|
-
* @returns {Promise<
|
|
436
|
+
* @returns {Promise<IfscCodeResponse>} - Success response
|
|
437
437
|
* @name verifyIfscCode
|
|
438
438
|
* @summary: Verify IFSC
|
|
439
439
|
* @description: Validate IFSC code and returns bank details if valid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/verifyIfscCode/).
|
|
440
440
|
*/
|
|
441
|
-
verifyIfscCode({ ifscCode, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
441
|
+
verifyIfscCode({ ifscCode, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<IfscCodeResponse>;
|
|
442
442
|
/**
|
|
443
443
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
444
444
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
445
|
-
* @returns {Promise<
|
|
445
|
+
* @returns {Promise<AddBeneficiaryViaOtpVerificationResponse>} - Success response
|
|
446
446
|
* @name verifyOtpAndAddBeneficiaryForBank
|
|
447
447
|
* @summary: Verify OTP for bank and add beneficiary
|
|
448
448
|
* @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/).
|
|
449
449
|
*/
|
|
450
|
-
verifyOtpAndAddBeneficiaryForBank({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
450
|
+
verifyOtpAndAddBeneficiaryForBank({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AddBeneficiaryViaOtpVerificationResponse>;
|
|
451
451
|
/**
|
|
452
452
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
453
453
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
454
|
-
* @returns {Promise<
|
|
454
|
+
* @returns {Promise<WalletOtpResponse>} - Success response
|
|
455
455
|
* @name verifyOtpAndAddBeneficiaryForWallet
|
|
456
456
|
* @summary: Verify OTP for wallet
|
|
457
457
|
* @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/).
|
|
458
458
|
*/
|
|
459
|
-
verifyOtpAndAddBeneficiaryForWallet({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<
|
|
459
|
+
verifyOtpAndAddBeneficiaryForWallet({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<WalletOtpResponse>;
|
|
460
460
|
/**
|
|
461
461
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
462
462
|
* @param {import("../ApplicationAPIClient").Options} - Options
|