export = Payment; declare class Payment { constructor(_conf: any); _conf: any; _relativeUrls: { addBeneficiary: string; addBeneficiaryDetails: string; addRefundBankAccountUsingOTP: string; addRefundBeneficiaryUsingOTPSession: string; attachCardToCustomer: string; cancelPaymentLink: string; cardDetails: string; checkAndUpdatePaymentStatus: string; checkAndUpdatePaymentStatusPaymentLink: string; checkCredit: string; createOrderHandlerPaymentLink: string; createPaymentLink: string; createPaymentOrder: string; customerCreditSummary: string; customerOnboard: string; deleteBeneficiary: string; deleteUserCard: string; delinkWallet: string; enableOrDisableRefundTransferMode: string; getActiveCardAggregator: string; getActiveRefundTransferModes: string; getActiveUserCards: string; getAggregatorsConfig: string; getOrderBeneficiariesDetail: string; getPaymentLink: string; getPaymentModeRoutes: string; getPaymentModeRoutesPaymentLink: string; getPosPaymentModeRoutes: string; getRefundBeneficiaries: string; getRefundBeneficiariesUsingOTPSession: string; getUserBeneficiariesDetail: string; initialisePayment: string; initialisePaymentPaymentLink: string; linkWallet: string; paidOrderDetails: string; pollingPaymentLink: string; redirectToAggregator: string; renderHTML: string; resendOrCancelPayment: string; resendPaymentLink: string; updateDefaultBeneficiary: string; validateCustomerAndCreditSummary: string; validateVPA: string; verifyAndChargePayment: string; verifyCustomerForPayment: string; verifyIfscCode: string; verifyOtpAndAddBeneficiaryForBank: string; verifyOtpAndAddBeneficiaryForWallet: string; walletLinkInitiate: string; }; _urls: {}; updateUrls(urls: any): void; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name addBeneficiary * @summary: Add a beneficiary for refunds * @description: Adds a bank or UPI beneficiary to the user account for processing refunds. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/addBeneficiary/). */ addBeneficiary({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name addBeneficiaryDetails * @summary: Add beneficiary for refund * @description: Add beneficiary details specifically for refund transactions, including account holder name, account number and bank details. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/addBeneficiaryDetails/). */ addBeneficiaryDetails({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name addRefundBankAccountUsingOTP * @summary: Add refund account using OTP verification * @description: Add bank account specifically for refunds, employing OTP verification for security. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/addRefundBankAccountUsingOTP/). */ addRefundBankAccountUsingOTP({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name addRefundBeneficiaryUsingOTPSession * @summary: Add a beneficiary for refunds using OTP session * @description: Adds a bank or UPI beneficiary to the user account after completing an OTP verification session. The beneficiary details are securely linked with the user's refund preferences and will be used for processing refunds against specific orders and shipments. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/addRefundBeneficiaryUsingOTPSession/). */ addRefundBeneficiaryUsingOTPSession({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name attachCardToCustomer * @summary: Link payment card to customer * @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://docs.fynd.com/partners/commerce/sdk/application/payment/attachCardToCustomer/). */ attachCardToCustomer({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name cancelPaymentLink * @summary: Cancel payment link * @description: Cancel previously generated payment link. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/cancelPaymentLink/). */ cancelPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name cardDetails * @summary: Get card details * @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://docs.fynd.com/partners/commerce/sdk/application/payment/cardDetails/). */ cardDetails({ cardInfo, aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name checkAndUpdatePaymentStatus * @summary: Update payment status * @description: Polling process to confirm the payment status. It periodically checks and updates the current status of a payment, ensuring timely and accurate confirmation of payment transactions. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/checkAndUpdatePaymentStatus/). */ checkAndUpdatePaymentStatus({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name checkAndUpdatePaymentStatusPaymentLink * @summary: Update payment link status * @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://docs.fynd.com/partners/commerce/sdk/application/payment/checkAndUpdatePaymentStatusPaymentLink/). */ checkAndUpdatePaymentStatusPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name checkCredit * @summary: Verify credit availability and status * @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://docs.fynd.com/partners/commerce/sdk/application/payment/checkCredit/). */ checkCredit({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name createOrderHandlerPaymentLink * @summary: Create order for payment via link * @description: Initiate the creation of an order handler for processing payments through a link. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/createOrderHandlerPaymentLink/). */ createOrderHandlerPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name createPaymentLink * @summary: Create payment link * @description: Create new payment link for transactions. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/createPaymentLink/). */ createPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name createPaymentOrder * @summary: Create Order * @description: Create an order and payment on the aggregator side. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/createPaymentOrder/). */ createPaymentOrder({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name customerCreditSummary * @summary: Credit summary * @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://docs.fynd.com/partners/commerce/sdk/application/payment/customerCreditSummary/). */ customerCreditSummary({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name customerOnboard * @summary: Onboard customer for payment * @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://docs.fynd.com/partners/commerce/sdk/application/payment/customerOnboard/). */ customerOnboard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name deleteBeneficiary * @summary: Delete a refund beneficiary * @description: This API endpoint is used to delete a refund beneficiary using their beneficiary ID. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/deleteBeneficiary/). */ deleteBeneficiary({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name deleteUserCard * @summary: Delete customer card * @description: Delete payment card from the user's account. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/deleteUserCard/). */ deleteUserCard({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name delinkWallet * @summary: Delink the wallet * @description: Delink the wallet. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/delinkWallet/). */ delinkWallet({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name enableOrDisableRefundTransferMode * @summary: Toggle refund mode * @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://docs.fynd.com/partners/commerce/sdk/application/payment/enableOrDisableRefundTransferMode/). */ enableOrDisableRefundTransferMode({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name getActiveCardAggregator * @summary: Retrieve active card aggregator * @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://docs.fynd.com/partners/commerce/sdk/application/payment/getActiveCardAggregator/). */ getActiveCardAggregator({ refresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name getActiveRefundTransferModes * @summary: Get refund transfer modes * @description: Lists available refund modes, such as UPI, providing details like display name, logo, and ID for each mode. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/getActiveRefundTransferModes/). */ getActiveRefundTransferModes({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name getActiveUserCards * @summary: Get customer cards * @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://docs.fynd.com/partners/commerce/sdk/application/payment/getActiveUserCards/). */ getActiveUserCards({ forceRefresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name getAggregatorsConfig * @summary: Get payment aggregators * @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://docs.fynd.com/partners/commerce/sdk/application/payment/getAggregatorsConfig/). */ getAggregatorsConfig({ refresh, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name getOrderBeneficiariesDetail * @summary: Retrieve beneficiary details * @description: Get beneficiary details like bank name , ifsc code , branch name associated with a specific order for refund processing. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/getOrderBeneficiariesDetail/). */ getOrderBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name getPaymentLink * @summary: Get payment link * @description: Get a generated payment link. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/getPaymentLink/). */ getPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name getPaymentModeRoutes * @summary: Get payment modes * @description: Get available payment methods on the payment page, specifying the aggregator for each option, such as 'Netbanking powered by Juspay' and 'Card powered by Razorpay'. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/getPaymentModeRoutes/). */ getPaymentModeRoutes({ amount, cartId, checkoutMode, refresh, orderId, cardReference, userDetails, displaySplit, advancePayment, shipmentId, fulfillmentOption, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name getPaymentModeRoutesPaymentLink * @summary: Payment modes for payment link * @description: List payment modes available for a given payment link. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/getPaymentModeRoutesPaymentLink/). */ getPaymentModeRoutesPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name getPosPaymentModeRoutes * @summary: POS payment modes * @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://docs.fynd.com/partners/commerce/sdk/application/payment/getPosPaymentModeRoutes/). */ getPosPaymentModeRoutes({ amount, cartId, pincode, orderType, checkoutMode, refresh, cardReference, fulfillmentOption, userDetails, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name getRefundBeneficiaries * @summary: Get Refund Beneficiaries * @description: Returns a list of UPI and Bank refund beneficiaries associated with a user. Both `order_id` and `shipment_id` are optional query parameters. Use the optional filter_by enum parameter to refine the response. When the value of filter_by is order, the API returns only beneficiaries associated with the order. When the value of filter_by is shipment, it returns only beneficiaries associated with the shipment. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/getRefundBeneficiaries/). */ getRefundBeneficiaries({ orderId, shipmentId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name getRefundBeneficiariesUsingOTPSession * @summary: Get Refund Beneficiaries using OTP session * @description: Returns a list of UPI and Bank refund beneficiaries associated with a user for a given order and shipment. Use the optional filter_by enum parameter to refine the response. When the value of filter_by is order, the API returns only beneficiaries associated with the order. When the value of filter_by is shipment, it returns only beneficiaries associated with the shipment. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/getRefundBeneficiariesUsingOTPSession/). */ getRefundBeneficiariesUsingOTPSession({ orderId, shipmentId, filterBy, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name getUserBeneficiariesDetail * @summary: Retrieve beneficiary details * @description: Get beneficiaries associated with the user for processing refunds, based on the provided order ID. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/getUserBeneficiariesDetail/). */ getUserBeneficiariesDetail({ orderId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name initialisePayment * @summary: Start payment process * @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://docs.fynd.com/partners/commerce/sdk/application/payment/initialisePayment/). */ initialisePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name initialisePaymentPaymentLink * @summary: Initialize payment link * @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://docs.fynd.com/partners/commerce/sdk/application/payment/initialisePaymentPaymentLink/). */ initialisePaymentPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name linkWallet * @summary: OTP verification * @description: Verify the linking of wallet using OTP for further processing of payment. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/linkWallet/). */ linkWallet({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name paidOrderDetails * @summary: Retrieve details of paid orders * @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://docs.fynd.com/partners/commerce/sdk/application/payment/paidOrderDetails/). */ paidOrderDetails({ aggregator, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name pollingPaymentLink * @summary: Poll status of payment link * @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://docs.fynd.com/partners/commerce/sdk/application/payment/pollingPaymentLink/). */ pollingPaymentLink({ paymentLinkId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name redirectToAggregator * @summary: Redirects users to the payment aggregator's interface * @description: This endpoint is used to redirect users to the payment aggregator's platform where they can complete the payment process. The request may include necessary details for initiating the payment on the aggregator’s side, and the user is transferred seamlessly to their interface. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/redirectToAggregator/). */ redirectToAggregator({ aggregator, source, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name renderHTML * @summary: Render HTML * @description: Render HTML for a payment aggregator page. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/renderHTML/). */ renderHTML({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name resendOrCancelPayment * @summary: Resend or cancel a pending payment transaction * @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://docs.fynd.com/partners/commerce/sdk/application/payment/resendOrCancelPayment/). */ resendOrCancelPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name resendPaymentLink * @summary: Resend payment link * @description: Resend an existing payment link to the user to complete the payment. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/resendPaymentLink/). */ resendPaymentLink({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name updateDefaultBeneficiary * @summary: Set default beneficiary for refund * @description: Update default beneficiary for the order refund of the user. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/updateDefaultBeneficiary/). */ updateDefaultBeneficiary({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name validateCustomerAndCreditSummary * @summary: Verify payment customer and show credit summary * @description: Verify if the user is eligible for payment and also show credit summary if activated. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/validateCustomerAndCreditSummary/). */ validateCustomerAndCreditSummary({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name validateVPA * @summary: Validate VPA * @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://docs.fynd.com/partners/commerce/sdk/application/payment/validateVPA/). */ validateVPA({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name verifyAndChargePayment * @summary: Verify order confirmation and charge * @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://docs.fynd.com/partners/commerce/sdk/application/payment/verifyAndChargePayment/). */ verifyAndChargePayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name verifyCustomerForPayment * @summary: Verify payment customer * @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://docs.fynd.com/partners/commerce/sdk/application/payment/verifyCustomerForPayment/). */ verifyCustomerForPayment({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name verifyIfscCode * @summary: Verify IFSC * @description: Validate IFSC code and returns bank details if valid. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/verifyIfscCode/). */ verifyIfscCode({ ifscCode, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name verifyOtpAndAddBeneficiaryForBank * @summary: Verify OTP for bank and add beneficiary * @description: Verify the OTP provided by the user and adds a bank beneficiary for refund processing. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/verifyOtpAndAddBeneficiaryForBank/). */ verifyOtpAndAddBeneficiaryForBank({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name verifyOtpAndAddBeneficiaryForWallet * @summary: Verify OTP for wallet * @description: Verify OTP provided by the user and adds a wallet beneficiary. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/verifyOtpAndAddBeneficiaryForWallet/). */ verifyOtpAndAddBeneficiaryForWallet({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; /** * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}` * @param {import("../ApplicationAPIClient").Options} - Options * @returns {Promise} - Success response * @name walletLinkInitiate * @summary: Initiate linking of wallet * @description: Link wallet for the aggregator for processing of payment. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/payment/walletLinkInitiate/). */ walletLinkInitiate({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise; }