@gofynd/fdk-client-javascript 1.4.15-beta.1 → 1.4.15-beta.10
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 +2 -2
- package/application.d.ts +1 -2
- package/application.js +2 -3
- package/index.d.ts +1 -2
- package/index.js +7 -1
- package/package.json +2 -3
- package/sdk/application/ApplicationClient.js +0 -18
- package/sdk/application/Cart/CartApplicationClient.d.ts +55 -90
- package/sdk/application/Cart/CartApplicationClient.js +60 -1185
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +80 -142
- package/sdk/application/Catalog/CatalogApplicationClient.js +148 -1293
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
- package/sdk/application/Common/CommonApplicationClient.js +5 -89
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -145
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +31 -718
- package/sdk/application/Content/ContentApplicationClient.d.ts +46 -78
- package/sdk/application/Content/ContentApplicationClient.js +77 -914
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -12
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +22 -125
- package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
- package/sdk/application/Lead/LeadApplicationClient.js +32 -202
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -39
- package/sdk/application/Logistic/LogisticApplicationClient.js +50 -478
- package/sdk/application/Order/OrderApplicationClient.d.ts +22 -42
- package/sdk/application/Order/OrderApplicationClient.js +86 -472
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +92 -212
- package/sdk/application/Payment/PaymentApplicationClient.js +57 -2102
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -28
- package/sdk/application/Rewards/RewardsApplicationClient.js +16 -305
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
- package/sdk/application/Share/ShareApplicationClient.js +34 -294
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
- package/sdk/application/Theme/ThemeApplicationClient.js +28 -162
- package/sdk/application/User/UserApplicationClient.d.ts +85 -136
- package/sdk/application/User/UserApplicationClient.js +45 -1815
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +2 -5
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -47
- package/sdk/application/index.d.ts +0 -18
- package/sdk/application/index.js +0 -33
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +10 -7
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +2 -0
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +2 -0
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +3 -40
- package/sdk/partner/Theme/ThemePartnerModel.js +2 -24
- package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -0
- package/sdk/platform/Cart/CartPlatformModel.js +12 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +0 -7
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +14 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +6 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +3 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +3 -0
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +3 -1
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +3 -0
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +16 -1
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +20 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +0 -92
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +10 -0
- package/sdk/platform/Order/OrderPlatformClient.js +99 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +7 -0
- package/sdk/platform/Order/OrderPlatformModel.js +3 -0
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +20 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +4 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +56 -19
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +42 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +3 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +3 -40
- package/sdk/platform/Theme/ThemePlatformModel.js +2 -24
- package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -2
- package/sdk/public/Content/ContentPublicClient.d.ts +1 -1
- package/sdk/public/Content/ContentPublicClient.js +14 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +14 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +5 -2
- package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
- package/sdk/application/Cart/CartApplicationModel.js +0 -2497
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
- package/sdk/application/Cart/CartApplicationValidator.js +0 -530
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
- package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
- package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
- package/sdk/application/Common/CommonApplicationModel.js +0 -308
- package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
- package/sdk/application/Common/CommonApplicationValidator.js +0 -38
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
- package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
- package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
- package/sdk/application/Content/ContentApplicationModel.js +0 -1589
- package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
- package/sdk/application/Content/ContentApplicationValidator.js +0 -264
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
- package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
- package/sdk/application/Lead/LeadApplicationModel.js +0 -480
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
- package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
- package/sdk/application/Order/OrderApplicationModel.js +0 -1471
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
- package/sdk/application/Order/OrderApplicationValidator.js +0 -197
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
- package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
- package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
- package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
- package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
- package/sdk/application/Share/ShareApplicationModel.js +0 -234
- package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
- package/sdk/application/Share/ShareApplicationValidator.js +0 -91
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
- package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
- package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
- package/sdk/application/User/UserApplicationModel.js +0 -1382
- package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
- package/sdk/application/User/UserApplicationValidator.js +0 -573
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
- package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
- package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
- package/sdk/common/Clickstream.d.ts +0 -1
- package/sdk/common/Clickstream.js +0 -464
|
@@ -53,537 +53,417 @@ declare class Payment {
|
|
|
53
53
|
_urls: {};
|
|
54
54
|
updateUrls(urls: any): void;
|
|
55
55
|
/**
|
|
56
|
-
* @param {PaymentApplicationValidator.AddBeneficiaryDetailsParam} arg - Arg object.
|
|
57
56
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
58
57
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
59
|
-
* @returns {Promise<
|
|
60
|
-
* Success response
|
|
58
|
+
* @returns {Promise<RefundAccountResponse>} - Success response
|
|
61
59
|
* @name addBeneficiaryDetails
|
|
62
60
|
* @summary: Add beneficiary for refund
|
|
63
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/).
|
|
64
62
|
*/
|
|
65
|
-
addBeneficiaryDetails({ body, requestHeaders }?:
|
|
63
|
+
addBeneficiaryDetails({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RefundAccountResponse>;
|
|
66
64
|
/**
|
|
67
|
-
* @param {PaymentApplicationValidator.AddRefundBankAccountUsingOTPParam} arg
|
|
68
|
-
* - Arg object.
|
|
69
|
-
*
|
|
70
65
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
71
66
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
72
|
-
* @returns {Promise<
|
|
73
|
-
* Success response
|
|
67
|
+
* @returns {Promise<RefundAccountResponse>} - Success response
|
|
74
68
|
* @name addRefundBankAccountUsingOTP
|
|
75
69
|
* @summary: Add refund account using OTP verification
|
|
76
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/).
|
|
77
71
|
*/
|
|
78
|
-
addRefundBankAccountUsingOTP({ body, requestHeaders }?:
|
|
72
|
+
addRefundBankAccountUsingOTP({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RefundAccountResponse>;
|
|
79
73
|
/**
|
|
80
|
-
* @param {PaymentApplicationValidator.AttachCardToCustomerParam} arg - Arg object.
|
|
81
74
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
82
75
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
83
|
-
* @returns {Promise<
|
|
76
|
+
* @returns {Promise<AttachCardsResponse>} - Success response
|
|
84
77
|
* @name attachCardToCustomer
|
|
85
78
|
* @summary: Link payment card to customer
|
|
86
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/).
|
|
87
80
|
*/
|
|
88
|
-
attachCardToCustomer({ body, requestHeaders }?:
|
|
81
|
+
attachCardToCustomer({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AttachCardsResponse>;
|
|
89
82
|
/**
|
|
90
|
-
* @param {PaymentApplicationValidator.CancelPaymentLinkParam} arg - Arg object.
|
|
91
83
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
92
84
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
93
|
-
* @returns {Promise<
|
|
94
|
-
* Success response
|
|
85
|
+
* @returns {Promise<CancelPaymentLinkResponse>} - Success response
|
|
95
86
|
* @name cancelPaymentLink
|
|
96
87
|
* @summary: Cancel payment link
|
|
97
88
|
* @description: Cancel previously generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/cancelPaymentLink/).
|
|
98
89
|
*/
|
|
99
|
-
cancelPaymentLink({ body, requestHeaders }?:
|
|
90
|
+
cancelPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CancelPaymentLinkResponse>;
|
|
100
91
|
/**
|
|
101
|
-
* @param {PaymentApplicationValidator.CardDetailsParam} arg - Arg object.
|
|
102
92
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
103
93
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
104
|
-
* @returns {Promise<
|
|
94
|
+
* @returns {Promise<CardDetailsResponse>} - Success response
|
|
105
95
|
* @name cardDetails
|
|
106
96
|
* @summary: Get card details
|
|
107
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/).
|
|
108
98
|
*/
|
|
109
|
-
cardDetails({ cardInfo, aggregator, requestHeaders }?:
|
|
99
|
+
cardDetails({ cardInfo, aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CardDetailsResponse>;
|
|
110
100
|
/**
|
|
111
|
-
* @param {PaymentApplicationValidator.CheckAndUpdatePaymentStatusParam} arg
|
|
112
|
-
* - Arg object.
|
|
113
|
-
*
|
|
114
101
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
115
102
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
116
|
-
* @returns {Promise<
|
|
117
|
-
* - Success response
|
|
118
|
-
*
|
|
103
|
+
* @returns {Promise<PaymentStatusUpdateResponse>} - Success response
|
|
119
104
|
* @name checkAndUpdatePaymentStatus
|
|
120
105
|
* @summary: Update payment status
|
|
121
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/).
|
|
122
107
|
*/
|
|
123
|
-
checkAndUpdatePaymentStatus({ body, requestHeaders }?:
|
|
108
|
+
checkAndUpdatePaymentStatus({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentStatusUpdateResponse>;
|
|
124
109
|
/**
|
|
125
|
-
* @param {PaymentApplicationValidator.CheckAndUpdatePaymentStatusPaymentLinkParam} arg
|
|
126
|
-
* - Arg object.
|
|
127
|
-
*
|
|
128
110
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
129
111
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
130
|
-
* @returns {Promise<
|
|
131
|
-
* - Success response
|
|
132
|
-
*
|
|
112
|
+
* @returns {Promise<PaymentStatusUpdateResponse>} - Success response
|
|
133
113
|
* @name checkAndUpdatePaymentStatusPaymentLink
|
|
134
114
|
* @summary: Update payment link status
|
|
135
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/).
|
|
136
116
|
*/
|
|
137
|
-
checkAndUpdatePaymentStatusPaymentLink({ body, requestHeaders }?:
|
|
117
|
+
checkAndUpdatePaymentStatusPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentStatusUpdateResponse>;
|
|
138
118
|
/**
|
|
139
|
-
* @param {PaymentApplicationValidator.CheckCreditParam} arg - Arg object.
|
|
140
119
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
141
120
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
142
|
-
* @returns {Promise<
|
|
121
|
+
* @returns {Promise<CheckCreditResponse>} - Success response
|
|
143
122
|
* @name checkCredit
|
|
144
123
|
* @summary: Verify credit availability and status
|
|
145
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/).
|
|
146
125
|
*/
|
|
147
|
-
checkCredit({ aggregator, requestHeaders }?:
|
|
126
|
+
checkCredit({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CheckCreditResponse>;
|
|
148
127
|
/**
|
|
149
|
-
* @param {PaymentApplicationValidator.CreateOrderHandlerPaymentLinkParam} arg
|
|
150
|
-
* - Arg object.
|
|
151
|
-
*
|
|
152
128
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
153
129
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
154
|
-
* @returns {Promise<
|
|
155
|
-
* Success response
|
|
130
|
+
* @returns {Promise<CreateOrderUserResponse>} - Success response
|
|
156
131
|
* @name createOrderHandlerPaymentLink
|
|
157
132
|
* @summary: Create order for payment via link
|
|
158
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/).
|
|
159
134
|
*/
|
|
160
|
-
createOrderHandlerPaymentLink({ body, requestHeaders }?:
|
|
135
|
+
createOrderHandlerPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CreateOrderUserResponse>;
|
|
161
136
|
/**
|
|
162
|
-
* @param {PaymentApplicationValidator.CreatePaymentLinkParam} arg - Arg object.
|
|
163
137
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
164
138
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
165
|
-
* @returns {Promise<
|
|
166
|
-
* Success response
|
|
139
|
+
* @returns {Promise<CreatePaymentLinkResponse>} - Success response
|
|
167
140
|
* @name createPaymentLink
|
|
168
141
|
* @summary: Create payment link
|
|
169
142
|
* @description: Create new payment link for transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/createPaymentLink/).
|
|
170
143
|
*/
|
|
171
|
-
createPaymentLink({ body, requestHeaders }?:
|
|
144
|
+
createPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CreatePaymentLinkResponse>;
|
|
172
145
|
/**
|
|
173
|
-
* @param {PaymentApplicationValidator.CreatePaymentOrderParam} arg - Arg object.
|
|
174
146
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
175
147
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
176
|
-
* @returns {Promise<
|
|
148
|
+
* @returns {Promise<PaymentOrderResponse>} - Success response
|
|
177
149
|
* @name createPaymentOrder
|
|
178
150
|
* @summary: Create Order
|
|
179
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/).
|
|
180
152
|
*/
|
|
181
|
-
createPaymentOrder({ body, requestHeaders }?:
|
|
153
|
+
createPaymentOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentOrderResponse>;
|
|
182
154
|
/**
|
|
183
|
-
* @param {PaymentApplicationValidator.CustomerCreditSummaryParam} arg - Arg object.
|
|
184
155
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
185
156
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
186
|
-
* @returns {Promise<
|
|
187
|
-
* - Success response
|
|
188
|
-
*
|
|
157
|
+
* @returns {Promise<CustomerCreditSummaryResponse>} - Success response
|
|
189
158
|
* @name customerCreditSummary
|
|
190
159
|
* @summary: Credit summary
|
|
191
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/).
|
|
192
161
|
*/
|
|
193
|
-
customerCreditSummary({ aggregator, requestHeaders }?:
|
|
162
|
+
customerCreditSummary({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomerCreditSummaryResponse>;
|
|
194
163
|
/**
|
|
195
|
-
* @param {PaymentApplicationValidator.CustomerOnboardParam} arg - Arg object.
|
|
196
164
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
197
165
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
198
|
-
* @returns {Promise<
|
|
199
|
-
* Success response
|
|
166
|
+
* @returns {Promise<CustomerOnboardingResponse>} - Success response
|
|
200
167
|
* @name customerOnboard
|
|
201
168
|
* @summary: Onboard customer for payment
|
|
202
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/).
|
|
203
170
|
*/
|
|
204
|
-
customerOnboard({ body, requestHeaders }?:
|
|
171
|
+
customerOnboard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomerOnboardingResponse>;
|
|
205
172
|
/**
|
|
206
|
-
* @param {PaymentApplicationValidator.DeleteUserCardParam} arg - Arg object.
|
|
207
173
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
208
174
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
209
|
-
* @returns {Promise<
|
|
175
|
+
* @returns {Promise<DeleteCardsResponse>} - Success response
|
|
210
176
|
* @name deleteUserCard
|
|
211
177
|
* @summary: Delete customer card
|
|
212
178
|
* @description: Delete payment card from the user's account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/deleteUserCard/).
|
|
213
179
|
*/
|
|
214
|
-
deleteUserCard({ body, requestHeaders }?:
|
|
180
|
+
deleteUserCard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DeleteCardsResponse>;
|
|
215
181
|
/**
|
|
216
|
-
* @param {PaymentApplicationValidator.DelinkWalletParam} arg - Arg object.
|
|
217
182
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
218
183
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
219
|
-
* @returns {Promise<
|
|
184
|
+
* @returns {Promise<WalletResponseSchema>} - Success response
|
|
220
185
|
* @name delinkWallet
|
|
221
186
|
* @summary: Delink the wallet
|
|
222
187
|
* @description: Delink the wallet. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/delinkWallet/).
|
|
223
188
|
*/
|
|
224
|
-
delinkWallet({ body, requestHeaders }?:
|
|
189
|
+
delinkWallet({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<WalletResponseSchema>;
|
|
225
190
|
/**
|
|
226
|
-
* @param {PaymentApplicationValidator.EnableOrDisableRefundTransferModeParam} arg
|
|
227
|
-
* - Arg object.
|
|
228
|
-
*
|
|
229
191
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
230
192
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
231
|
-
* @returns {Promise<
|
|
232
|
-
* - Success response
|
|
233
|
-
*
|
|
193
|
+
* @returns {Promise<UpdateRefundTransferModeResponse>} - Success response
|
|
234
194
|
* @name enableOrDisableRefundTransferMode
|
|
235
195
|
* @summary: Toggle refund mode
|
|
236
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/).
|
|
237
197
|
*/
|
|
238
|
-
enableOrDisableRefundTransferMode({ body, requestHeaders }?:
|
|
198
|
+
enableOrDisableRefundTransferMode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<UpdateRefundTransferModeResponse>;
|
|
239
199
|
/**
|
|
240
|
-
* @param {PaymentApplicationValidator.GetActiveCardAggregatorParam} arg - Arg object.
|
|
241
200
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
242
201
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
243
|
-
* @returns {Promise<
|
|
244
|
-
* - Success response
|
|
245
|
-
*
|
|
202
|
+
* @returns {Promise<ActiveCardPaymentGatewayResponse>} - Success response
|
|
246
203
|
* @name getActiveCardAggregator
|
|
247
204
|
* @summary: Retrieve active card aggregator
|
|
248
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/).
|
|
249
206
|
*/
|
|
250
|
-
getActiveCardAggregator({ refresh, requestHeaders }?:
|
|
207
|
+
getActiveCardAggregator({ refresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ActiveCardPaymentGatewayResponse>;
|
|
251
208
|
/**
|
|
252
|
-
* @param {PaymentApplicationValidator.GetActiveRefundTransferModesParam} arg
|
|
253
|
-
* - Arg object.
|
|
254
|
-
*
|
|
255
209
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
256
210
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
257
|
-
* @returns {Promise<
|
|
211
|
+
* @returns {Promise<TransferModeResponse>} - Success response
|
|
258
212
|
* @name getActiveRefundTransferModes
|
|
259
213
|
* @summary: Get refund transfer modes
|
|
260
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/).
|
|
261
215
|
*/
|
|
262
|
-
getActiveRefundTransferModes({ requestHeaders }?:
|
|
216
|
+
getActiveRefundTransferModes({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<TransferModeResponse>;
|
|
263
217
|
/**
|
|
264
|
-
* @param {PaymentApplicationValidator.GetActiveUserCardsParam} arg - Arg object.
|
|
265
218
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
266
219
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
267
|
-
* @returns {Promise<
|
|
220
|
+
* @returns {Promise<ListCardsResponse>} - Success response
|
|
268
221
|
* @name getActiveUserCards
|
|
269
222
|
* @summary: Get customer cards
|
|
270
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/).
|
|
271
224
|
*/
|
|
272
|
-
getActiveUserCards({ forceRefresh, requestHeaders }?:
|
|
225
|
+
getActiveUserCards({ forceRefresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ListCardsResponse>;
|
|
273
226
|
/**
|
|
274
|
-
* @param {PaymentApplicationValidator.GetAggregatorsConfigParam} arg - Arg object.
|
|
275
227
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
276
228
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
277
|
-
* @returns {Promise<
|
|
278
|
-
* - Success response
|
|
279
|
-
*
|
|
229
|
+
* @returns {Promise<AggregatorsConfigDetailResponse>} - Success response
|
|
280
230
|
* @name getAggregatorsConfig
|
|
281
231
|
* @summary: Get payment aggregators
|
|
282
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/).
|
|
283
233
|
*/
|
|
284
|
-
getAggregatorsConfig({ xApiToken, refresh, requestHeaders }?:
|
|
234
|
+
getAggregatorsConfig({ xApiToken, refresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AggregatorsConfigDetailResponse>;
|
|
285
235
|
/**
|
|
286
|
-
* @param {PaymentApplicationValidator.GetEpaylaterBannerDetailsParam} arg
|
|
287
|
-
* - Arg object.
|
|
288
|
-
*
|
|
289
236
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
290
237
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
291
|
-
* @returns {Promise<
|
|
292
|
-
* Success response
|
|
238
|
+
* @returns {Promise<EpaylaterBannerResponse>} - Success response
|
|
293
239
|
* @name getEpaylaterBannerDetails
|
|
294
240
|
* @summary: Epaylater banner info
|
|
295
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/).
|
|
296
242
|
*/
|
|
297
|
-
getEpaylaterBannerDetails({ requestHeaders }?:
|
|
243
|
+
getEpaylaterBannerDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<EpaylaterBannerResponse>;
|
|
298
244
|
/**
|
|
299
|
-
* @param {PaymentApplicationValidator.GetOrderBeneficiariesDetailParam} arg
|
|
300
|
-
* - Arg object.
|
|
301
|
-
*
|
|
302
245
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
303
246
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
304
|
-
* @returns {Promise<
|
|
305
|
-
* Success response
|
|
247
|
+
* @returns {Promise<OrderBeneficiaryResponse>} - Success response
|
|
306
248
|
* @name getOrderBeneficiariesDetail
|
|
307
249
|
* @summary: Retrieve beneficiary details
|
|
308
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/).
|
|
309
251
|
*/
|
|
310
|
-
getOrderBeneficiariesDetail({ orderId, requestHeaders }?:
|
|
252
|
+
getOrderBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderBeneficiaryResponse>;
|
|
311
253
|
/**
|
|
312
|
-
* @param {PaymentApplicationValidator.GetPaymentLinkParam} arg - Arg object.
|
|
313
254
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
314
255
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
315
|
-
* @returns {Promise<
|
|
316
|
-
* Success response
|
|
256
|
+
* @returns {Promise<GetPaymentLinkResponse>} - Success response
|
|
317
257
|
* @name getPaymentLink
|
|
318
258
|
* @summary: Get payment link
|
|
319
259
|
* @description: Get a generated payment link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/getPaymentLink/).
|
|
320
260
|
*/
|
|
321
|
-
getPaymentLink({ paymentLinkId, requestHeaders }?:
|
|
261
|
+
getPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetPaymentLinkResponse>;
|
|
322
262
|
/**
|
|
323
|
-
* @param {PaymentApplicationValidator.GetPaymentModeRoutesParam} arg - Arg object.
|
|
324
263
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
325
264
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
326
|
-
* @returns {Promise<
|
|
327
|
-
* Success response
|
|
265
|
+
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
328
266
|
* @name getPaymentModeRoutes
|
|
329
267
|
* @summary: Get payment modes
|
|
330
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/).
|
|
331
269
|
*/
|
|
332
|
-
getPaymentModeRoutes({ amount, cartId, checkoutMode, refresh, orderId, cardReference, userDetails, displaySplit, advancePayment, shipmentId, requestHeaders, }?:
|
|
270
|
+
getPaymentModeRoutes({ amount, cartId, checkoutMode, refresh, orderId, cardReference, userDetails, displaySplit, advancePayment, shipmentId, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentModeRouteResponse>;
|
|
333
271
|
/**
|
|
334
|
-
* @param {PaymentApplicationValidator.GetPaymentModeRoutesPaymentLinkParam} arg
|
|
335
|
-
* - Arg object.
|
|
336
|
-
*
|
|
337
272
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
338
273
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
339
|
-
* @returns {Promise<
|
|
340
|
-
* Success response
|
|
274
|
+
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
341
275
|
* @name getPaymentModeRoutesPaymentLink
|
|
342
276
|
* @summary: Payment modes for payment link
|
|
343
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/).
|
|
344
278
|
*/
|
|
345
|
-
getPaymentModeRoutesPaymentLink({ paymentLinkId, requestHeaders }?:
|
|
279
|
+
getPaymentModeRoutesPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentModeRouteResponse>;
|
|
346
280
|
/**
|
|
347
|
-
* @param {PaymentApplicationValidator.GetPosPaymentModeRoutesParam} arg - Arg object.
|
|
348
281
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
349
282
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
350
|
-
* @returns {Promise<
|
|
351
|
-
* Success response
|
|
283
|
+
* @returns {Promise<PaymentModeRouteResponse>} - Success response
|
|
352
284
|
* @name getPosPaymentModeRoutes
|
|
353
285
|
* @summary: POS payment modes
|
|
354
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/).
|
|
355
287
|
*/
|
|
356
|
-
getPosPaymentModeRoutes({ amount, pincode, orderType, cartId, checkoutMode, refresh, cardReference, userDetails, requestHeaders, }?:
|
|
288
|
+
getPosPaymentModeRoutes({ amount, pincode, orderType, cartId, checkoutMode, refresh, cardReference, userDetails, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentModeRouteResponse>;
|
|
357
289
|
/**
|
|
358
|
-
* @param {PaymentApplicationValidator.GetRupifiBannerDetailsParam} arg - Arg object.
|
|
359
290
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
360
291
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
361
|
-
* @returns {Promise<
|
|
292
|
+
* @returns {Promise<RupifiBannerResponse>} - Success response
|
|
362
293
|
* @name getRupifiBannerDetails
|
|
363
294
|
* @summary: Rupifi banner info
|
|
364
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/).
|
|
365
296
|
*/
|
|
366
|
-
getRupifiBannerDetails({ requestHeaders }?:
|
|
297
|
+
getRupifiBannerDetails({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RupifiBannerResponse>;
|
|
367
298
|
/**
|
|
368
|
-
* @param {PaymentApplicationValidator.GetUserBeneficiariesDetailParam} arg
|
|
369
|
-
* - Arg object.
|
|
370
|
-
*
|
|
371
299
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
372
300
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
373
|
-
* @returns {Promise<
|
|
374
|
-
* Success response
|
|
301
|
+
* @returns {Promise<OrderBeneficiaryResponse>} - Success response
|
|
375
302
|
* @name getUserBeneficiariesDetail
|
|
376
303
|
* @summary: Retrieve beneficiary details
|
|
377
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/).
|
|
378
305
|
*/
|
|
379
|
-
getUserBeneficiariesDetail({ orderId, requestHeaders }?:
|
|
306
|
+
getUserBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderBeneficiaryResponse>;
|
|
380
307
|
/**
|
|
381
|
-
* @param {PaymentApplicationValidator.InitialisePaymentParam} arg - Arg object.
|
|
382
308
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
383
309
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
384
|
-
* @returns {Promise<
|
|
385
|
-
* - Success response
|
|
386
|
-
*
|
|
310
|
+
* @returns {Promise<PaymentInitializationResponse>} - Success response
|
|
387
311
|
* @name initialisePayment
|
|
388
312
|
* @summary: Start payment process
|
|
389
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/).
|
|
390
314
|
*/
|
|
391
|
-
initialisePayment({ body, requestHeaders }?:
|
|
315
|
+
initialisePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentInitializationResponse>;
|
|
392
316
|
/**
|
|
393
|
-
* @param {PaymentApplicationValidator.InitialisePaymentPaymentLinkParam} arg
|
|
394
|
-
* - Arg object.
|
|
395
|
-
*
|
|
396
317
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
397
318
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
398
|
-
* @returns {Promise<
|
|
399
|
-
* - Success response
|
|
400
|
-
*
|
|
319
|
+
* @returns {Promise<PaymentInitializationResponse>} - Success response
|
|
401
320
|
* @name initialisePaymentPaymentLink
|
|
402
321
|
* @summary: Initialize payment link
|
|
403
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/).
|
|
404
323
|
*/
|
|
405
|
-
initialisePaymentPaymentLink({ body, requestHeaders }?:
|
|
324
|
+
initialisePaymentPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaymentInitializationResponse>;
|
|
406
325
|
/**
|
|
407
|
-
* @param {PaymentApplicationValidator.LinkWalletParam} arg - Arg object.
|
|
408
326
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
409
327
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
410
|
-
* @returns {Promise<
|
|
328
|
+
* @returns {Promise<WalletResponseSchema>} - Success response
|
|
411
329
|
* @name linkWallet
|
|
412
330
|
* @summary: OTP verification
|
|
413
331
|
* @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/).
|
|
414
332
|
*/
|
|
415
|
-
linkWallet({ body, requestHeaders }?:
|
|
333
|
+
linkWallet({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<WalletResponseSchema>;
|
|
416
334
|
/**
|
|
417
|
-
* @param {PaymentApplicationValidator.OutstandingOrderDetailsParam} arg - Arg object.
|
|
418
335
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
419
336
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
420
|
-
* @returns {Promise<
|
|
421
|
-
* - Success response
|
|
422
|
-
*
|
|
337
|
+
* @returns {Promise<OutstandingOrderDetailsResponse>} - Success response
|
|
423
338
|
* @name outstandingOrderDetails
|
|
424
339
|
* @summary: Outstanding orders
|
|
425
340
|
* @description: Get details of orders with outstanding payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/outstandingOrderDetails/).
|
|
426
341
|
*/
|
|
427
|
-
outstandingOrderDetails({ aggregator, requestHeaders }?:
|
|
342
|
+
outstandingOrderDetails({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OutstandingOrderDetailsResponse>;
|
|
428
343
|
/**
|
|
429
|
-
* @param {PaymentApplicationValidator.PaidOrderDetailsParam} arg - Arg object.
|
|
430
344
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
431
345
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
432
|
-
* @returns {Promise<
|
|
433
|
-
* Success response
|
|
346
|
+
* @returns {Promise<PaidOrderDetailsResponse>} - Success response
|
|
434
347
|
* @name paidOrderDetails
|
|
435
348
|
* @summary: Retrieve details of paid orders
|
|
436
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/).
|
|
437
350
|
*/
|
|
438
|
-
paidOrderDetails({ aggregator, requestHeaders }?:
|
|
351
|
+
paidOrderDetails({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PaidOrderDetailsResponse>;
|
|
439
352
|
/**
|
|
440
|
-
* @param {PaymentApplicationValidator.PollingPaymentLinkParam} arg - Arg object.
|
|
441
353
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
442
354
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
443
|
-
* @returns {Promise<
|
|
444
|
-
* Success response
|
|
355
|
+
* @returns {Promise<PollingPaymentLinkResponse>} - Success response
|
|
445
356
|
* @name pollingPaymentLink
|
|
446
357
|
* @summary: Poll status of payment link
|
|
447
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/).
|
|
448
359
|
*/
|
|
449
|
-
pollingPaymentLink({ paymentLinkId, requestHeaders }?:
|
|
360
|
+
pollingPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PollingPaymentLinkResponse>;
|
|
450
361
|
/**
|
|
451
|
-
* @param {PaymentApplicationValidator.RedirectToAggregatorParam} arg - Arg object.
|
|
452
362
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
453
363
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
454
|
-
* @returns {Promise<
|
|
455
|
-
* - Success response
|
|
456
|
-
*
|
|
364
|
+
* @returns {Promise<RedirectToAggregatorResponse>} - Success response
|
|
457
365
|
* @name redirectToAggregator
|
|
458
366
|
* @summary: Redirects users to the payment aggregator's interface
|
|
459
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/).
|
|
460
368
|
*/
|
|
461
|
-
redirectToAggregator({ source, aggregator, requestHeaders }?:
|
|
369
|
+
redirectToAggregator({ source, aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<RedirectToAggregatorResponse>;
|
|
462
370
|
/**
|
|
463
|
-
* @param {PaymentApplicationValidator.RenderHTMLParam} arg - Arg object.
|
|
464
371
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
465
372
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
466
|
-
* @returns {Promise<
|
|
373
|
+
* @returns {Promise<renderHTMLResponse>} - Success response
|
|
467
374
|
* @name renderHTML
|
|
468
375
|
* @summary: Render HTML
|
|
469
376
|
* @description: Render HTML for a payment aggregator page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/renderHTML/).
|
|
470
377
|
*/
|
|
471
|
-
renderHTML({ body, requestHeaders }?:
|
|
378
|
+
renderHTML({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<renderHTMLResponse>;
|
|
472
379
|
/**
|
|
473
|
-
* @param {PaymentApplicationValidator.ResendOrCancelPaymentParam} arg - Arg object.
|
|
474
380
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
475
381
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
476
|
-
* @returns {Promise<
|
|
477
|
-
* - Success response
|
|
478
|
-
*
|
|
382
|
+
* @returns {Promise<ResendOrCancelPaymentResponse>} - Success response
|
|
479
383
|
* @name resendOrCancelPayment
|
|
480
384
|
* @summary: Resend or cancel a pending payment transaction
|
|
481
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/).
|
|
482
386
|
*/
|
|
483
|
-
resendOrCancelPayment({ body, requestHeaders }?:
|
|
387
|
+
resendOrCancelPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ResendOrCancelPaymentResponse>;
|
|
484
388
|
/**
|
|
485
|
-
* @param {PaymentApplicationValidator.ResendPaymentLinkParam} arg - Arg object.
|
|
486
389
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
487
390
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
488
|
-
* @returns {Promise<
|
|
489
|
-
* Success response
|
|
391
|
+
* @returns {Promise<ResendPaymentLinkResponse>} - Success response
|
|
490
392
|
* @name resendPaymentLink
|
|
491
393
|
* @summary: Resend payment link
|
|
492
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/).
|
|
493
395
|
*/
|
|
494
|
-
resendPaymentLink({ body, requestHeaders }?:
|
|
396
|
+
resendPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ResendPaymentLinkResponse>;
|
|
495
397
|
/**
|
|
496
|
-
* @param {PaymentApplicationValidator.UpdateDefaultBeneficiaryParam} arg -
|
|
497
|
-
* Arg object.
|
|
498
398
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
499
399
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
500
|
-
* @returns {Promise<
|
|
501
|
-
* - Success response
|
|
502
|
-
*
|
|
400
|
+
* @returns {Promise<SetDefaultBeneficiaryResponse>} - Success response
|
|
503
401
|
* @name updateDefaultBeneficiary
|
|
504
402
|
* @summary: Set default beneficiary for refund
|
|
505
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/).
|
|
506
404
|
*/
|
|
507
|
-
updateDefaultBeneficiary({ body, requestHeaders }?:
|
|
405
|
+
updateDefaultBeneficiary({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SetDefaultBeneficiaryResponse>;
|
|
508
406
|
/**
|
|
509
|
-
* @param {PaymentApplicationValidator.ValidateVPAParam} arg - Arg object.
|
|
510
407
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
511
408
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
512
|
-
* @returns {Promise<
|
|
409
|
+
* @returns {Promise<ValidateVPAResponse>} - Success response
|
|
513
410
|
* @name validateVPA
|
|
514
411
|
* @summary: Validate VPA
|
|
515
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/).
|
|
516
413
|
*/
|
|
517
|
-
validateVPA({ body, requestHeaders }?:
|
|
414
|
+
validateVPA({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ValidateVPAResponse>;
|
|
518
415
|
/**
|
|
519
|
-
* @param {PaymentApplicationValidator.VerifyAndChargePaymentParam} arg - Arg object.
|
|
520
416
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
521
417
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
522
|
-
* @returns {Promise<
|
|
523
|
-
* Success response
|
|
418
|
+
* @returns {Promise<ChargeCustomerResponse>} - Success response
|
|
524
419
|
* @name verifyAndChargePayment
|
|
525
420
|
* @summary: Verify order confirmation and charge
|
|
526
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/).
|
|
527
422
|
*/
|
|
528
|
-
verifyAndChargePayment({ body, requestHeaders }?:
|
|
423
|
+
verifyAndChargePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ChargeCustomerResponse>;
|
|
529
424
|
/**
|
|
530
|
-
* @param {PaymentApplicationValidator.VerifyCustomerForPaymentParam} arg -
|
|
531
|
-
* Arg object.
|
|
532
425
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
533
426
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
534
|
-
* @returns {Promise<
|
|
535
|
-
* Success response
|
|
427
|
+
* @returns {Promise<ValidateCustomerResponse>} - Success response
|
|
536
428
|
* @name verifyCustomerForPayment
|
|
537
429
|
* @summary: Verify payment customer
|
|
538
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/).
|
|
539
431
|
*/
|
|
540
|
-
verifyCustomerForPayment({ body, requestHeaders }?:
|
|
432
|
+
verifyCustomerForPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ValidateCustomerResponse>;
|
|
541
433
|
/**
|
|
542
|
-
* @param {PaymentApplicationValidator.VerifyIfscCodeParam} arg - Arg object.
|
|
543
434
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
544
435
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
545
|
-
* @returns {Promise<
|
|
436
|
+
* @returns {Promise<IfscCodeResponse>} - Success response
|
|
546
437
|
* @name verifyIfscCode
|
|
547
438
|
* @summary: Verify IFSC
|
|
548
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/).
|
|
549
440
|
*/
|
|
550
|
-
verifyIfscCode({ ifscCode, requestHeaders }?:
|
|
441
|
+
verifyIfscCode({ ifscCode, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<IfscCodeResponse>;
|
|
551
442
|
/**
|
|
552
|
-
* @param {PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForBankParam} arg
|
|
553
|
-
* - Arg object.
|
|
554
|
-
*
|
|
555
443
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
556
444
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
557
|
-
* @returns {Promise<
|
|
558
|
-
* - Success response
|
|
559
|
-
*
|
|
445
|
+
* @returns {Promise<AddBeneficiaryViaOtpVerificationResponse>} - Success response
|
|
560
446
|
* @name verifyOtpAndAddBeneficiaryForBank
|
|
561
447
|
* @summary: Verify OTP for bank and add beneficiary
|
|
562
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/).
|
|
563
449
|
*/
|
|
564
|
-
verifyOtpAndAddBeneficiaryForBank({ body, requestHeaders }?:
|
|
450
|
+
verifyOtpAndAddBeneficiaryForBank({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AddBeneficiaryViaOtpVerificationResponse>;
|
|
565
451
|
/**
|
|
566
|
-
* @param {PaymentApplicationValidator.VerifyOtpAndAddBeneficiaryForWalletParam} arg
|
|
567
|
-
* - Arg object.
|
|
568
|
-
*
|
|
569
452
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
570
453
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
571
|
-
* @returns {Promise<
|
|
454
|
+
* @returns {Promise<WalletOtpResponse>} - Success response
|
|
572
455
|
* @name verifyOtpAndAddBeneficiaryForWallet
|
|
573
456
|
* @summary: Verify OTP for wallet
|
|
574
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/).
|
|
575
458
|
*/
|
|
576
|
-
verifyOtpAndAddBeneficiaryForWallet({ body, requestHeaders }?:
|
|
459
|
+
verifyOtpAndAddBeneficiaryForWallet({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<WalletOtpResponse>;
|
|
577
460
|
/**
|
|
578
|
-
* @param {PaymentApplicationValidator.WalletLinkInitiateParam} arg - Arg object.
|
|
579
461
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
580
462
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
581
|
-
* @returns {Promise<
|
|
463
|
+
* @returns {Promise<WalletResponseSchema>} - Success response
|
|
582
464
|
* @name walletLinkInitiate
|
|
583
465
|
* @summary: Initiate linking of wallet
|
|
584
466
|
* @description: Link wallet for the aggregator for processing of payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/payment/walletLinkInitiate/).
|
|
585
467
|
*/
|
|
586
|
-
walletLinkInitiate({ body, requestHeaders }?:
|
|
468
|
+
walletLinkInitiate({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<WalletResponseSchema>;
|
|
587
469
|
}
|
|
588
|
-
import PaymentApplicationValidator = require("./PaymentApplicationValidator");
|
|
589
|
-
import PaymentApplicationModel = require("./PaymentApplicationModel");
|