import { RequestOptionsFactory } from '@wix/sdk-types'; /** * Creates a refund. * * The refunding process starts immediately after a refund entity is created. * * If you specify an `amount`, you must also specify a `currency`. This currency should be the same as the currency of the charge. * If `amount` and `currency` are not specified, the refund is created for the full charge amount. If the charge was already partially refunded, this refund will fail. * * The refund is initially created with a status of `STARTING`. However, the call does not return a response until the refund status transitions away from `STARTING`. Lean more about the [refund lifecycle](https://dev.wix.com/docs/rest/business-management/payments/refunds/introduction#refund-lifecycle). */ export declare function createRefund(payload: object): RequestOptionsFactory; /** Retrieves a refund. */ export declare function getRefund(payload: object): RequestOptionsFactory; /** * Retrieves a list of refunds given the provided paging, filtering, and sorting. Up to 100 Refunds can be returned per request. * * For a detailed list of supported operations, see the [Sorting and Filtering](https://dev.wix.com/docs/rest/business-management/payments/refunds/sorting-and-filtering) article. * To learn how to query refunds, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language). */ export declare function queryRefunds(payload: object): RequestOptionsFactory; /** Updates the extended fields of a refund without incrementing the revision number. */ export declare function updateExtendedFields(payload: object): RequestOptionsFactory; /** * Calculates the refundability of a charge. * * Learn more about [refundability](https://dev.wix.com/docs/rest/business-management/payments/refunds/introduction#refundability). */ export declare function getRefundability(payload: object): RequestOptionsFactory;