def incoming_transfer_accept(operation_id, protection_code = nil)
      uri = "/api/incoming-transfer-accept"
      if protection_code
        request_body = {
          operation_id: operation_id,
          protection_code: protection_code
        }
      else
        request_body = { operation_id: operation_id }
      end
      RecursiveOpenStruct.new send_request("/api/incoming-transfer-accept", request_body)
    end
def incoming_transfer_accept(operation_id, protection_code = nil)
      uri = "/api/incoming-transfer-accept"
      if protection_code
        request_body = {
          operation_id: operation_id,
          protection_code: protection_code
        }
      else
        request_body = { operation_id: operation_id }
      end
      RecursiveOpenStruct.new send_request("/api/incoming-transfer-accept", request_body)
    end
Accepts incoming transfer with a protection code or deferred transfer

 @see http://api.yandex.com/money/doc/dg/reference/incoming-transfer-accept.xml
 @see https://tech.yandex.ru/money/doc/dg/reference/incoming-transfer-accept-docpage/

 @param operation_id [String] A operation identifier
 @param protection_code [String] Secret code of four decimal digits. Specified for an incoming transfer proteced by a secret code. Omitted for deferred transfers
 @return [RecursiveOpenStruct] An information about operation result.

 @raise [YandexMoney::InvalidRequestError] HTTP request does not conform to protocol format. Unable to parse HTTP request, or the Authorization header is missing or has an invalid value.
 @raise [YandexMoney::UnauthorizedError] Nonexistent, expired, or revoked token specified.
 @raise [YandexMoney::InsufficientScopeError] The token does not have permissions for the requested operation.
 @raise [YandexMoney::ServerError] A technical error occurs (the server responds with the HTTP code 500 Internal Server Error). The application should repeat the request with the same parameters later.