> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Introduction ## Article: Introduction ## Article Link: https://dev.wix.com/docs/api-reference/business-management/payments/refunds/introduction.md ## Article Content: # About the Refunds API The Refunds API allows you to create and manage refunds for charges processed by Wix. With this API, you can create full or partial refunds, query refund history, and track refund status through its lifecycle. Refunds can be created through this API or synchronized from Payment Service Providers. Refunds can transition to any status (`PENDING`, `SUCCEEDED`, `FAILED`, or `REVERSED`) at any time. To understand how refunds progress from creation to completion, see [Refund Lifecycle](https://dev.wix.com/docs/rest/business-management/payments/refunds/refund-lifecycle.md). For guidance on avoiding duplicate partial refunds, see [Prevent Unintended Refunds](https://dev.wix.com/docs/rest/business-management/payments/refunds/prevent-unintended-refunds.md). ## Before you begin - The site must be onboarded to [accept payments through Wix](https://support.wix.com/en/article/accepting-payments-an-overview). - Some functionality in this API is specific to particular payment providers, which is noted in the documentation when applicable. ## Use cases - [Refund existing charges](https://dev.wix.com/docs/rest/business-management/payments/refunds/sample-flows.md#allow-merchants-to-refund-existing-charges) - [Issue partial refunds while preventing duplicates](https://dev.wix.com/docs/rest/business-management/payments/refunds/sample-flows.md#allow-merchants-to-issue-partial-refunds-for-charges-preventing-unintended-refunds) - [Import refunds to external accounting software](https://dev.wix.com/docs/rest/business-management/payments/refunds/sample-flows.md#import-refunds-to-external-accounting-software) ## Terminology - **Merchant**: A Wix user who owns a website and has onboarded to accept payments through Wix. - **Buyer**: A user of a merchant's site who makes a purchase from the merchant. - **Charge**: A transfer of funds from a buyer to a merchant. This was previously referred to as a transaction. Charges (or transactions) are currently handled by the [Transaction API](https://dev.wix.com/docs/rest/business-management/payments/cashier/payments/transaction/introduction.md). - **Refund**: The process of returning funds for a charge to a buyer. Refunds are initiated by merchants. A Refund object represents a record of a refunding attempt. - **Refundability**: A property of a charge that describes whether it's possible to issue a refund on the charge, and if so, the allowed range of the refund amount. - **Payment Service Provider (PSP)**: A service that enables merchants to take payments from buyers. For example, Wix Payments is the Wix PSP, and PayPal is a 3rd-party PSP. - **Processing Fee**: A fee taken from a merchant by a Payment provider for processing a charge. - **Application Fee**: A fee taken from a merchant by a Wix application associated with the charge. For example, Wix Events may charge a ticket service fee. - **Dispute**: The process of returning funds for a charge from a merchant to a buyer. Disputes are initiated by the buyer via their bank. This API doesn't handle disputes, but disputes can cause refunds to fail (indicated by the `CHARGE_DISPUTED` rejection reason). - **Acquirer Reference Number (ARN)**: A unique number assigned to a refund. This number is shared across all parties involved in processing the refund. It allows the merchant to track refunds with their bank. @sdk_package_setup