@gofynd/fdk-client-javascript 1.4.3 → 1.4.5
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 -10
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +48 -48
- package/sdk/application/Cart/CartApplicationClient.js +48 -48
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +69 -69
- package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -32
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
- package/sdk/application/Content/ContentApplicationClient.d.ts +45 -45
- package/sdk/application/Content/ContentApplicationClient.js +45 -45
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +5 -5
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +5 -5
- package/sdk/application/Lead/LeadApplicationClient.d.ts +9 -9
- package/sdk/application/Lead/LeadApplicationClient.js +9 -9
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -22
- package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
- package/sdk/application/Order/OrderApplicationClient.d.ts +14 -25
- package/sdk/application/Order/OrderApplicationClient.js +14 -94
- package/sdk/application/Order/OrderApplicationValidator.d.ts +1 -15
- package/sdk/application/Order/OrderApplicationValidator.js +0 -13
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +71 -71
- package/sdk/application/Payment/PaymentApplicationClient.js +71 -71
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
- package/sdk/application/Rewards/RewardsApplicationClient.js +1 -1
- package/sdk/application/Share/ShareApplicationClient.d.ts +1 -1
- package/sdk/application/Share/ShareApplicationClient.js +1 -1
- package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
- package/sdk/application/Share/ShareApplicationModel.js +2 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
- package/sdk/application/User/UserApplicationClient.d.ts +74 -74
- package/sdk/application/User/UserApplicationClient.js +74 -74
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +5 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +5 -5
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +13 -13
- package/sdk/platform/Billing/BillingPlatformClient.js +13 -13
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +102 -102
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +102 -102
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +132 -131
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +132 -131
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +130 -130
- package/sdk/platform/Catalog/CatalogPlatformClient.js +130 -130
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
- package/sdk/platform/Common/CommonPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +118 -118
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +118 -118
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +22 -22
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +22 -22
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +34 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +35 -5
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +4 -4
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +41 -41
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +41 -41
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +26 -26
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +26 -26
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +93 -93
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +93 -93
- package/sdk/platform/Content/ContentPlatformClient.d.ts +29 -29
- package/sdk/platform/Content/ContentPlatformClient.js +29 -29
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +18 -18
- package/sdk/platform/Discount/DiscountPlatformClient.js +18 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -17
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +18 -17
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +2 -2
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +4 -4
- package/sdk/platform/Finance/FinancePlatformClient.js +4 -4
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +15 -15
- package/sdk/platform/Lead/LeadPlatformClient.js +15 -15
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +95 -106
- package/sdk/platform/Order/OrderPlatformClient.js +95 -190
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10 -0
- package/sdk/platform/Order/OrderPlatformModel.js +4 -0
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +1 -33
- package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +77 -77
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +77 -77
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +2 -2
- package/sdk/platform/Payment/PaymentPlatformClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +7 -7
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +7 -7
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +40 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +51 -50
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +51 -50
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.js +1 -1
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +34 -104
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +34 -591
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +1 -100
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
- package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -35
- package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +7 -6
- package/sdk/platform/Webhook/WebhookPlatformClient.js +7 -6
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
- package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
- package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
|
@@ -21,8 +21,8 @@ class Payment {
|
|
|
21
21
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
22
22
|
* @returns {Promise<PaymentPlatformModel.EdcDeviceUpdateResponse>} - Success response
|
|
23
23
|
* @name addEdcDevice
|
|
24
|
-
* @summary:
|
|
25
|
-
* @description:
|
|
24
|
+
* @summary: Create an EDC device
|
|
25
|
+
* @description: Registration and addition of a new EDC device to the system - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/addEdcDevice/).
|
|
26
26
|
*/
|
|
27
27
|
async addEdcDevice(
|
|
28
28
|
{ terminalUniqueIdentifier, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -104,8 +104,8 @@ class Payment {
|
|
|
104
104
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
105
105
|
* @returns {Promise<PaymentPlatformModel.RefundAccountResponse>} - Success response
|
|
106
106
|
* @name addRefundBankAccountUsingOTP
|
|
107
|
-
* @summary:
|
|
108
|
-
* @description:
|
|
107
|
+
* @summary: Create refund account
|
|
108
|
+
* @description: The addition of a bank account specifically for refunds, employing OTP verification for security - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/addRefundBankAccountUsingOTP/).
|
|
109
109
|
*/
|
|
110
110
|
async addRefundBankAccountUsingOTP(
|
|
111
111
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -268,8 +268,8 @@ class Payment {
|
|
|
268
268
|
* @returns {Promise<PaymentPlatformModel.PaymentStatusUpdateResponse>} -
|
|
269
269
|
* Success response
|
|
270
270
|
* @name checkAndUpdatePaymentStatus
|
|
271
|
-
* @summary:
|
|
272
|
-
* @description:
|
|
271
|
+
* @summary: Poll and update payment status
|
|
272
|
+
* @description: Polling process to confirm the payment status. It periodically checks and updates the current status of a payment, ensuring timely and accurate confirmation of payment transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/checkAndUpdatePaymentStatus/).
|
|
273
273
|
*/
|
|
274
274
|
async checkAndUpdatePaymentStatus(
|
|
275
275
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -348,8 +348,8 @@ class Payment {
|
|
|
348
348
|
* @returns {Promise<PaymentPlatformModel.PaymentConfirmationResponse>} -
|
|
349
349
|
* Success response
|
|
350
350
|
* @name confirmPayment
|
|
351
|
-
* @summary:
|
|
352
|
-
* @description:
|
|
351
|
+
* @summary: Payment confirmation
|
|
352
|
+
* @description: Authentication and confirmation of a payment.It requires details such as the order ID and payment methods in the request body to authenticate and confirm the payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/confirmPayment/).
|
|
353
353
|
*/
|
|
354
354
|
async confirmPayment(
|
|
355
355
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -431,8 +431,8 @@ class Payment {
|
|
|
431
431
|
* - Success response
|
|
432
432
|
*
|
|
433
433
|
* @name createMerchantRefundPriority
|
|
434
|
-
* @summary:
|
|
435
|
-
* @description:
|
|
434
|
+
* @summary: Create merchant refund priority
|
|
435
|
+
* @description: Create merchant refund priority configurations, with the provided refund sources priority details, and return the status of the operation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/createMerchantRefundPriority/).
|
|
436
436
|
*/
|
|
437
437
|
async createMerchantRefundPriority(
|
|
438
438
|
{ configType, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -516,7 +516,7 @@ class Payment {
|
|
|
516
516
|
* Success response
|
|
517
517
|
* @name createPaymentLink
|
|
518
518
|
* @summary: Create payment link
|
|
519
|
-
* @description: Generate a
|
|
519
|
+
* @description: Generate a payment link for accepting payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/createPaymentLink/).
|
|
520
520
|
*/
|
|
521
521
|
async createPaymentLink(
|
|
522
522
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -597,7 +597,7 @@ class Payment {
|
|
|
597
597
|
* @returns {Promise<PaymentPlatformModel.PaymentOrderResponse>} - Success response
|
|
598
598
|
* @name createPaymentOrder
|
|
599
599
|
* @summary: Create Order
|
|
600
|
-
* @description:
|
|
600
|
+
* @description: Create an order and payment on the aggregator side - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/createPaymentOrder/).
|
|
601
601
|
*/
|
|
602
602
|
async createPaymentOrder(
|
|
603
603
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -754,8 +754,8 @@ class Payment {
|
|
|
754
754
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
755
755
|
* @returns {Promise<PaymentPlatformModel.EdcDeviceListResponse>} - Success response
|
|
756
756
|
* @name edcDeviceList
|
|
757
|
-
* @summary: EDC
|
|
758
|
-
* @description:
|
|
757
|
+
* @summary: List EDC devices
|
|
758
|
+
* @description: Retrieves a list of available Electronic Data Capture (EDC) devices. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceList/).
|
|
759
759
|
*/
|
|
760
760
|
async edcDeviceList(
|
|
761
761
|
{ pageNo, pageSize, isActive, storeId, deviceTag, requestHeaders } = {
|
|
@@ -849,7 +849,7 @@ class Payment {
|
|
|
849
849
|
* @returns {Promise<PaymentPlatformModel.EdcDeviceStatsResponse>} - Success response
|
|
850
850
|
* @name edcDeviceStats
|
|
851
851
|
* @summary: EDC device stats
|
|
852
|
-
* @description:
|
|
852
|
+
* @description: Information about EDC (Electronic Data Capture) devices linked to a specific application within a company. It provides statistics such as the count of active and inactive devices. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/edcDeviceStats/).
|
|
853
853
|
*/
|
|
854
854
|
async edcDeviceStats(
|
|
855
855
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -926,7 +926,7 @@ class Payment {
|
|
|
926
926
|
* @returns {Promise<PaymentPlatformModel.RefundAccountResponse>} - Success response
|
|
927
927
|
* @name getBankAccountDetailsOpenAPI
|
|
928
928
|
* @summary: Get bank account details
|
|
929
|
-
* @description: Retrieve bank account information
|
|
929
|
+
* @description: Retrieve bank account information - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getBankAccountDetailsOpenAPI/).
|
|
930
930
|
*/
|
|
931
931
|
async getBankAccountDetailsOpenAPI(
|
|
932
932
|
{ orderId, requestHash, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1013,8 +1013,8 @@ class Payment {
|
|
|
1013
1013
|
* @returns {Promise<PaymentPlatformModel.PaymentGatewayConfigResponse>} -
|
|
1014
1014
|
* Success response
|
|
1015
1015
|
* @name getBrandPaymentGatewayConfig
|
|
1016
|
-
* @summary: Get brand payment gateway
|
|
1017
|
-
* @description: Retrieve configuration settings for brand payment gateways. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getBrandPaymentGatewayConfig/).
|
|
1016
|
+
* @summary: Get secrets for brand payment gateway
|
|
1017
|
+
* @description: Retrieve configuration settings like key, secret, webhook url, merchant salt for brand payment gateways. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getBrandPaymentGatewayConfig/).
|
|
1018
1018
|
*/
|
|
1019
1019
|
async getBrandPaymentGatewayConfig(
|
|
1020
1020
|
{ aggregator, configType, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1097,8 +1097,8 @@ class Payment {
|
|
|
1097
1097
|
* @returns {Promise<PaymentPlatformModel.EdcDeviceDetailsResponse>} -
|
|
1098
1098
|
* Success response
|
|
1099
1099
|
* @name getEdcDevice
|
|
1100
|
-
* @summary: Get EDC device
|
|
1101
|
-
* @description: Retrieve detailed information
|
|
1100
|
+
* @summary: Get an EDC device
|
|
1101
|
+
* @description: Retrieve comprehensive details regarding an Electronic Data Capture (EDC) device associated with a particular terminal unique identifier within a company's application.Upon success, it returns the detailed information of the EDC device, including terminal serial number, EDC device serial number, merchant store POS code, store ID, aggregator ID and name, device tag, activation status, and EDC model. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getEdcDevice/).
|
|
1102
1102
|
*/
|
|
1103
1103
|
async getEdcDevice(
|
|
1104
1104
|
{ terminalUniqueIdentifier, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1179,8 +1179,8 @@ class Payment {
|
|
|
1179
1179
|
* @returns {Promise<PaymentPlatformModel.AggregatorVersionResponse>} -
|
|
1180
1180
|
* Success response
|
|
1181
1181
|
* @name getMerchantAggregatorAppVersion
|
|
1182
|
-
* @summary: Get app version
|
|
1183
|
-
* @description:
|
|
1182
|
+
* @summary: Get app version for Aggregator
|
|
1183
|
+
* @description: Get app version required for Payment Mode or sub payment mode for an Aggregator.if merchant required any PG payment mode after certain version for mobile app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getMerchantAggregatorAppVersion/).
|
|
1184
1184
|
*/
|
|
1185
1185
|
async getMerchantAggregatorAppVersion(
|
|
1186
1186
|
{
|
|
@@ -1280,8 +1280,8 @@ class Payment {
|
|
|
1280
1280
|
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
1281
1281
|
* Success response
|
|
1282
1282
|
* @name getMerchantAggregatorPaymentModeDetails
|
|
1283
|
-
* @summary: Get merchant aggregator payment mode
|
|
1284
|
-
* @description:
|
|
1283
|
+
* @summary: Get merchant aggregator and their payment mode
|
|
1284
|
+
* @description: Get available payment gateways and payment mode and it's sub payment mode details like for razorpay their active/inactive payment modes netbanking , wallet, upi are shown. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getMerchantAggregatorPaymentModeDetails/).
|
|
1285
1285
|
*/
|
|
1286
1286
|
async getMerchantAggregatorPaymentModeDetails(
|
|
1287
1287
|
{ aggregatorId, businessUnit, device, requestHeaders } = {
|
|
@@ -1371,7 +1371,7 @@ class Payment {
|
|
|
1371
1371
|
* Success response
|
|
1372
1372
|
* @name getMerchantPaymentOption
|
|
1373
1373
|
* @summary: Get merchant payment option
|
|
1374
|
-
* @description: Retrieve
|
|
1374
|
+
* @description: Retrieve available payment gateways and offline payment mode details for a merchant by providing company ID and application ID, returning a list of active payment gateways and their configurations, including online and offline options. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getMerchantPaymentOption/).
|
|
1375
1375
|
*/
|
|
1376
1376
|
async getMerchantPaymentOption(
|
|
1377
1377
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1450,7 +1450,7 @@ class Payment {
|
|
|
1450
1450
|
*
|
|
1451
1451
|
* @name getMerchantRefundPriority
|
|
1452
1452
|
* @summary: Get merchant refund priority
|
|
1453
|
-
* @description:
|
|
1453
|
+
* @description: Retrieve merchant refund priority configurations, returning the status of the update and the refund sources priority with their descriptions and priorities. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getMerchantRefundPriority/).
|
|
1454
1454
|
*/
|
|
1455
1455
|
async getMerchantRefundPriority(
|
|
1456
1456
|
{ configType, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1531,8 +1531,8 @@ class Payment {
|
|
|
1531
1531
|
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
1532
1532
|
* Success response
|
|
1533
1533
|
* @name getPGConfigAggregators
|
|
1534
|
-
* @summary: Get
|
|
1535
|
-
* @description:
|
|
1534
|
+
* @summary: Get merchant aggregator payment mode
|
|
1535
|
+
* @description: Get payment gateway and it's payment mode and it's sub payment mode details like for razorpay update active/inactive payment modes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPGConfigAggregators/).
|
|
1536
1536
|
*/
|
|
1537
1537
|
async getPGConfigAggregators(
|
|
1538
1538
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1608,8 +1608,8 @@ class Payment {
|
|
|
1608
1608
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1609
1609
|
* @returns {Promise<PaymentPlatformModel.GetPaymentCodeResponse>} - Success response
|
|
1610
1610
|
* @name getPaymentCodeOption
|
|
1611
|
-
* @summary: Get payment mode
|
|
1612
|
-
* @description:
|
|
1611
|
+
* @summary: Get payment mode codes
|
|
1612
|
+
* @description: Enables users to retrieve options for payment codes.users can access information such as payment method names, networks, and associated codes, facilitating seamless integration and management of payment modes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentCodeOption/).
|
|
1613
1613
|
*/
|
|
1614
1614
|
async getPaymentCodeOption(
|
|
1615
1615
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -1684,7 +1684,7 @@ class Payment {
|
|
|
1684
1684
|
* @returns {Promise<PaymentPlatformModel.GetPaymentLinkResponse>} - Success response
|
|
1685
1685
|
* @name getPaymentLink
|
|
1686
1686
|
* @summary: Get payment link
|
|
1687
|
-
* @description: Retrieve a link for making payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentLink/).
|
|
1687
|
+
* @description: Retrieve a payment link for making payments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentLink/).
|
|
1688
1688
|
*/
|
|
1689
1689
|
async getPaymentLink(
|
|
1690
1690
|
{ paymentLinkId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1766,8 +1766,8 @@ class Payment {
|
|
|
1766
1766
|
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
1767
1767
|
* Success response
|
|
1768
1768
|
* @name getPaymentModeControlRoutes
|
|
1769
|
-
* @summary: Get
|
|
1770
|
-
* @description:
|
|
1769
|
+
* @summary: Get offline/advance payment mode
|
|
1770
|
+
* @description: Get details of offline / advance payment mode like for cod offline payment mode get user level cod limit, order level cod limit, cod charge. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentModeControlRoutes/).
|
|
1771
1771
|
*/
|
|
1772
1772
|
async getPaymentModeControlRoutes(
|
|
1773
1773
|
{ mode, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1849,8 +1849,8 @@ class Payment {
|
|
|
1849
1849
|
* - Success response
|
|
1850
1850
|
*
|
|
1851
1851
|
* @name getPaymentModeCustomConfig
|
|
1852
|
-
* @summary: Get
|
|
1853
|
-
* @description:
|
|
1852
|
+
* @summary: Get advance payment custom configurations
|
|
1853
|
+
* @description: Merchants to fetch detailed information regarding advance payment custom configurations tailored to their specific business needs. merchants can access settings such as customer restrictions, available payment modes for both pre-order and post-order transactions - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentModeCustomConfig/).
|
|
1854
1854
|
*/
|
|
1855
1855
|
async getPaymentModeCustomConfig(
|
|
1856
1856
|
{ mode, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1930,8 +1930,8 @@ class Payment {
|
|
|
1930
1930
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1931
1931
|
* @returns {Promise<PaymentPlatformModel.PaymentOptionsResponse>} - Success response
|
|
1932
1932
|
* @name getPaymentModeRoutes
|
|
1933
|
-
* @summary: Get payment
|
|
1934
|
-
* @description:
|
|
1933
|
+
* @summary: Get payment modes
|
|
1934
|
+
* @description: Available payment methods on the payment page, specifying the aggregator for each option, such as 'Netbanking powered by Juspay' and 'Card powered by Razorpay'. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentModeRoutes/).
|
|
1935
1935
|
*/
|
|
1936
1936
|
async getPaymentModeRoutes(
|
|
1937
1937
|
{ refresh, requestType, orderId, shipmentId, requestHeaders } = {
|
|
@@ -2024,8 +2024,8 @@ class Payment {
|
|
|
2024
2024
|
* @returns {Promise<PaymentPlatformModel.PaymentSessionSerializer>} -
|
|
2025
2025
|
* Success response
|
|
2026
2026
|
* @name getPaymentSession
|
|
2027
|
-
* @summary:
|
|
2028
|
-
* @description:
|
|
2027
|
+
* @summary: Get payment session
|
|
2028
|
+
* @description: Allows users to fetch the payment session details associated with a given order ID or transaction ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPaymentSession/).
|
|
2029
2029
|
*/
|
|
2030
2030
|
async getPaymentSession(
|
|
2031
2031
|
{ gid, lineItem, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2109,8 +2109,8 @@ class Payment {
|
|
|
2109
2109
|
* @returns {Promise<PaymentPlatformModel.PaymentModeRouteResponse>} -
|
|
2110
2110
|
* Success response
|
|
2111
2111
|
* @name getPosPaymentModeRoutes
|
|
2112
|
-
* @summary:
|
|
2113
|
-
* @description:
|
|
2112
|
+
* @summary: List POS payment modes
|
|
2113
|
+
* @description: Available payment methods on the payment page for POS, specifying the aggregator for each option, such as 'CARD powered by Juspay' and 'QR powered by Razorpay'. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getPosPaymentModeRoutes/).
|
|
2114
2114
|
*/
|
|
2115
2115
|
async getPosPaymentModeRoutes(
|
|
2116
2116
|
{
|
|
@@ -2240,7 +2240,7 @@ class Payment {
|
|
|
2240
2240
|
* Success response
|
|
2241
2241
|
* @name getUserBeneficiaries
|
|
2242
2242
|
* @summary: Get user beneficiaries
|
|
2243
|
-
* @description:
|
|
2243
|
+
* @description: Retrieves information about beneficiaries associated with the user for processing refunds, based on the provided order ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserBeneficiaries/).
|
|
2244
2244
|
*/
|
|
2245
2245
|
async getUserBeneficiaries(
|
|
2246
2246
|
{ orderId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2317,8 +2317,8 @@ class Payment {
|
|
|
2317
2317
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2318
2318
|
* @returns {Promise<PaymentPlatformModel.GetUserCODLimitResponse>} - Success response
|
|
2319
2319
|
* @name getUserCODlimitRoutes
|
|
2320
|
-
* @summary: Get user COD
|
|
2321
|
-
* @description: Retrieve
|
|
2320
|
+
* @summary: Get user COD
|
|
2321
|
+
* @description: Retrieve user cod limt data of user i.e cod is active or not for user and remaining limit - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserCODlimitRoutes/).
|
|
2322
2322
|
*/
|
|
2323
2323
|
async getUserCODlimitRoutes(
|
|
2324
2324
|
{ merchantUserId, mobileNo, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2404,7 +2404,7 @@ class Payment {
|
|
|
2404
2404
|
* Success response
|
|
2405
2405
|
* @name getUserOrderBeneficiaries
|
|
2406
2406
|
* @summary: Get user order beneficiaries
|
|
2407
|
-
* @description: Retrieve
|
|
2407
|
+
* @description: Retrieve beneficiary details like bank name , ifsc code , branch name associated with a specific order for refund processing - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getUserOrderBeneficiaries/).
|
|
2408
2408
|
*/
|
|
2409
2409
|
async getUserOrderBeneficiaries(
|
|
2410
2410
|
{ orderId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2482,8 +2482,8 @@ class Payment {
|
|
|
2482
2482
|
* @returns {Promise<PaymentPlatformModel.PaymentInitializationResponse>} -
|
|
2483
2483
|
* Success response
|
|
2484
2484
|
* @name initialisePayment
|
|
2485
|
-
* @summary:
|
|
2486
|
-
* @description:
|
|
2485
|
+
* @summary: Start payment process
|
|
2486
|
+
* @description: Initiates the payment procedure for an order.Upon successful initiation, it returns a details including the success status, aggregator information, payment method, status, merchant order ID aggregator order , polling URL, timeout, virtual ID, Razorpay payment ID, customer ID, and device ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/initialisePayment/).
|
|
2487
2487
|
*/
|
|
2488
2488
|
async initialisePayment(
|
|
2489
2489
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2565,7 +2565,7 @@ class Payment {
|
|
|
2565
2565
|
* Success response
|
|
2566
2566
|
* @name merchantOnBoarding
|
|
2567
2567
|
* @summary: Merchant onboarding for BNPL
|
|
2568
|
-
* @description: Initiate the onboarding process for
|
|
2568
|
+
* @description: Initiate the merchant onboarding process for Buy Now Pay Later (BNPL). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/merchantOnBoarding/).
|
|
2569
2569
|
*/
|
|
2570
2570
|
async merchantOnBoarding(
|
|
2571
2571
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2644,7 +2644,7 @@ class Payment {
|
|
|
2644
2644
|
* @returns {Promise<PaymentPlatformModel.GetOauthUrlResponse>} - Success response
|
|
2645
2645
|
* @name oauthGetUrl
|
|
2646
2646
|
* @summary: Get OAuth URL
|
|
2647
|
-
* @description:
|
|
2647
|
+
* @description: This has been used when merchant is setup their razorpay payment gateway, they will redirect to razorpay site after submitting all their secrets for authetication. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/oauthGetUrl/).
|
|
2648
2648
|
*/
|
|
2649
2649
|
async oauthGetUrl(
|
|
2650
2650
|
{ aggregator, successRedirectUrl, failureRedirectUrl, requestHeaders } = {
|
|
@@ -2733,8 +2733,8 @@ class Payment {
|
|
|
2733
2733
|
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
2734
2734
|
* Success response
|
|
2735
2735
|
* @name patchMerchantAggregatorPaymentModeDetails
|
|
2736
|
-
* @summary:
|
|
2737
|
-
* @description:
|
|
2736
|
+
* @summary: Update merchant aggregator payment mode
|
|
2737
|
+
* @description: update payment gateway and it's payment mode and it's sub payment mode details like for razorpay update active/inactive payment modes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/patchMerchantAggregatorPaymentModeDetails/).
|
|
2738
2738
|
*/
|
|
2739
2739
|
async patchMerchantAggregatorPaymentModeDetails(
|
|
2740
2740
|
{ aggregatorId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2817,8 +2817,8 @@ class Payment {
|
|
|
2817
2817
|
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
2818
2818
|
* Success response
|
|
2819
2819
|
* @name patchMerchantPaymentOption
|
|
2820
|
-
* @summary:
|
|
2821
|
-
* @description:
|
|
2820
|
+
* @summary: Update payment gateways and payment mode
|
|
2821
|
+
* @description: Updated online/offline payment as active/inactive like disable offline payment mode will disable offline payment modes on checkout page on merchant's website - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/patchMerchantPaymentOption/).
|
|
2822
2822
|
*/
|
|
2823
2823
|
async patchMerchantPaymentOption(
|
|
2824
2824
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2899,8 +2899,8 @@ class Payment {
|
|
|
2899
2899
|
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
2900
2900
|
* Success response
|
|
2901
2901
|
* @name patchMerchantPaymentOptionVersion
|
|
2902
|
-
* @summary: Update app version
|
|
2903
|
-
* @description:
|
|
2902
|
+
* @summary: Update app version for Aggrgator
|
|
2903
|
+
* @description: Update app version required for Payment Mode or sub payment mode for an Aggregator.if merchant required any PG payment mode after certain version for mobile app. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/patchMerchantPaymentOptionVersion/).
|
|
2904
2904
|
*/
|
|
2905
2905
|
async patchMerchantPaymentOptionVersion(
|
|
2906
2906
|
{ aggregatorId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2984,8 +2984,8 @@ class Payment {
|
|
|
2984
2984
|
* - Success response
|
|
2985
2985
|
*
|
|
2986
2986
|
* @name paymentStatusBulk
|
|
2987
|
-
* @summary:
|
|
2988
|
-
* @description: Retrieve
|
|
2987
|
+
* @summary: Retrieve status of multiple payments in bulk
|
|
2988
|
+
* @description: Retrieve status of multiple payments in bulk and returns the status of each payment along with associated details such as payment ID, amount, currency, status, payment mode, and payment gateway in the response - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/paymentStatusBulk/).
|
|
2989
2989
|
*/
|
|
2990
2990
|
async paymentStatusBulk(
|
|
2991
2991
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3066,8 +3066,8 @@ class Payment {
|
|
|
3066
3066
|
* @returns {Promise<PaymentPlatformModel.PollingPaymentLinkResponse>} -
|
|
3067
3067
|
* Success response
|
|
3068
3068
|
* @name pollingPaymentLink
|
|
3069
|
-
* @summary:
|
|
3070
|
-
* @description:
|
|
3069
|
+
* @summary: Poll status of payment link
|
|
3070
|
+
* @description: Periodically checks the status of a payment link to monitor for any updates or changes.retrieve real-time information about the payment link's current status, such as whether it has been processed, cancelled, or expired. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/pollingPaymentLink/).
|
|
3071
3071
|
*/
|
|
3072
3072
|
async pollingPaymentLink(
|
|
3073
3073
|
{ paymentLinkId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3147,7 +3147,7 @@ class Payment {
|
|
|
3147
3147
|
* @returns {Promise<PaymentPlatformModel.RepaymentResponse>} - Success response
|
|
3148
3148
|
* @name repaymentDetails
|
|
3149
3149
|
* @summary: Repayment details for BNPL
|
|
3150
|
-
* @description: Retrieve
|
|
3150
|
+
* @description: Retrieve repayment details for Buy Now Pay Later (BNPL) payment - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/repaymentDetails/).
|
|
3151
3151
|
*/
|
|
3152
3152
|
async repaymentDetails(
|
|
3153
3153
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3229,7 +3229,7 @@ class Payment {
|
|
|
3229
3229
|
* Success response
|
|
3230
3230
|
* @name resendOrCancelPayment
|
|
3231
3231
|
* @summary: Resend or cancel payment
|
|
3232
|
-
* @description:
|
|
3232
|
+
* @description: Enable you to perform actions related to the resending and cancellation of payment links through SMS or EMAIL. resend or cancel payment link that have been initiated but may require modification or cancellation for various reasons, ensuring flexibility and control in payment processing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/resendOrCancelPayment/).
|
|
3233
3233
|
*/
|
|
3234
3234
|
async resendOrCancelPayment(
|
|
3235
3235
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3311,7 +3311,7 @@ class Payment {
|
|
|
3311
3311
|
* Success response
|
|
3312
3312
|
* @name resendPaymentLink
|
|
3313
3313
|
* @summary: Resend payment link
|
|
3314
|
-
* @description:
|
|
3314
|
+
* @description: Resends an existing payment link to the user to complete the payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/resendPaymentLink/).
|
|
3315
3315
|
*/
|
|
3316
3316
|
async resendPaymentLink(
|
|
3317
3317
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3390,7 +3390,7 @@ class Payment {
|
|
|
3390
3390
|
* @returns {Promise<PaymentPlatformModel.RevokeOAuthToken>} - Success response
|
|
3391
3391
|
* @name revokeOauthToken
|
|
3392
3392
|
* @summary: Revoke OAuth token
|
|
3393
|
-
* @description:
|
|
3393
|
+
* @description: Revoke the creds for payment aggregator razropay. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/revokeOauthToken/).
|
|
3394
3394
|
*/
|
|
3395
3395
|
async revokeOauthToken(
|
|
3396
3396
|
{ aggregator, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3472,7 +3472,7 @@ class Payment {
|
|
|
3472
3472
|
* Success response
|
|
3473
3473
|
* @name saveBrandPaymentGatewayConfig
|
|
3474
3474
|
* @summary: Save brand payment gateway config
|
|
3475
|
-
* @description: Store and update configuration settings for brand payment gateways. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/saveBrandPaymentGatewayConfig/).
|
|
3475
|
+
* @description: Store and update configuration settings for brand payment gateways i.e required for payment for a payment gateway like key, secret, merchant salt. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/saveBrandPaymentGatewayConfig/).
|
|
3476
3476
|
*/
|
|
3477
3477
|
async saveBrandPaymentGatewayConfig(
|
|
3478
3478
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3553,8 +3553,8 @@ class Payment {
|
|
|
3553
3553
|
* @returns {Promise<PaymentPlatformModel.PlatformPaymentModeResponse>} -
|
|
3554
3554
|
* Success response
|
|
3555
3555
|
* @name setMerchantModeControlRoutes
|
|
3556
|
-
* @summary: Update offline payment mode
|
|
3557
|
-
* @description:
|
|
3556
|
+
* @summary: Update offline payment mode
|
|
3557
|
+
* @description: Update offline payment mode details for the merchant like update for cod offline payment mode get user level cod limit, order level cod limit, cod charge, enable/disable device for cod. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/setMerchantModeControlRoutes/).
|
|
3558
3558
|
*/
|
|
3559
3559
|
async setMerchantModeControlRoutes(
|
|
3560
3560
|
{ mode, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3638,8 +3638,8 @@ class Payment {
|
|
|
3638
3638
|
* - Success response
|
|
3639
3639
|
*
|
|
3640
3640
|
* @name setPaymentModeCustomConfig
|
|
3641
|
-
* @summary: Update
|
|
3642
|
-
* @description:
|
|
3641
|
+
* @summary: Update advance payment custom configurations
|
|
3642
|
+
* @description: Allows merchants to modify specific details of advance payment custom configurations tailored to their business requirements. By providing the company ID, application ID, and payment mode, merchants can update settings such as minimum order value, customer restrictions, and available payment modes for both pre-order and post-order transactions - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/setPaymentModeCustomConfig/).
|
|
3643
3643
|
*/
|
|
3644
3644
|
async setPaymentModeCustomConfig(
|
|
3645
3645
|
{ mode, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3721,8 +3721,8 @@ class Payment {
|
|
|
3721
3721
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3722
3722
|
* @returns {Promise<PaymentPlatformModel.SetCODOptionResponse>} - Success response
|
|
3723
3723
|
* @name setUserCODlimitRoutes
|
|
3724
|
-
* @summary: Set user COD
|
|
3725
|
-
* @description:
|
|
3724
|
+
* @summary: Set user COD
|
|
3725
|
+
* @description: This allows access to seller to enable disable cod of specific user - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/setUserCODlimitRoutes/).
|
|
3726
3726
|
*/
|
|
3727
3727
|
async setUserCODlimitRoutes(
|
|
3728
3728
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3801,7 +3801,7 @@ class Payment {
|
|
|
3801
3801
|
* @returns {Promise<PaymentPlatformModel.EdcDeviceAddResponse>} - Success response
|
|
3802
3802
|
* @name updateEdcDevice
|
|
3803
3803
|
* @summary: Update EDC device
|
|
3804
|
-
* @description:
|
|
3804
|
+
* @description: Enables the modification of settings and details associated with an Electronic Data Capture (EDC) device linked to a specific application within a company. Upon success, it returns the updated information of the EDC device. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateEdcDevice/).
|
|
3805
3805
|
*/
|
|
3806
3806
|
async updateEdcDevice(
|
|
3807
3807
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3883,8 +3883,8 @@ class Payment {
|
|
|
3883
3883
|
* - Success response
|
|
3884
3884
|
*
|
|
3885
3885
|
* @name updateMerchantRefundPriority
|
|
3886
|
-
* @summary:
|
|
3887
|
-
* @description:
|
|
3886
|
+
* @summary: Update merchant refund priority
|
|
3887
|
+
* @description: Update merchant refund priority configurations, with the provided refund sources priority details, and return the status of the operation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateMerchantRefundPriority/).
|
|
3888
3888
|
*/
|
|
3889
3889
|
async updateMerchantRefundPriority(
|
|
3890
3890
|
{ configType, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3969,7 +3969,7 @@ class Payment {
|
|
|
3969
3969
|
*
|
|
3970
3970
|
* @name updatePaymentSession
|
|
3971
3971
|
* @summary: Update payment session
|
|
3972
|
-
* @description:
|
|
3972
|
+
* @description: Update the details of a payment session associated with a given order ID or transaction ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updatePaymentSession/).
|
|
3973
3973
|
*/
|
|
3974
3974
|
async updatePaymentSession(
|
|
3975
3975
|
{ gid, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4054,7 +4054,7 @@ class Payment {
|
|
|
4054
4054
|
*
|
|
4055
4055
|
* @name updateRefundSession
|
|
4056
4056
|
* @summary: Update refund session
|
|
4057
|
-
* @description:
|
|
4057
|
+
* @description: Allows users to update the details of a refund session associated with a specific global identifier (GID) and request ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updateRefundSession/).
|
|
4058
4058
|
*/
|
|
4059
4059
|
async updateRefundSession(
|
|
4060
4060
|
{ gid, requestId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4139,8 +4139,8 @@ class Payment {
|
|
|
4139
4139
|
* @returns {Promise<PaymentPlatformModel.ValidateCustomerResponse>} -
|
|
4140
4140
|
* Success response
|
|
4141
4141
|
* @name verifyCustomerForPayment
|
|
4142
|
-
* @summary:
|
|
4143
|
-
* @description:
|
|
4142
|
+
* @summary: Validate customer for paylater
|
|
4143
|
+
* @description: Verify whether the user is eligible for pay-later payment from the payment aggregator's side using the customer's phone number - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/verifyCustomerForPayment/).
|
|
4144
4144
|
*/
|
|
4145
4145
|
async verifyCustomerForPayment(
|
|
4146
4146
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -42,7 +42,7 @@ declare class Payment {
|
|
|
42
42
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
43
43
|
* @returns {Promise<PaymentPlatformModel.PayoutsResponse>} - Success response
|
|
44
44
|
* @name getAllPayouts
|
|
45
|
-
* @summary:
|
|
45
|
+
* @summary: List payouts
|
|
46
46
|
* @description: Retrieve a list of all payout transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getAllPayouts/).
|
|
47
47
|
*/
|
|
48
48
|
getAllPayouts({ uniqueExternalId, requestHeaders }?: PaymentPlatformValidator.GetAllPayoutsParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.PayoutsResponse>;
|
|
@@ -110,7 +110,7 @@ declare class Payment {
|
|
|
110
110
|
* @returns {Promise<PaymentPlatformModel.IfscCodeResponse>} - Success response
|
|
111
111
|
* @name verifyIfscCode
|
|
112
112
|
* @summary: Verify IFSC code
|
|
113
|
-
* @description:
|
|
113
|
+
* @description: Checks the validity of the provided IFSC code and returns bank details if valid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/verifyIfscCode/).
|
|
114
114
|
*/
|
|
115
115
|
verifyIfscCode({ ifscCode, requestHeaders }?: PaymentPlatformValidator.VerifyIfscCodeParam, { responseHeaders }?: object): Promise<PaymentPlatformModel.IfscCodeResponse>;
|
|
116
116
|
}
|
|
@@ -273,7 +273,7 @@ class Payment {
|
|
|
273
273
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
274
274
|
* @returns {Promise<PaymentPlatformModel.PayoutsResponse>} - Success response
|
|
275
275
|
* @name getAllPayouts
|
|
276
|
-
* @summary:
|
|
276
|
+
* @summary: List payouts
|
|
277
277
|
* @description: Retrieve a list of all payout transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getAllPayouts/).
|
|
278
278
|
*/
|
|
279
279
|
async getAllPayouts(
|
|
@@ -757,7 +757,7 @@ class Payment {
|
|
|
757
757
|
* @returns {Promise<PaymentPlatformModel.IfscCodeResponse>} - Success response
|
|
758
758
|
* @name verifyIfscCode
|
|
759
759
|
* @summary: Verify IFSC code
|
|
760
|
-
* @description:
|
|
760
|
+
* @description: Checks the validity of the provided IFSC code and returns bank details if valid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/verifyIfscCode/).
|
|
761
761
|
*/
|
|
762
762
|
async verifyIfscCode(
|
|
763
763
|
{ ifscCode, requestHeaders } = { requestHeaders: {} },
|
|
@@ -929,6 +929,8 @@ export = PaymentPlatformModel;
|
|
|
929
929
|
* reversal of payment.
|
|
930
930
|
* @property {string} [receipt_number] - Unique receipt for refund, generated by
|
|
931
931
|
* payment gateway, if not available can be utr.
|
|
932
|
+
* @property {string} [pg_refund_id] - Unique identifier for refund, generated
|
|
933
|
+
* by payment gateway.
|
|
932
934
|
* @property {string} currency - Currency of the payment.
|
|
933
935
|
* @property {string} [transfer_reversal] - Description in case of reversal of payment.
|
|
934
936
|
* @property {string} [balance_transaction] - Balance transaction.
|
|
@@ -3616,6 +3618,11 @@ type RefundSessionDetail = {
|
|
|
3616
3618
|
* payment gateway, if not available can be utr.
|
|
3617
3619
|
*/
|
|
3618
3620
|
receipt_number?: string;
|
|
3621
|
+
/**
|
|
3622
|
+
* - Unique identifier for refund, generated
|
|
3623
|
+
* by payment gateway.
|
|
3624
|
+
*/
|
|
3625
|
+
pg_refund_id?: string;
|
|
3619
3626
|
/**
|
|
3620
3627
|
* - Currency of the payment.
|
|
3621
3628
|
*/
|
|
@@ -1038,6 +1038,8 @@ const Joi = require("joi");
|
|
|
1038
1038
|
* reversal of payment.
|
|
1039
1039
|
* @property {string} [receipt_number] - Unique receipt for refund, generated by
|
|
1040
1040
|
* payment gateway, if not available can be utr.
|
|
1041
|
+
* @property {string} [pg_refund_id] - Unique identifier for refund, generated
|
|
1042
|
+
* by payment gateway.
|
|
1041
1043
|
* @property {string} currency - Currency of the payment.
|
|
1042
1044
|
* @property {string} [transfer_reversal] - Description in case of reversal of payment.
|
|
1043
1045
|
* @property {string} [balance_transaction] - Balance transaction.
|
|
@@ -2560,6 +2562,7 @@ class PaymentPlatformModel {
|
|
|
2560
2562
|
created: Joi.string().allow("").required(),
|
|
2561
2563
|
source_transfer_reversal: Joi.string().allow(""),
|
|
2562
2564
|
receipt_number: Joi.string().allow(""),
|
|
2565
|
+
pg_refund_id: Joi.string().allow(""),
|
|
2563
2566
|
currency: Joi.string().allow("").required(),
|
|
2564
2567
|
transfer_reversal: Joi.string().allow(""),
|
|
2565
2568
|
balance_transaction: Joi.string().allow(""),
|
|
@@ -23,7 +23,6 @@ declare class PlatformClient {
|
|
|
23
23
|
discount: Discount;
|
|
24
24
|
fileStorage: FileStorage;
|
|
25
25
|
finance: Finance;
|
|
26
|
-
inventory: Inventory;
|
|
27
26
|
lead: Lead;
|
|
28
27
|
serviceability: Serviceability;
|
|
29
28
|
order: Order;
|
|
@@ -59,7 +58,6 @@ import Content = require("./Content/ContentPlatformClient");
|
|
|
59
58
|
import Discount = require("./Discount/DiscountPlatformClient");
|
|
60
59
|
import FileStorage = require("./FileStorage/FileStoragePlatformClient");
|
|
61
60
|
import Finance = require("./Finance/FinancePlatformClient");
|
|
62
|
-
import Inventory = require("./Inventory/InventoryPlatformClient");
|
|
63
61
|
import Lead = require("./Lead/LeadPlatformClient");
|
|
64
62
|
import Serviceability = require("./Serviceability/ServiceabilityPlatformClient");
|
|
65
63
|
import Order = require("./Order/OrderPlatformClient");
|
|
@@ -20,8 +20,6 @@ const FileStorage = require("./FileStorage/FileStoragePlatformClient");
|
|
|
20
20
|
|
|
21
21
|
const Finance = require("./Finance/FinancePlatformClient");
|
|
22
22
|
|
|
23
|
-
const Inventory = require("./Inventory/InventoryPlatformClient");
|
|
24
|
-
|
|
25
23
|
const Lead = require("./Lead/LeadPlatformClient");
|
|
26
24
|
|
|
27
25
|
const Serviceability = require("./Serviceability/ServiceabilityPlatformClient");
|
|
@@ -73,8 +71,6 @@ class PlatformClient {
|
|
|
73
71
|
|
|
74
72
|
this.finance = new Finance(config);
|
|
75
73
|
|
|
76
|
-
this.inventory = new Inventory(config);
|
|
77
|
-
|
|
78
74
|
this.lead = new Lead(config);
|
|
79
75
|
|
|
80
76
|
this.serviceability = new Serviceability(config);
|