def register
      request = if @receivers.empty?
                  Request.post('checkout', api_version, params)
                else
                  Request.post_xml('checkouts', api_version, credentials, xml_params)
                end

      Response.new(request)
    end
def register
      request = if @receivers.empty?
                  Request.post('checkout', api_version, params)
                else
                  Request.post_xml('checkouts', api_version, credentials, xml_params)
                end

      Response.new(request)
    end
Calls the PagSeguro web service and register this request for payment.