# MD for: https://www.mercadopago.com.pe/developers/en/docs/checkout-pro-orders/refunds-cancellations.md \# Refunds and cancellations Refunds and cancellations are actions taken after a payment has been completed. Because they both involve the return of money, they may seem similar, but there are important differences between the two processes. - \*\*Refund\*\*: is made after the payment is processed, and the amount will be credited directly to the statement in the case of a credit card, or to the payer's account when the payment is made by other means. - \*\*Cancellation\*\*: is made when a payment has not yet been approved, and the limit is returned to the buyer's card within the timeframe defined by the issuing bank. See below for more information on refunds and cancellations. > RED\_MESSAGE > > This documentation is \*\*intended for integrators\*\*. If you are a buyer and need to cancel or request a refund for a payment, access your Mercado Pago account, select the purchase in question, click on "Need help," and choose the refund or cancellation option. ## Refunds Refunds are transactions in which a charge is reversed and the amounts paid are returned to the buyer. This means the customer will receive the payment amounts back. There are two ways to :TagComponent{tag="API" text="process a refund" href="/developers/en/reference/online-payments/checkout-pro/refund-order/post"}: - \*\*Total\*\*: when the total amount of the sale is returned to the buyer. In this case, the amount to be refunded should not be specified in the \`body\` of the request, which can be omitted or sent empty. - \*\*Partial\*\*: when only part of the amount paid is returned to the buyer. In this case, the amount to be refunded should be specified in the \`body\` of the request along with the transaction ID. Before processing a refund, it is important to consider the factors below. - \*\*Refund timeframe\*\*: it is possible to refund a payment within 180 days from its approval date. - \*\*Payment method\*\*: for credit card payments, the amount will be refunded directly on the statement. For other payment methods, the amount will be refunded to the payer's account. - \*\*Account balance\*\*: you must have sufficient balance available in your account to process the refund; otherwise, the transaction will not be completed. - \*\*Multiple partial refunds\*\*: it is possible to issue more than one partial refund on the same order, as long as the cumulative amount does not exceed the total amount paid. To process full or partial refunds for a payment and to check the refunds made in your store, visit our API Reference and access the endpoint :TagComponent{tag="API" text="Refund an order" href="/developers/en/reference/online-payments/checkout-pro/refund-order/post"}. ## Cancellations A cancellation occurs when a purchase is made, but the payment is not approved. In this case, considering that the transaction was not processed and no amount was charged, the purchase is canceled and the charge is not applied. Before canceling a purchase, it is important to pay attention to the following factors: - \*\*Payment status\*\*: cancellations can only be made if the order status is \`created\` or \`action\_required\`. These statuses are displayed in the response of the call to the :TagComponent{tag="API" text="Get order" href="/developers/en/reference/online-payments/checkout-pro/get-order/get"} endpoint in the \`status\` and \`status\_detail\` fields, respectively. - \*\*Expiration period\*\*: the period varies according to the payment method used by the buyer. After expiration without confirmation, cancellation is automatic and the final status of the transaction will be \`cancelled\` or \`expired\`, displayed in the \`status\` and \`status\_detail\` fields of the response from the :TagComponent{tag="API" text="Cancel order" href="/developers/en/reference/online-payments/checkout-pro/cancel-order/post"} endpoint. Visit our API Reference to access the :TagComponent{tag="API" text="Cancel order by ID" href="/developers/en/reference/online-payments/checkout-pro/cancel-order/post"} endpoint.