def request_external_payment(payment_options)
      payment_options[:instance_id] = @instance_id
      request = self.class.send_external_payment_request("/api/request-external-payment", payment_options)
      RecursiveOpenStruct.new request.parsed_response
    end
def request_external_payment(payment_options)
      payment_options[:instance_id] = @instance_id
      request = self.class.send_external_payment_request("/api/request-external-payment", payment_options)
      RecursiveOpenStruct.new request.parsed_response
    end
Requests a external payment

 @see http://api.yandex.com/money/doc/dg/reference/request-external-payment.xml
 @see https://tech.yandex.ru/money/doc/dg/reference/request-external-payment-docpage/

 @param payment_options [Hash] Method's parameters. Check out docs for more information.

 @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::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.

 @return [RecursiveOpenStruct] A struct, containing `payment_id` and additional information about a recipient and payer