def create_refund(location_id, transaction_id, body, opts = {})
      data, _status_code, _headers = create_refund_with_http_info(location_id, transaction_id, body, opts)
      return data
    end
def create_refund(location_id, transaction_id, body, opts = {})
      data, _status_code, _headers = create_refund_with_http_info(location_id, transaction_id, body, opts)
      return data
    end
CreateRefund
 Initiates a refund for a previously charged tender.  You must issue a refund within 120 days of the associated payment. See [this article](https://squareup.com/help/us/en/article/5060) for more information on refund behavior.  NOTE: Card-present transactions with Interac credit cards **cannot be refunded using the Connect API**. Interac transactions must refunded in-person (e.g., dipping the card using POS app).
 @param location_id The ID of the original transaction&#39;s associated location.
 @param transaction_id The ID of the original transaction that includes the tender to refund.
 @param body An object containing the fields to POST for the request.  See the corresponding object definition for field details.
 @param [Hash] opts the optional parameters
 @return [CreateRefundResponse]